Searched refs:bnctx (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1343 BN_CTX *bnctx; in crypto_bignum_mod() local 1345 bnctx = BN_CTX_new(); in crypto_bignum_mod() 1346 if (bnctx == NULL) in crypto_bignum_mod() 1349 bnctx); in crypto_bignum_mod() 1350 BN_CTX_free(bnctx); in crypto_bignum_mod() 1362 BN_CTX *bnctx; in crypto_bignum_exptmod() local 1367 bnctx = BN_CTX_new(); in crypto_bignum_exptmod() 1368 if (bnctx == NULL) in crypto_bignum_exptmod() 1372 bnctx, NULL); in crypto_bignum_exptmod() 1373 BN_CTX_free(bnctx); in crypto_bignum_exptmod() [all …]
|
/external/openssh/ |
D | sshkey.c | 661 BN_CTX *bnctx; in sshkey_equal_public() local 690 if ((bnctx = BN_CTX_new()) == NULL) in sshkey_equal_public() 693 EC_KEY_get0_group(b->ecdsa), bnctx) != 0 || in sshkey_equal_public() 696 EC_KEY_get0_public_key(b->ecdsa), bnctx) != 0) { in sshkey_equal_public() 697 BN_CTX_free(bnctx); in sshkey_equal_public() 700 BN_CTX_free(bnctx); in sshkey_equal_public() 1593 BN_CTX *bnctx; in sshkey_ecdsa_key_to_nid() local 1606 if ((bnctx = BN_CTX_new()) == NULL) in sshkey_ecdsa_key_to_nid() 1610 BN_CTX_free(bnctx); in sshkey_ecdsa_key_to_nid() 1613 if (EC_GROUP_cmp(g, eg, bnctx) == 0) in sshkey_ecdsa_key_to_nid() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | dpp.c | 2571 BN_CTX *bnctx; in dpp_auth_derive_l_responder() local 2578 bnctx = BN_CTX_new(); in dpp_auth_derive_l_responder() 2582 if (!bnctx || !sum || !q || !lx) in dpp_auth_derive_l_responder() 2600 if (EC_GROUP_get_order(group, q, bnctx) != 1 || in dpp_auth_derive_l_responder() 2601 BN_mod_add(sum, bR_bn, pR_bn, q, bnctx) != 1) in dpp_auth_derive_l_responder() 2605 EC_POINT_mul(group, l, NULL, BI_point, sum, bnctx) != 1 || in dpp_auth_derive_l_responder() 2607 bnctx) != 1) { in dpp_auth_derive_l_responder() 2627 BN_CTX_free(bnctx); in dpp_auth_derive_l_responder() 2638 BN_CTX *bnctx; in dpp_auth_derive_l_initiator() local 2645 bnctx = BN_CTX_new(); in dpp_auth_derive_l_initiator() [all …]
|