Searched refs:bnctx (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 1382 BN_CTX *bnctx; in crypto_bignum_mod() local 1384 bnctx = BN_CTX_new(); in crypto_bignum_mod() 1385 if (bnctx == NULL) in crypto_bignum_mod() 1388 bnctx); in crypto_bignum_mod() 1389 BN_CTX_free(bnctx); in crypto_bignum_mod() 1401 BN_CTX *bnctx; in crypto_bignum_exptmod() local 1406 bnctx = BN_CTX_new(); in crypto_bignum_exptmod() 1407 if (bnctx == NULL) in crypto_bignum_exptmod() 1411 bnctx, NULL); in crypto_bignum_exptmod() 1412 BN_CTX_free(bnctx); in crypto_bignum_exptmod() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | dpp_pkex.c | 49 BN_CTX *bnctx = NULL; in dpp_pkex_build_exchange_req() local 61 bnctx = BN_CTX_new(); in dpp_pkex_build_exchange_req() 62 if (!bnctx) in dpp_pkex_build_exchange_req() 65 pkex->identifier, bnctx, &group); in dpp_pkex_build_exchange_req() 100 EC_POINT_add(group, M, X_point, Qi, bnctx) != 1 || in dpp_pkex_build_exchange_req() 101 EC_POINT_get_affine_coordinates_GFp(group, M, Mx, My, bnctx) != 1) in dpp_pkex_build_exchange_req() 170 BN_CTX_free(bnctx); in dpp_pkex_build_exchange_req() 356 BN_CTX *bnctx = NULL; in dpp_pkex_rx_exchange_req() local 427 bnctx = BN_CTX_new(); in dpp_pkex_rx_exchange_req() 428 if (!bnctx) in dpp_pkex_rx_exchange_req() [all …]
|
D | dpp_crypto.c | 1590 BN_CTX *bnctx; in dpp_auth_derive_l_responder() local 1597 bnctx = BN_CTX_new(); in dpp_auth_derive_l_responder() 1601 if (!bnctx || !sum || !q || !lx) in dpp_auth_derive_l_responder() 1619 if (EC_GROUP_get_order(group, q, bnctx) != 1 || in dpp_auth_derive_l_responder() 1620 BN_mod_add(sum, bR_bn, pR_bn, q, bnctx) != 1) in dpp_auth_derive_l_responder() 1624 EC_POINT_mul(group, l, NULL, BI_point, sum, bnctx) != 1 || in dpp_auth_derive_l_responder() 1626 bnctx) != 1) { in dpp_auth_derive_l_responder() 1643 BN_CTX_free(bnctx); in dpp_auth_derive_l_responder() 1654 BN_CTX *bnctx; in dpp_auth_derive_l_initiator() local 1661 bnctx = BN_CTX_new(); in dpp_auth_derive_l_initiator() [all …]
|
D | dpp_i.h | 117 const char *identifier, BN_CTX *bnctx, 121 const char *identifier, BN_CTX *bnctx,
|