Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c30 const u8 *anonce = key->key_nonce; in wpa_derive_ptk_ft() local
64 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, anonce, in wpa_derive_ptk_ft()
171 const u8 *anonce, const u8 *pmk_name, in wpa_ft_gen_req_ies() argument
306 rsnxe_used = wpa_key_mgmt_sae(sm->key_mgmt) && anonce && in wpa_ft_gen_req_ies()
309 if (anonce && sm->ft_rsnxe_used) { in wpa_ft_gen_req_ies()
324 if (anonce) in wpa_ft_gen_req_ies()
325 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
335 if (anonce) in wpa_ft_gen_req_ies()
336 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
526 const u8 *anonce, *snonce; in wpa_ft_process_response() local
[all …]
Dwpa_i.h27 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
Dwpa.h492 const u8 **anonce,
Dwpa.c813 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4()
1674 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_3_of_4()
3909 return sm->anonce; in wpa_sm_get_anonce()
4463 const u8 **anonce, in fils_build_assoc_req() argument
4574 *anonce = sm->fils_anonce; in fils_build_assoc_req()
4576 *anonce, FILS_NONCE_LEN); in fils_build_assoc_req()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h333 u8 anonce[WPA_NONCE_LEN]; member
341 u8 anonce[WPA_NONCE_LEN]; member
383 const u8 *snonce, const u8 *anonce, const u8 *dh_ss,
388 const u8 *snonce, const u8 *anonce, const u8 *dhss,
393 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
420 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
Dwpa_common.c502 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() argument
523 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
527 os_memcpy(&nonces[FILS_NONCE_LEN], anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
576 const u8 *snonce, const u8 *anonce, const u8 *dhss, in fils_pmk_to_ptk() argument
610 os_memcpy(pos, anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
653 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
687 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument
702 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_key_auth_sk()
713 addr[1] = anonce; in fils_key_auth_sk()
746 addr[0] = anonce; in fils_key_auth_sk()
[all …]
/external/scapy/scapy/modules/krack/
Dautomaton.py168 anonce = self.anonce
174 self.ptk = customPRF512(pmk, amac, smac, anonce, snonce)
515 self.anonce = self.gen_nonce(32)
530 nonce=self.anonce,
580 nonce=self.anonce,
641 nonce=self.anonce,
750 nonce=self.anonce,
Dcrypto.py33 def customPRF512(key, amac, smac, anonce, snonce): argument
36 B = "".join(sorted([amac, smac]) + sorted([anonce, snonce]))
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c809 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() argument
830 if (anonce) in wpa_write_ftie()
831 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie()
840 if (anonce) in wpa_write_ftie()
841 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie()
2479 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local
2566 anonce = sm->ANonce; in wpa_sm_write_assoc_resp_ies()
2645 anonce = NULL; in wpa_sm_write_assoc_resp_ies()
2658 anonce, snonce, pos, end - pos, in wpa_sm_write_assoc_resp_ies()
3268 const u8 *anonce, *snonce, *fte_mic; in wpa_ft_validate_reassoc() local
[all …]
Dwpa_auth_i.h298 const u8 *anonce, const u8 *snonce,
Dwpa_auth.c2299 size_t pmk_len, const u8 *snonce, const u8 *anonce, in fils_auth_pmk_to_ptk() argument
2310 snonce, anonce, dhss, dhss_len, in fils_auth_pmk_to_ptk()
2355 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, in fils_auth_pmk_to_ptk()
2368 os_memcpy(sm->ANonce, anonce, FILS_NONCE_LEN); in fils_auth_pmk_to_ptk()
5237 const u8 *anonce = sm->ANonce; in wpa_auth_resend_m1() local
5243 anonce = anonce_buf; in wpa_auth_resend_m1()
5250 anonce, NULL, 0, 0, 0); in wpa_auth_resend_m1()
Dwpa_auth.h477 size_t pmk_len, const u8 *snonce, const u8 *anonce,
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c1668 const u8 *snonce, *anonce; in sme_associate() local
1693 &anonce, in sme_associate()
1741 os_memcpy(nonces + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN); in sme_associate()