Home
last modified time | relevance | path

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

/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp774 auto bn = BIGNUM_Ptr(BN_bin2bn(key.data(), key.size(), nullptr)); in signEcDsa() local
775 if (bn.get() == nullptr) { in signEcDsa()
781 if (EC_KEY_set_private_key(ec_key.get(), bn.get()) != 1) { in signEcDsa()
1051 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecPrivateKeyToKeyPair() local
1052 if (bn.get() == nullptr) { in ecPrivateKeyToKeyPair()
1058 if (EC_KEY_set_private_key(ecKey.get(), bn.get()) != 1) { in ecPrivateKeyToKeyPair()
1230 auto bn = BIGNUM_Ptr(BN_bin2bn(signingKey.data(), signingKey.size(), nullptr)); in ecPublicKeyGenerateCertificate() local
1231 if (bn.get() == nullptr) { in ecPublicKeyGenerateCertificate()
1236 if (EC_KEY_set_private_key(privEcKey.get(), bn.get()) != 1) { in ecPublicKeyGenerateCertificate()
1353 auto bn = BIGNUM_Ptr(BN_bin2bn(privateKey.data(), privateKey.size(), nullptr)); in ecdh() local
[all …]