Home
last modified time | relevance | path

Searched refs:anonce (Results 1 – 11 of 11) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c25 const u8 *anonce = key->key_nonce; in wpa_derive_ptk_ft() local
45 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr, in wpa_derive_ptk_ft()
142 const u8 *anonce, const u8 *pmk_name, in wpa_ft_gen_req_ies() argument
260 if (anonce) in wpa_ft_gen_req_ies()
261 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
468 wpa_hexdump(MSG_DEBUG, "FT: ANonce", ftie->anonce, WPA_NONCE_LEN); in wpa_ft_process_response()
469 os_memcpy(sm->anonce, ftie->anonce, WPA_NONCE_LEN); in wpa_ft_process_response()
477 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, in wpa_ft_process_response()
482 ft_ies = wpa_ft_gen_req_ies(sm, &ft_ies_len, ftie->anonce, in wpa_ft_process_response()
718 if (os_memcmp(ftie->anonce, sm->anonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc_resp()
[all …]
Dwpa_i.h28 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
Dwpa.h441 const u8 **anonce,
Dwpa.c614 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4()
1356 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_3_of_4()
3542 const u8 **anonce, in fils_build_assoc_req() argument
3615 *anonce = sm->fils_anonce; in fils_build_assoc_req()
3617 *anonce, FILS_NONCE_LEN); in fils_build_assoc_req()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h323 u8 anonce[WPA_NONCE_LEN]; member
352 const u8 *snonce, const u8 *anonce, const u8 *dh_ss,
357 const u8 *snonce, const u8 *anonce, struct wpa_ptk *ptk,
360 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
382 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
Dwpa_common.c234 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() argument
255 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
259 os_memcpy(&nonces[FILS_NONCE_LEN], anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
306 const u8 *snonce, const u8 *anonce, struct wpa_ptk *ptk, in fils_pmk_to_ptk() argument
327 os_memcpy(data + 2 * ETH_ALEN + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
350 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
371 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument
389 addr[1] = anonce; in fils_key_auth_sk()
422 addr[0] = anonce; in fils_key_auth_sk()
1225 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, in wpa_pmk_r1_to_ptk() argument
[all …]
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c109 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() argument
127 if (anonce) in wpa_write_ftie()
128 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie()
663 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local
701 anonce = sm->ANonce; in wpa_sm_write_assoc_resp_ies()
728 anonce = NULL; in wpa_sm_write_assoc_resp_ies()
731 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos, in wpa_sm_write_assoc_resp_ies()
1159 if (os_memcmp(ftie->anonce, sm->ANonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc()
1162 ftie->anonce, WPA_NONCE_LEN); in wpa_ft_validate_reassoc()
Dwpa_auth_i.h249 const u8 *anonce, const u8 *snonce,
Dwpa_auth.h362 size_t pmk_len, const u8 *snonce, const u8 *anonce);
Dwpa_auth.c2077 size_t pmk_len, const u8 *snonce, const u8 *anonce) in fils_auth_pmk_to_ptk() argument
2084 snonce, anonce, &sm->PTK, ick, &ick_len, in fils_auth_pmk_to_ptk()
2090 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, in fils_auth_pmk_to_ptk()
2100 os_memcpy(sm->ANonce, anonce, FILS_NONCE_LEN); in fils_auth_pmk_to_ptk()
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c1006 const u8 *snonce, *anonce; in sme_associate() local
1031 &anonce, in sme_associate()
1052 os_memcpy(nonces + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN); in sme_associate()