Searched refs:peer_scalar (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 41 BIGNUM *peer_scalar; member 142 BN_clear_free(data->peer_scalar); in eap_pwd_reset() 395 BN_num_bytes(data->peer_scalar); in eap_pwd_build_confirm_req() 396 BN_bn2bin(data->peer_scalar, cruft + offset); in eap_pwd_build_confirm_req() 681 if (((data->peer_scalar = BN_new()) == NULL) || in eap_pwd_process_commit_resp() 706 BN_bin2bn(ptr, BN_num_bytes(data->grp->order), data->peer_scalar); in eap_pwd_process_commit_resp() 732 data->peer_scalar, data->bnctx)) || in eap_pwd_process_commit_resp() 853 BN_num_bytes(data->peer_scalar); in eap_pwd_process_confirm_resp() 854 BN_bn2bin(data->peer_scalar, cruft + offset); in eap_pwd_process_confirm_resp() 898 data->peer_scalar, data->my_scalar, conf, in eap_pwd_process_confirm_resp()
|
/external/wpa_supplicant_8/src/common/ |
D | sae.c | 949 struct crypto_bignum *peer_scalar; in sae_parse_commit_scalar() local 956 peer_scalar = crypto_bignum_init_set(*pos, sae->tmp->prime_len); in sae_parse_commit_scalar() 957 if (peer_scalar == NULL) in sae_parse_commit_scalar() 967 crypto_bignum_cmp(sae->peer_commit_scalar, peer_scalar) == 0) { in sae_parse_commit_scalar() 970 crypto_bignum_deinit(peer_scalar, 0); in sae_parse_commit_scalar() 975 if (crypto_bignum_is_zero(peer_scalar) || in sae_parse_commit_scalar() 976 crypto_bignum_is_one(peer_scalar) || in sae_parse_commit_scalar() 977 crypto_bignum_cmp(peer_scalar, sae->tmp->order) >= 0) { in sae_parse_commit_scalar() 979 crypto_bignum_deinit(peer_scalar, 0); in sae_parse_commit_scalar() 985 sae->peer_commit_scalar = peer_scalar; in sae_parse_commit_scalar()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 308 const BIGNUM *peer_scalar, const BIGNUM *server_scalar, in compute_keys() argument 331 offset = BN_num_bytes(grp->order) - BN_num_bytes(peer_scalar); in compute_keys() 333 BN_bn2bin(peer_scalar, cruft + offset); in compute_keys()
|
D | eap_pwd_common.h | 65 const BIGNUM *peer_scalar, const BIGNUM *server_scalar,
|