Home
last modified time | relevance | path

Searched defs:rsa (Results 1 – 4 of 4) sorted by relevance

/developtools/hdc/src/common/
Dauth.cpp69 int RSA2RSAPublicKey(RSA *rsa, RSAPublicKey *publicKey) in RSA2RSAPublicKey()
177 RSA *rsa = RSA_new(); in GenerateKey() local
234 RSA *rsa = RSA_new(); in ReadKey() local
300 int AuthSign(void *rsa, const unsigned char *token, size_t tokenSize, void *sig) in AuthSign()
422 RSA *rsa = nullptr; in AuthVerify() local
508 RSA *rsa = RSA_new(); in GenerateNewKey() local
714 static bool LoadPrivateKey(const string& prikey_filename, RSA **rsa, EVP_PKEY **evp) in LoadPrivateKey()
807 static bool RsaEncrypt(string &buf, RSA *rsa) in RsaEncrypt()
844 RSA *rsa = nullptr; in RsaSignAndBase64() local
/developtools/hdc/hdc_rust/src/host/
Dauth.rs122 let rsa = load_or_create_prikey()?; in handshake_task() localVariable
/developtools/hdc/src/daemon/
Ddaemon.cpp557 …aemon::AuthVerifyRsaSign(HSession hSession, const string &tokenSign, const string &token, RSA *rsa) in InitMod()
611 RSA *rsa = nullptr; in InitMod() local
648 …Daemon::AuthVerifyRsa(HSession hSession, const string &encryptToken, const string &token, RSA *rsa) in InitMod()
/developtools/hdc/hdc_rust/src/daemon_lib/
Dauth.rs655 let rsa = if let Ok(cipher) = Rsa::public_key_from_pem(pubkey.as_bytes()) { in validate_signature() localVariable