/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ft.c | 41 const u8 *anonce = key->key_nonce; in wpa_derive_ptk_ft() local 84 anonce, sm->own_addr, wpa_sm_get_auth_addr(sm), in wpa_derive_ptk_ft() 207 const u8 *anonce, const u8 *pmk_name, in wpa_ft_gen_req_ies() argument 345 rsnxe_used = wpa_key_mgmt_sae(sm->key_mgmt) && anonce && in wpa_ft_gen_req_ies() 349 if (anonce && sm->ft_rsnxe_used) { in wpa_ft_gen_req_ies() 367 if (anonce) in wpa_ft_gen_req_ies() 368 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 381 if (anonce) in wpa_ft_gen_req_ies() 382 os_memcpy(ftie->anonce, anonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 393 if (anonce) in wpa_ft_gen_req_ies() [all …]
|
H A D | wpa_i.h | 33 u8 anonce[WPA_NONCE_LEN]; /* ANonce from the last 1/4 msg */ member
|
H A D | wpa.h | 604 const u8 **anonce,
|
H A D | wpa.c | 910 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4_wpa() 1113 os_memcpy(sm->anonce, key->key_nonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4() 2489 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_3_of_4_wpa() 2655 if (os_memcmp(sm->anonce, key->key_nonce, WPA_NONCE_LEN) != 0) { in wpa_supplicant_process_3_of_4() 5404 return sm->anonce; in wpa_sm_get_anonce() 5991 const u8 **anonce, in fils_build_assoc_req() argument 6111 *anonce = sm->fils_anonce; in fils_build_assoc_req() 6113 *anonce, FILS_NONCE_LEN); in fils_build_assoc_req()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ieee802_11_auth.c | 50 u8 *anonce; member 108 os_free(query->anonce); in hostapd_acl_query_free() 175 if (query->anonce && in hostapd_radius_acl_query() 179 query->anonce, WPA_NONCE_LEN)) { in hostapd_radius_acl_query() 722 int key_mgmt, const u8 *anonce, in hostapd_acl_req_radius_psk() argument 735 if (anonce) in hostapd_acl_req_radius_psk() 736 query->anonce = os_memdup(anonce, WPA_NONCE_LEN); in hostapd_acl_req_radius_psk()
|
H A D | ieee802_11_auth.h | 40 int key_mgmt, const u8 *anonce,
|
H A D | wpa_auth_ft.c | 814 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() argument 851 if (anonce) in wpa_write_ftie() 852 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie() 864 if (anonce) in wpa_write_ftie() 865 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie() 875 if (anonce) in wpa_write_ftie() 876 os_memcpy(hdr->anonce, anonce, WPA_NONCE_LEN); in wpa_write_ftie() 2573 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local 2659 anonce = sm->ANonce; in wpa_sm_write_assoc_resp_ies() 2747 anonce = NULL; in wpa_sm_write_assoc_resp_ies() [all …]
|
H A D | wpa_auth_i.h | 331 const u8 *anonce, const u8 *snonce,
|
H A D | wpa_auth.h | 371 const u8 *anonce, 569 size_t pmk_len, const u8 *snonce, const u8 *anonce,
|
H A D | wpa_auth_glue.c | 1508 const u8 *anonce, in hostapd_request_radius_psk() argument 1515 wpa_hexdump(MSG_DEBUG, "ANonce", anonce, WPA_NONCE_LEN); in hostapd_request_radius_psk() 1517 hostapd_acl_req_radius_psk(hapd, addr, key_mgmt, anonce, eapol, in hostapd_request_radius_psk()
|
H A D | wpa_auth.c | 2952 size_t pmk_len, const u8 *snonce, const u8 *anonce, argument 2971 snonce, anonce, dhss, dhss_len, 3024 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, 3038 os_memcpy(sm->ANonce, anonce, FILS_NONCE_LEN); 6848 const u8 *anonce = sm->ANonce; local 6854 anonce = anonce_buf; 6861 anonce, NULL, 0, 0, 0);
|
H A D | ieee802_11.c | 2444 if (random_get_bytes(fils->anonce, FILS_NONCE_LEN) < 0) { in pasn_fils_auth_resp() 2450 fils->anonce, FILS_NONCE_LEN); in pasn_fils_auth_resp() 2453 fils->anonce, NULL, 0, pmk, &pmk_len); in pasn_fils_auth_resp()
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.h | 408 u8 anonce[WPA_NONCE_LEN]; member 416 u8 anonce[WPA_NONCE_LEN]; member 424 u8 anonce[WPA_NONCE_LEN]; member 469 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, 474 const u8 *snonce, const u8 *anonce, const u8 *dhss, 479 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, 508 const u8 *anonce, const u8 *sta_addr, const u8 *bssid,
|
H A D | wpa_common.c | 593 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() argument 614 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk() 618 os_memcpy(&nonces[FILS_NONCE_LEN], anonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk() 667 const u8 *snonce, const u8 *anonce, const u8 *dhss, in fils_pmk_to_ptk() argument 705 os_memcpy(pos, anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk() 761 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_pmk_to_ptk() 803 const u8 *anonce, const u8 *sta_addr, const u8 *bssid, in fils_key_auth_sk() argument 818 wpa_hexdump(MSG_DEBUG, "FILS: ANonce", anonce, FILS_NONCE_LEN); in fils_key_auth_sk() 829 addr[1] = anonce; in fils_key_auth_sk() 862 addr[0] = anonce; in fils_key_auth_sk() [all …]
|
H A D | common_module_tests.c | 696 const u8 anonce[] = { in pasn_test_no_pasn_auth() local 731 spa, aa, snonce, anonce, in pasn_test_no_pasn_auth()
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_common.h | 28 u8 anonce[FILS_NONCE_LEN]; member
|
H A D | pasn_initiator.c | 307 u8 anonce[FILS_NONCE_LEN]; in wpas_pasn_wd_fils_rx() local 378 os_memcpy(anonce, elems.fils_nonce, FILS_NONCE_LEN); in wpas_pasn_wd_fils_rx() 423 pasn->fils.nonce, anonce, NULL, 0, in wpas_pasn_wd_fils_rx()
|
H A D | pasn_responder.c | 248 wpabuf_put_data(buf, fils->anonce, FILS_NONCE_LEN); in pasn_get_fils_wd()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | sme.c | 2249 const u8 *snonce, *anonce; in sme_associate() local 2274 &anonce, in sme_associate() 2322 os_memcpy(nonces + FILS_NONCE_LEN, anonce, FILS_NONCE_LEN); in sme_associate()
|