Lines Matching refs:pwd_seed
171 static int sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed,
183 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, SHA256_MAC_LEN);
187 sha256_prf_bits(pwd_seed, SHA256_MAC_LEN, "SAE Hunting and Pecking",
197 y_bit = pwd_seed[SHA256_MAC_LEN - 1] & 0x01;
215 static int sae_test_pwd_seed_ffc(struct sae_data *sae, const u8 *pwd_seed,
224 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, SHA256_MAC_LEN);
227 sha256_prf_bits(pwd_seed, SHA256_MAC_LEN, "SAE Hunting and Pecking",
329 u8 pwd_seed[SHA256_MAC_LEN];
340 pwd_seed) < 0)
342 res = sae_test_pwd_seed_ecc(sae, pwd_seed,
396 u8 pwd_seed[SHA256_MAC_LEN];
407 pwd_seed) < 0)
409 res = sae_test_pwd_seed_ffc(sae, pwd_seed, sae->tmp->pwe_ffc);