Searched refs:hash_bn (Results 1 - 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_crypto.c | 1447 struct crypto_bignum *hash_bn = NULL; in dpp_pkex_derive_Qi() local 1486 hash_bn = crypto_bignum_init_set(hash, curve->hash_len); in dpp_pkex_derive_Qi() 1487 if (!Pi || !Qi || !hash_bn || crypto_ec_point_mul(ec, Pi, hash_bn, Qi)) in dpp_pkex_derive_Qi() 1497 crypto_bignum_deinit(hash_bn, 1); in dpp_pkex_derive_Qi() 1522 struct crypto_bignum *hash_bn = NULL; in dpp_pkex_derive_Qr() local 1561 hash_bn = crypto_bignum_init_set(hash, curve->hash_len); in dpp_pkex_derive_Qr() 1562 if (!Pr || !Qr || !hash_bn || crypto_ec_point_mul(ec, Pr, hash_bn, Qr)) in dpp_pkex_derive_Qr() 1573 crypto_bignum_deinit(hash_bn, in dpp_pkex_derive_Qr() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | dpp.c | 6673 BIGNUM *hash_bn = NULL; in dpp_pkex_derive_Qi() local 6719 hash_bn = BN_bin2bn(hash, curve->hash_len, NULL); in dpp_pkex_derive_Qi() 6720 if (!hash_bn || in dpp_pkex_derive_Qi() 6721 EC_POINT_mul(group2, Qi, NULL, Pi_point, hash_bn, bnctx) != 1) in dpp_pkex_derive_Qi() 6731 BN_clear_free(hash_bn); in dpp_pkex_derive_Qi() 6757 BIGNUM *hash_bn = NULL; in dpp_pkex_derive_Qr() local 6803 hash_bn = BN_bin2bn(hash, curve->hash_len, NULL); in dpp_pkex_derive_Qr() 6804 if (!hash_bn || in dpp_pkex_derive_Qr() 6805 EC_POINT_mul(group2, Qr, NULL, Pr_point, hash_bn, bnctx) != 1) in dpp_pkex_derive_Qr() 6815 BN_clear_free(hash_bn); in dpp_pkex_derive_Qr() [all...] |
Completed in 16 milliseconds