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.c28 const u8 *anonce = key->key_nonce; in wpa_derive_ptk_ft() local
54 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, anonce, in wpa_derive_ptk_ft()
153 const u8 *anonce, const u8 *pmk_name, in wpa_ft_gen_req_ies() argument
305 if (anonce) in wpa_ft_gen_req_ies()
306 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
315 if (anonce) in wpa_ft_gen_req_ies()
316 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
490 const u8 *anonce, *snonce; in wpa_ft_process_response() local
538 anonce = ftie->anonce; in wpa_ft_process_response()
549 anonce = ftie->anonce; in wpa_ft_process_response()
[all …]
Dwpa_i.h27 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
Dwpa.h457 const u8 **anonce,
Dwpa.c685 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4()
1453 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_3_of_4()
3497 return sm->anonce; in wpa_sm_get_anonce()
4051 const u8 **anonce, in fils_build_assoc_req() argument
4162 *anonce = sm->fils_anonce; in fils_build_assoc_req()
4164 *anonce, FILS_NONCE_LEN); in fils_build_assoc_req()
/external/wpa_supplicant_8/src/common/
Dwpa_common.h314 u8 anonce[WPA_NONCE_LEN]; member
322 u8 anonce[WPA_NONCE_LEN]; member
353 const u8 *snonce, const u8 *anonce, const u8 *dh_ss,
358 const u8 *snonce, const u8 *anonce, const u8 *dhss,
363 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
388 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
Dwpa_common.c478 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() argument
499 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
503 os_memcpy(&nonces[FILS_NONCE_LEN], anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
552 const u8 *snonce, const u8 *anonce, const u8 *dhss, in fils_pmk_to_ptk() argument
586 os_memcpy(pos, anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
629 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
663 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument
678 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_key_auth_sk()
689 addr[1] = anonce; in fils_key_auth_sk()
722 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.c808 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() argument
829 if (anonce) in wpa_write_ftie()
830 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie()
839 if (anonce) in wpa_write_ftie()
840 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie()
2418 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local
2479 anonce = sm->ANonce; in wpa_sm_write_assoc_resp_ies()
2537 anonce = NULL; in wpa_sm_write_assoc_resp_ies()
2541 anonce, snonce, pos, end - pos, in wpa_sm_write_assoc_resp_ies()
3112 const u8 *anonce, *snonce, *fte_mic; in wpa_ft_validate_reassoc() local
[all …]
Dwpa_auth_i.h290 const u8 *anonce, const u8 *snonce,
Dwpa_auth.c2195 size_t pmk_len, const u8 *snonce, const u8 *anonce, in fils_auth_pmk_to_ptk() argument
2206 snonce, anonce, dhss, dhss_len, in fils_auth_pmk_to_ptk()
2251 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, in fils_auth_pmk_to_ptk()
2264 os_memcpy(sm->ANonce, anonce, FILS_NONCE_LEN); in fils_auth_pmk_to_ptk()
4876 const u8 *anonce = sm->ANonce; in wpa_auth_resend_m1() local
4882 anonce = anonce_buf; in wpa_auth_resend_m1()
4889 anonce, NULL, 0, 0, 0); in wpa_auth_resend_m1()
Dwpa_auth.h446 size_t pmk_len, const u8 *snonce, const u8 *anonce,
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c1458 const u8 *snonce, *anonce; in sme_associate() local
1483 &anonce, in sme_associate()
1531 os_memcpy(nonces + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN); in sme_associate()