Searched refs:x_y (Results 1 – 2 of 2) sorted by relevance
/hostap-latest/src/eap_common/ |
D | eap_pwd_common.c | 130 u8 x_y[2 * MAX_ECC_PRIME_LEN]; in compute_password_element() local 274 crypto_bignum_to_bin(y, x_y, MAX_ECC_PRIME_LEN, primebytelen) < 0 || in compute_password_element() 276 crypto_bignum_to_bin(y, x_y + MAX_ECC_PRIME_LEN, in compute_password_element() 284 is_eq = const_time_eq(is_odd, x_y[primebytelen - 1] & 0x01); in compute_password_element() 285 const_time_select_bin(is_eq, x_y, x_y + MAX_ECC_PRIME_LEN, in compute_password_element() 286 primebytelen, x_y + primebytelen); in compute_password_element() 287 os_memcpy(x_y, x_bin, primebytelen); in compute_password_element() 288 wpa_hexdump_key(MSG_DEBUG, "EAP-pwd: PWE", x_y, 2 * primebytelen); in compute_password_element() 289 grp->pwe = crypto_ec_point_from_bin(grp->group, x_y); in compute_password_element() 324 forced_memzero(x_y, sizeof(x_y)); in compute_password_element()
|
/hostap-latest/src/common/ |
D | sae.c | 300 u8 x_y[2 * SAE_MAX_ECC_PRIME_LEN]; in sae_derive_pwe_ecc() local 420 crypto_bignum_to_bin(y, x_y, SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 423 crypto_bignum_to_bin(y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 429 is_eq = const_time_eq(pwd_seed_odd, x_y[prime_len - 1] & 0x01); in sae_derive_pwe_ecc() 430 const_time_select_bin(is_eq, x_y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc() 431 prime_len, x_y + prime_len); in sae_derive_pwe_ecc() 432 os_memcpy(x_y, x_bin, prime_len); in sae_derive_pwe_ecc() 433 wpa_hexdump_key(MSG_DEBUG, "SAE: PWE", x_y, 2 * prime_len); in sae_derive_pwe_ecc() 435 sae->tmp->pwe_ecc = crypto_ec_point_from_bin(sae->tmp->ec, x_y); in sae_derive_pwe_ecc() 442 forced_memzero(x_y, sizeof(x_y)); in sae_derive_pwe_ecc() [all …]
|