Searched refs:privkey_bn (Results 1 – 2 of 2) sorted by relevance
196 BIGNUM *privkey_bn = NULL; in ossl_dh_key_from_pkcs8() local227 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()