/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | wpa_ft.c | 29 const u8 *anonce = key->key_nonce; in wpa_derive_ptk_ft() local 63 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, anonce, in wpa_derive_ptk_ft() 149 * @anonce: ANonce or %NULL if not yet available 162 const u8 *anonce, const u8 *pmk_name, in wpa_ft_gen_req_ies() 314 if (anonce) in wpa_ft_gen_req_ies() 315 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 324 if (anonce) in wpa_ft_gen_req_ies() 325 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LE in wpa_ft_gen_req_ies() 161 wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, const u8 *anonce, const u8 *pmk_name, const u8 *kck, size_t kck_len, const u8 *target_ap, const u8 *ric_ies, size_t ric_ies_len, const u8 *ap_mdie) wpa_ft_gen_req_ies() argument 499 const u8 *anonce, *snonce; wpa_ft_process_response() local 851 const u8 *anonce, *snonce, *fte_mic; wpa_ft_validate_reassoc_resp() local [all...] |
H A D | wpa.h | 457 const u8 **anonce,
|
H A D | wpa_i.h | 27 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
|
H A D | wpa.c | 711 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4() 1479 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_3_of_4() 3527 return sm->anonce; in wpa_sm_get_anonce() 4081 const u8 **anonce, in fils_build_assoc_req() 4192 *anonce = sm->fils_anonce; in fils_build_assoc_req() 4194 *anonce, FILS_NONCE_LEN); in fils_build_assoc_req() 4079 fils_build_assoc_req(struct wpa_sm *sm, const u8 **kek, size_t *kek_len, const u8 **snonce, const u8 **anonce, const struct wpabuf **hlp, unsigned int num_hlp) fils_build_assoc_req() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/rsn_supp/ |
H A D | wpa_ft.c | 40 const u8 *anonce = key->key_nonce; in wpa_derive_ptk_ft() local 78 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->pmk_r1_len, sm->snonce, anonce, in wpa_derive_ptk_ft() 176 * @anonce: ANonce or %NULL if not yet available 190 const u8 *anonce, const u8 *pmk_name, in wpa_ft_gen_req_ies() 325 rsnxe_used = wpa_key_mgmt_sae(sm->key_mgmt) && anonce && in wpa_ft_gen_req_ies() 328 if (anonce && sm->ft_rsnxe_used) { in wpa_ft_gen_req_ies() 343 if (anonce) in wpa_ft_gen_req_ies() 344 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 354 if (anonce) in wpa_ft_gen_req_ies() 189 wpa_ft_gen_req_ies(struct wpa_sm *sm, size_t *len, const u8 *anonce, const u8 *pmk_name, const u8 *kck, size_t kck_len, const u8 *target_ap, const u8 *ric_ies, size_t ric_ies_len, const u8 *ap_mdie, int omit_rsnxe) wpa_ft_gen_req_ies() argument [all...] |
H A D | wpa_i.h | 32 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
|
H A D | wpa.h | 591 const u8 **anonce,
|
H A D | wpa.c | 991 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4() 2421 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { 2672 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { 5225 return sm->anonce; 5790 const u8 **anonce, 5910 *anonce = sm->fils_anonce; 5912 *anonce, FILS_NONCE_LEN);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A 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,
|
H A D | wpa_common.c | 478 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() 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() 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() 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() 477 fils_rmsk_to_pmk(int akmp, const u8 *rmsk, size_t rmsk_len, const u8 *snonce, const u8 *anonce, const u8 *dh_ss, size_t dh_ss_len, u8 *pmk, size_t *pmk_len) fils_rmsk_to_pmk() argument 551 fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpa_ptk *ptk, u8 *ick, size_t *ick_len, int akmp, int cipher, u8 *fils_ft, size_t *fils_ft_len) fils_pmk_to_ptk() argument 662 fils_key_auth_sk(const u8 *ick, size_t ick_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *g_sta, size_t g_sta_len, const u8 *g_ap, size_t g_ap_len, int akmp, u8 *key_auth_sta, u8 *key_auth_ap, size_t *key_auth_len) fils_key_auth_sk() argument 1696 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, struct wpa_ptk *ptk, u8 *ptk_name, int akmp, int cipher) wpa_pmk_r1_to_ptk() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_common.h | 397 u8 anonce[WPA_NONCE_LEN]; member 405 u8 anonce[WPA_NONCE_LEN]; member 447 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, 452 const u8 *snonce, const u8 *anonce, const u8 *dhss, 457 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, 484 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
|
H A D | wpa_common.c | 584 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() 605 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk() 609 os_memcpy(&nonces[FILS_NONCE_LEN], anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk() 658 const u8 *snonce, const u8 *anonce, const u8 *dhss, in fils_pmk_to_ptk() 696 os_memcpy(pos, anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk() 752 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk() 794 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() 809 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_key_auth_sk() 820 addr[1] = anonce; in fils_key_auth_sk() 853 addr[0] = anonce; in fils_key_auth_sk() 583 fils_rmsk_to_pmk(int akmp, const u8 *rmsk, size_t rmsk_len, const u8 *snonce, const u8 *anonce, const u8 *dh_ss, size_t dh_ss_len, u8 *pmk, size_t *pmk_len) fils_rmsk_to_pmk() argument 657 fils_pmk_to_ptk(const u8 *pmk, size_t pmk_len, const u8 *spa, const u8 *aa, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpa_ptk *ptk, u8 *ick, size_t *ick_len, int akmp, int cipher, u8 *fils_ft, size_t *fils_ft_len, size_t kdk_len) fils_pmk_to_ptk() argument 793 fils_key_auth_sk(const u8 *ick, size_t ick_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *g_sta, size_t g_sta_len, const u8 *g_ap, size_t g_ap_len, int akmp, u8 *key_auth_sta, u8 *key_auth_ap, size_t *key_auth_len) fils_key_auth_sk() argument 2106 wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce, const u8 *anonce, const u8 *sta_addr, const u8 *bssid, const u8 *pmk_r1_name, struct wpa_ptk *ptk, u8 *ptk_name, int akmp, int cipher, size_t kdk_len) wpa_pmk_r1_to_ptk() argument [all...] |
H A D | common_module_tests.c | 700 const u8 anonce[] = { in pasn_test_no_pasn_auth() local 735 spa, aa, snonce, anonce, in pasn_test_no_pasn_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | wpa_auth_ft.c | 810 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() 831 if (anonce) in wpa_write_ftie() 832 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie() 841 if (anonce) in wpa_write_ftie() 842 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie() 2520 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local 2607 anonce = sm->ANonce; in wpa_sm_write_assoc_resp_ies() 2695 anonce in wpa_sm_write_assoc_resp_ies() 808 wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384, const u8 *r0kh_id, size_t r0kh_id_len, const u8 *anonce, const u8 *snonce, u8 *buf, size_t len, const u8 *subelem, size_t subelem_len, int rsnxe_used) wpa_write_ftie() argument 3321 const u8 *anonce, *snonce, *fte_mic; wpa_ft_validate_reassoc() local [all...] |
H A D | wpa_auth_i.h | 299 const u8 *anonce, const u8 *snonce,
|
H A D | sta_info.h | 78 u8 anonce[FILS_NONCE_LEN]; member
|
H A D | wpa_auth.c | 2375 size_t pmk_len, const u8 *snonce, const u8 *anonce, in fils_auth_pmk_to_ptk() 2393 snonce, anonce, dhss, dhss_len, in fils_auth_pmk_to_ptk() 2433 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, in fils_auth_pmk_to_ptk() 2446 os_memcpy(sm->ANonce, anonce, FILS_NONCE_LEN); in fils_auth_pmk_to_ptk() 5406 const u8 *anonce = sm->ANonce; in wpa_auth_resend_m1() local 5412 anonce = anonce_buf; in wpa_auth_resend_m1() 5419 anonce, NULL, 0, 0, 0); in wpa_auth_resend_m1() 2374 fils_auth_pmk_to_ptk(struct wpa_state_machine *sm, const u8 *pmk, size_t pmk_len, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpabuf *g_sta, struct wpabuf *g_ap) fils_auth_pmk_to_ptk() argument
|
H A D | wpa_auth.h | 507 size_t pmk_len, const u8 *snonce, const u8 *anonce,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | wpa_auth_ft.c | 809 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() 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() 2427 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local 2488 anonce = sm->ANonce; in wpa_sm_write_assoc_resp_ies() 2546 anonce in wpa_sm_write_assoc_resp_ies() 807 wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384, const u8 *r0kh_id, size_t r0kh_id_len, const u8 *anonce, const u8 *snonce, u8 *buf, size_t len, const u8 *subelem, size_t subelem_len) wpa_write_ftie() argument 3124 const u8 *anonce, *snonce, *fte_mic; wpa_ft_validate_reassoc() local [all...] |
H A D | wpa_auth_i.h | 292 const u8 *anonce, const u8 *snonce,
|
H A D | wpa_auth.h | 446 size_t pmk_len, const u8 *snonce, const u8 *anonce,
|
H A D | wpa_auth.c | 2258 size_t pmk_len, const u8 *snonce, const u8 *anonce, in fils_auth_pmk_to_ptk() 2269 snonce, anonce, dhss, dhss_len, in fils_auth_pmk_to_ptk() 2314 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, in fils_auth_pmk_to_ptk() 2327 os_memcpy(sm->ANonce, anonce, FILS_NONCE_LEN); in fils_auth_pmk_to_ptk() 4968 const u8 *anonce = sm->ANonce; in wpa_auth_resend_m1() local 4974 anonce = anonce_buf; in wpa_auth_resend_m1() 4981 anonce, NULL, 0, 0, 0); in wpa_auth_resend_m1() 2257 fils_auth_pmk_to_ptk(struct wpa_state_machine *sm, const u8 *pmk, size_t pmk_len, const u8 *snonce, const u8 *anonce, const u8 *dhss, size_t dhss_len, struct wpabuf *g_sta, struct wpabuf *g_ap) fils_auth_pmk_to_ptk() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | pasn_supplicant.c | 456 u8 anonce[FILS_NONCE_LEN]; in wpas_pasn_wd_fils_rx() local 527 os_memcpy(anonce, elems.fils_nonce, FILS_NONCE_LEN); in wpas_pasn_wd_fils_rx() 572 pasn->fils.nonce, anonce, NULL, 0, in wpas_pasn_wd_fils_rx()
|
H A D | sme.c | 2340 const u8 *snonce, *anonce; local 2365 &anonce, 2413 os_memcpy(nonces + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | sme.c | 1463 const u8 *snonce, *anonce; in sme_associate() local 1488 &anonce, in sme_associate() 1536 os_memcpy(nonces + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN); in sme_associate()
|