/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ft.c | 28 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 …]
|
D | wpa_i.h | 27 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
|
D | wpa.h | 457 const u8 **anonce,
|
D | wpa.c | 685 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/ |
D | wpa_common.h | 314 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,
|
D | wpa_common.c | 478 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/ |
D | automaton.py | 168 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,
|
D | crypto.py | 33 def customPRF512(key, amac, smac, anonce, snonce): argument 36 B = "".join(sorted([amac, smac]) + sorted([anonce, snonce]))
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 808 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 …]
|
D | wpa_auth_i.h | 290 const u8 *anonce, const u8 *snonce,
|
D | wpa_auth.c | 2195 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()
|
D | wpa_auth.h | 446 size_t pmk_len, const u8 *snonce, const u8 *anonce,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | sme.c | 1458 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()
|