Searched defs:rsa (Results 1 – 5 of 5) sorted by relevance
| /developtools/hdc/src/common/ |
| D | auth.cpp | 73 int RSA2RSAPublicKey(RSA *rsa, RSAPublicKey *publicKey) in RSA2RSAPublicKey() 185 RSA *rsa = RSA_new(); in GenerateKey() local 242 RSA *rsa = RSA_new(); in ReadKey() local 308 int AuthSign(void *rsa, const unsigned char *token, size_t tokenSize, void *sig) in AuthSign() 430 RSA *rsa = nullptr; in AuthVerify() local 516 RSA *rsa = RSA_new(); in GenerateNewKey() local 821 static bool LoadPrivateKey(const string& prikey_filename, RSA **rsa, EVP_PKEY **evp) 927 static bool RsaEncrypt(string &buf, RSA *rsa) 964 RSA *rsa = nullptr; local 1006 RSA *rsa = nullptr; local [all …]
|
| /developtools/hdc/hdc_rust/src/host/ |
| D | auth.rs | 122 let rsa = load_or_create_prikey()?; in handshake_task() localVariable
|
| /developtools/hdc/test/unittest/common/ |
| D | hdc_ssl_ut.cpp | 72 RSA *rsa = RSA_new(); in GenerateRSAKeyPair() local 120 RSA *rsa = EVP_PKEY_get1_RSA(priKey); in RsaPrikeyDecrypt() local
|
| /developtools/hdc/src/daemon/ |
| D | daemon.cpp | 565 …aemon::AuthVerifyRsaSign(HSession hSession, const string &tokenSign, const string &token, RSA *rsa) in InitMod() 619 RSA *rsa = nullptr; in InitMod() local 656 …Daemon::AuthVerifyRsa(HSession hSession, const string &encryptToken, const string &token, RSA *rsa) in InitMod()
|
| /developtools/hdc/hdc_rust/src/daemon_lib/ |
| D | auth.rs | 655 let rsa = if let Ok(cipher) = Rsa::public_key_from_pem(pubkey.as_bytes()) { in validate_signature() localVariable
|