Home
last modified time | relevance | path

Searched refs:x_y (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/wpa/src/eap_common/
H A Deap_pwd_common.c130 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()
/freebsd/contrib/wpa/src/common/
H A Dsae.c298 u8 x_y[2 * SAE_MAX_ECC_PRIME_LEN]; in sae_derive_pwe_ecc() local
411 crypto_bignum_to_bin(y, x_y, SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc()
414 crypto_bignum_to_bin(y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc()
421 const_time_select_bin(is_eq, x_y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc()
422 prime_len, x_y + prime_len); in sae_derive_pwe_ecc()
423 os_memcpy(x_y, x_bin, prime_len); in sae_derive_pwe_ecc()
433 forced_memzero(x_y, sizeof(x_y)); in sae_derive_pwe_ecc()
637 u8 x_y[2 * SAE_MAX_ECC_PRIME_LEN]; in sswu() local
792 wpa_hexdump_key(MSG_DEBUG, "SSWU: P.x", x_y, prime_len); in sswu()
794 p = crypto_ec_point_from_bin(ec, x_y); in sswu()
[all …]