Home | History | Annotate | Download | only in common

Lines Matching refs:addr1

157 static void sae_pwd_seed_key(const u8 *addr1, const u8 *addr2, u8 *key)
159 wpa_printf(MSG_DEBUG, "SAE: PWE derivation - addr1=" MACSTR
160 " addr2=" MACSTR, MAC2STR(addr1), MAC2STR(addr2));
161 if (os_memcmp(addr1, addr2, ETH_ALEN) > 0) {
162 os_memcpy(key, addr1, ETH_ALEN);
166 os_memcpy(key + ETH_ALEN, addr1, ETH_ALEN);
288 static int sae_derive_pwe_ecc(struct sae_data *sae, const u8 *addr1,
316 sae_pwd_seed_key(addr1, addr2, addrs);
364 static int sae_derive_pwe_ffc(struct sae_data *sae, const u8 *addr1,
388 sae_pwd_seed_key(addr1, addr2, addrs);
502 int sae_prepare_commit(const u8 *addr1, const u8 *addr2,
506 if (sae->tmp->ec && sae_derive_pwe_ecc(sae, addr1, addr2, password,
509 if (sae->tmp->dh && sae_derive_pwe_ffc(sae, addr1, addr2, password,