Searched refs:bn_g (Results 1 – 3 of 3) sorted by relevance
/third_party/node/src/crypto/ |
D | crypto_dh.cc | 148 BignumPointer bn_g(BN_new()); in Init() local 149 return bn_g && BN_set_word(bn_g.get(), g) && in Init() 150 DH_set0_pqg(dh_.get(), bn_p.release(), nullptr, bn_g.release()) && in Init() 168 BIGNUM* bn_g = BN_new(); in Init() local 169 if (!BN_set_word(bn_g, g) || in Init() 170 !DH_set0_pqg(dh_.get(), bn_p, nullptr, bn_g)) { in Init() 172 BN_free(bn_g); in Init() 190 BIGNUM* bn_g = in Init() local 192 if (BN_is_zero(bn_g) || BN_is_one(bn_g)) { in Init() 193 BN_free(bn_g); in Init() [all …]
|
/third_party/openssl/apps/ |
D | dhparam.c | 365 BIGNUM *bn_p = NULL, *bn_q = NULL, *bn_g = NULL; in dsa_to_dh() local 371 || !EVP_PKEY_get_bn_param(dh, OSSL_PKEY_PARAM_FFC_G, &bn_g)) { in dsa_to_dh() 382 bn_g) in dsa_to_dh() 402 BN_free(bn_g); in dsa_to_dh()
|
/third_party/node/deps/openssl/openssl/apps/ |
D | dhparam.c | 367 BIGNUM *bn_p = NULL, *bn_q = NULL, *bn_g = NULL; in dsa_to_dh() local 373 || !EVP_PKEY_get_bn_param(dh, OSSL_PKEY_PARAM_FFC_G, &bn_g)) { in dsa_to_dh() 384 bn_g) in dsa_to_dh() 404 BN_free(bn_g); in dsa_to_dh()
|