/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | sae.c | 197 struct crypto_bignum *pwe) in sae_test_pwd_seed_ffc() 259 res = crypto_bignum_exptmod(a, b, sae->tmp->prime, pwe); in sae_test_pwd_seed_ffc() 271 is_val = crypto_bignum_is_zero(pwe); in sae_test_pwd_seed_ffc() 273 is_val = crypto_bignum_is_one(pwe); in sae_test_pwd_seed_ffc() 460 struct crypto_bignum *pwe; in sae_derive_pwe_ffc() local 470 pwe = crypto_bignum_init(); in sae_derive_pwe_ffc() 471 if (!pwe_buf || !pwe) in sae_derive_pwe_ffc() 505 res = sae_test_pwd_seed_ffc(sae, pwd_seed, pwe); in sae_derive_pwe_ffc() 513 if (crypto_bignum_to_bin(pwe, pwe_buf + prime_len, prime_len, in sae_derive_pwe_ffc() 529 crypto_bignum_deinit(pwe, in sae_derive_pwe_ffc() 196 sae_test_pwd_seed_ffc(struct sae_data *sae, const u8 *pwd_seed, struct crypto_bignum *pwe) sae_test_pwd_seed_ffc() argument 1150 struct crypto_ec_point *pwe = NULL; sae_derive_pwe_from_pt_ecc() local 1213 struct crypto_bignum *pwe = NULL, *order = NULL, *prime = NULL; sae_derive_pwe_from_pt_ffc() local [all...] |
H A D | common_module_tests.c | 462 struct crypto_ec_point *pwe; in sae_tests() local 466 pwe = sae_derive_pwe_from_pt_ecc(pt, addr1b, addr2b); in sae_tests() 467 if (!pwe) { in sae_tests() 471 if (crypto_ec_point_to_bin(pt->ec, pwe, bin, in sae_tests() 478 crypto_ec_point_deinit(pwe, 1); in sae_tests() 482 crypto_ec_point_deinit(pwe, 1); in sae_tests() 486 struct crypto_bignum *pwe; in sae_tests() local 490 pwe = sae_derive_pwe_from_pt_ffc(pt, addr1b, addr2b); in sae_tests() 491 if (!pwe) { in sae_tests() 495 if (crypto_bignum_to_bin(pwe, bi in sae_tests() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_pwd_common.c | 145 if (grp->pwe) in compute_password_element() 289 grp->pwe = crypto_ec_point_from_bin(grp->group, x_y); in compute_password_element() 290 if (!grp->pwe) { in compute_password_element() 300 if (!crypto_ec_point_is_on_curve(grp->group, grp->pwe)) { in compute_password_element() 309 crypto_ec_point_deinit(grp->pwe, 1); in compute_password_element() 310 grp->pwe = NULL; in compute_password_element()
|
H A D | eap_pwd_common.h | 19 struct crypto_ec_point *pwe; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_pwd_common.c | 145 if (grp->pwe) in compute_password_element() 289 grp->pwe = crypto_ec_point_from_bin(grp->group, x_y); in compute_password_element() 290 if (!grp->pwe) { in compute_password_element() 300 if (!crypto_ec_point_is_on_curve(grp->group, grp->pwe)) { in compute_password_element() 309 crypto_ec_point_deinit(grp->pwe, 1); in compute_password_element() 310 grp->pwe = NULL; in compute_password_element()
|
H A D | eap_pwd_common.h | 19 struct crypto_ec_point *pwe; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | sae.c | 190 struct crypto_bignum *pwe) in sae_test_pwd_seed_ffc() 252 res = crypto_bignum_exptmod(a, b, sae->tmp->prime, pwe); in sae_test_pwd_seed_ffc() 264 is_val = crypto_bignum_is_zero(pwe); in sae_test_pwd_seed_ffc() 266 is_val = crypto_bignum_is_one(pwe); in sae_test_pwd_seed_ffc() 465 struct crypto_bignum *pwe; in sae_derive_pwe_ffc() local 475 pwe = crypto_bignum_init(); in sae_derive_pwe_ffc() 476 if (!pwe_buf || !pwe) in sae_derive_pwe_ffc() 517 res = sae_test_pwd_seed_ffc(sae, pwd_seed, pwe); in sae_derive_pwe_ffc() 525 if (crypto_bignum_to_bin(pwe, pwe_buf + prime_len, prime_len, in sae_derive_pwe_ffc() 541 crypto_bignum_deinit(pwe, in sae_derive_pwe_ffc() 189 sae_test_pwd_seed_ffc(struct sae_data *sae, const u8 *pwd_seed, struct crypto_bignum *pwe) sae_test_pwd_seed_ffc() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_pwd.c | 159 crypto_ec_point_deinit(data->grp->pwe, 1); in eap_pwd_reset() 268 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_build_commit_req() 704 if ((crypto_ec_point_mul(data->grp->group, data->grp->pwe, in eap_pwd_process_commit_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_pwd.c | 159 crypto_ec_point_deinit(data->grp->pwe, 1); in eap_pwd_reset() 268 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_build_commit_req() 704 if ((crypto_ec_point_mul(data->grp->group, data->grp->pwe, in eap_pwd_process_commit_resp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_pwd.c | 193 crypto_ec_point_deinit(data->grp->pwe, 1); in eap_pwd_deinit() 589 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_perform_commit_exchange() 627 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, in eap_pwd_perform_commit_exchange()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_pwd.c | 193 crypto_ec_point_deinit(data->grp->pwe, 1); in eap_pwd_deinit() 589 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, mask, in eap_pwd_perform_commit_exchange() 627 if (crypto_ec_point_mul(data->grp->group, data->grp->pwe, in eap_pwd_perform_commit_exchange()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_nl80211.c | 4693 static int nl80211_put_sae_pwe(struct nl_msg *msg, int pwe) in nl80211_put_sae_pwe() argument 4697 wpa_printf(MSG_DEBUG, "nl802111: sae_pwe=%d", pwe); in nl80211_put_sae_pwe() 4698 if (pwe == 0) in nl80211_put_sae_pwe() 4700 else if (pwe == 1) in nl80211_put_sae_pwe() 4702 else if (pwe == 2) in nl80211_put_sae_pwe() 4704 else if (pwe == 3) in nl80211_put_sae_pwe()
|