Searched refs:peer_scalar (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 45 struct crypto_bignum *peer_scalar; member 148 crypto_bignum_deinit(data->peer_scalar, 1); in eap_pwd_reset() 378 crypto_bignum_to_bin(data->peer_scalar, cruft, order_len, order_len); in eap_pwd_build_confirm_req() 687 data->peer_scalar = eap_pwd_get_scalar(data->grp, ptr); in eap_pwd_process_commit_resp() 688 if (!data->peer_scalar) { in eap_pwd_process_commit_resp() 695 if (crypto_bignum_cmp(data->my_scalar, data->peer_scalar) == 0 || in eap_pwd_process_commit_resp() 705 data->peer_scalar, K) < 0) || in eap_pwd_process_commit_resp() 801 crypto_bignum_to_bin(data->peer_scalar, cruft, order_len, order_len); in eap_pwd_process_confirm_resp() 833 data->peer_scalar, data->my_scalar, conf, in eap_pwd_process_confirm_resp()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.h | 63 const struct crypto_bignum *peer_scalar,
|
D | eap_pwd_common.c | 305 const struct crypto_bignum *peer_scalar, in compute_keys() argument 333 crypto_bignum_to_bin(peer_scalar, cruft, order_len, order_len); in compute_keys()
|
/external/wpa_supplicant_8/src/common/ |
D | sae.c | 1871 struct crypto_bignum *peer_scalar; in sae_parse_commit_scalar() local 1878 peer_scalar = crypto_bignum_init_set(*pos, sae->tmp->prime_len); in sae_parse_commit_scalar() 1879 if (peer_scalar == NULL) in sae_parse_commit_scalar() 1890 peer_scalar) == 0) { in sae_parse_commit_scalar() 1893 crypto_bignum_deinit(peer_scalar, 0); in sae_parse_commit_scalar() 1898 if (crypto_bignum_is_zero(peer_scalar) || in sae_parse_commit_scalar() 1899 crypto_bignum_is_one(peer_scalar) || in sae_parse_commit_scalar() 1900 crypto_bignum_cmp(peer_scalar, sae->tmp->order) >= 0) { in sae_parse_commit_scalar() 1902 crypto_bignum_deinit(peer_scalar, 0); in sae_parse_commit_scalar() 1908 sae->peer_commit_scalar = peer_scalar; in sae_parse_commit_scalar()
|