Home
last modified time | relevance | path

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

/third_party/node/deps/openssl/openssl/crypto/dh/
Ddh_backend.c196 BIGNUM *privkey_bn = NULL; in ossl_dh_key_from_pkcs8() local
227 if ((privkey_bn = BN_secure_new()) == NULL in ossl_dh_key_from_pkcs8()
228 || !ASN1_INTEGER_to_BN(privkey, privkey_bn)) { in ossl_dh_key_from_pkcs8()
230 BN_clear_free(privkey_bn); in ossl_dh_key_from_pkcs8()
233 if (!DH_set0_key(dh, NULL, privkey_bn)) in ossl_dh_key_from_pkcs8()
/third_party/openssl/crypto/dh/
Ddh_backend.c196 BIGNUM *privkey_bn = NULL; in ossl_dh_key_from_pkcs8() local
227 if ((privkey_bn = BN_secure_new()) == NULL in ossl_dh_key_from_pkcs8()
228 || !ASN1_INTEGER_to_BN(privkey, privkey_bn)) { in ossl_dh_key_from_pkcs8()
230 BN_clear_free(privkey_bn); in ossl_dh_key_from_pkcs8()
233 if (!DH_set0_key(dh, NULL, privkey_bn)) in ossl_dh_key_from_pkcs8()