Lines Matching refs:x_y
291 u8 x_y[2 * SAE_MAX_ECC_PRIME_LEN]; in sae_derive_pwe_ecc() local
404 crypto_bignum_to_bin(y, x_y, SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc()
407 crypto_bignum_to_bin(y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc()
413 is_eq = const_time_eq(pwd_seed_odd, x_y[prime_len - 1] & 0x01); in sae_derive_pwe_ecc()
414 const_time_select_bin(is_eq, x_y, x_y + SAE_MAX_ECC_PRIME_LEN, in sae_derive_pwe_ecc()
415 prime_len, x_y + prime_len); in sae_derive_pwe_ecc()
416 os_memcpy(x_y, x_bin, prime_len); in sae_derive_pwe_ecc()
417 wpa_hexdump_key(MSG_DEBUG, "SAE: PWE", x_y, 2 * prime_len); in sae_derive_pwe_ecc()
419 sae->tmp->pwe_ecc = crypto_ec_point_from_bin(sae->tmp->ec, x_y); in sae_derive_pwe_ecc()
426 forced_memzero(x_y, sizeof(x_y)); in sae_derive_pwe_ecc()
587 u8 x_y[2 * SAE_MAX_ECC_PRIME_LEN]; in sswu() local
719 const_time_select_bin(is_qr, bin1, bin2, prime_len, x_y); in sswu()
720 wpa_hexdump_key(MSG_DEBUG, "SSWU: x = CSEL(l, x1, x2)", x_y, prime_len); in sswu()
742 const_time_select_bin(is_eq, bin1, bin2, prime_len, &x_y[prime_len]); in sswu()
745 wpa_hexdump_key(MSG_DEBUG, "SSWU: P.x", x_y, prime_len); in sswu()
746 wpa_hexdump_key(MSG_DEBUG, "SSWU: P.y", &x_y[prime_len], prime_len); in sswu()
747 p = crypto_ec_point_from_bin(ec, x_y); in sswu()
772 forced_memzero(x_y, sizeof(x_y)); in sswu()