Lines Matching refs:pwd_seed

145 static int sae_test_pwd_seed_ecc(struct sae_data *sae, const u8 *pwd_seed,  in sae_test_pwd_seed_ecc()  argument
155 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, SHA256_MAC_LEN); in sae_test_pwd_seed_ecc()
159 if (sha256_prf_bits(pwd_seed, SHA256_MAC_LEN, "SAE Hunting and Pecking", in sae_test_pwd_seed_ecc()
194 static int sae_test_pwd_seed_ffc(struct sae_data *sae, const u8 *pwd_seed, in sae_test_pwd_seed_ffc() argument
204 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, SHA256_MAC_LEN); in sae_test_pwd_seed_ffc()
207 if (sha256_prf_bits(pwd_seed, SHA256_MAC_LEN, "SAE Hunting and Pecking", in sae_test_pwd_seed_ffc()
359 u8 pwd_seed[SHA256_MAC_LEN]; in sae_derive_pwe_ecc() local
371 addr, len, pwd_seed) < 0) in sae_derive_pwe_ecc()
374 res = sae_test_pwd_seed_ecc(sae, pwd_seed, in sae_derive_pwe_ecc()
380 pwd_seed[SHA256_MAC_LEN - 1] & 0x01); in sae_derive_pwe_ecc()
381 os_memset(pwd_seed, 0, sizeof(pwd_seed)); in sae_derive_pwe_ecc()
490 u8 pwd_seed[SHA256_MAC_LEN]; in sae_derive_pwe_ffc() local
501 addr, len, pwd_seed) < 0) in sae_derive_pwe_ffc()
503 res = sae_test_pwd_seed_ffc(sae, pwd_seed, pwe); in sae_derive_pwe_ffc()
834 const char *identifier, u8 *pwd_seed) in sae_pwd_seed() argument
855 pwd_seed) < 0) in sae_pwd_seed()
857 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, hash_len); in sae_pwd_seed()
878 u8 pwd_seed[64]; in sae_derive_pt_ecc() local
895 identifier, pwd_seed) < 0) in sae_derive_pt_ecc()
900 if (hkdf_expand(hash_len, pwd_seed, hash_len, in sae_derive_pt_ecc()
922 if (hkdf_expand(hash_len, pwd_seed, hash_len, in sae_derive_pt_ecc()
953 forced_memzero(pwd_seed, sizeof(pwd_seed)); in sae_derive_pt_ecc()
982 u8 pwd_seed[64]; in sae_derive_pt_ffc() local
1000 identifier, pwd_seed) < 0) in sae_derive_pt_ffc()
1004 if (hkdf_expand(hash_len, pwd_seed, hash_len, in sae_derive_pt_ffc()
1038 forced_memzero(pwd_seed, sizeof(pwd_seed)); in sae_derive_pt_ffc()