Home
last modified time | relevance | path

Searched refs:privPkey (Results 1 – 1 of 1) sorted by relevance

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1234 auto privPkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in ecPublicKeyGenerateCertificate() local
1235 if (EVP_PKEY_set1_EC_KEY(privPkey.get(), privEcKey.get()) != 1) { in ecPublicKeyGenerateCertificate()
1240 return ecPublicKeyGenerateCertificate(pkey.get(), privPkey.get(), serialDecimal, issuer, in ecPublicKeyGenerateCertificate()
1391 auto privPkey = EVP_PKEY_Ptr(EVP_PKEY_new()); in ecdh() local
1392 if (EVP_PKEY_set1_EC_KEY(privPkey.get(), privEcKey.get()) != 1) { in ecdh()
1397 auto ctx = EVP_PKEY_CTX_Ptr(EVP_PKEY_CTX_new(privPkey.get(), NULL)); in ecdh()