Home
last modified time | relevance | path

Searched refs:snonce (Results 1 – 14 of 14) sorted by relevance

/dragonfly/contrib/wpa_supplicant/src/rsn_supp/
H A Dwpa_ft.c313 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
323 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
499 const u8 *anonce, *snonce; in wpa_ft_process_response() local
548 snonce = ftie->snonce; in wpa_ft_process_response()
559 snonce = ftie->snonce; in wpa_ft_process_response()
562 if (os_memcmp(snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_process_response()
565 snonce, WPA_NONCE_LEN); in wpa_ft_process_response()
890 snonce = ftie->snonce; in wpa_ft_validate_reassoc_resp()
903 snonce = ftie->snonce; in wpa_ft_validate_reassoc_resp()
908 if (os_memcmp(snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc_resp()
[all …]
H A Dwpa_i.h26 u8 snonce[WPA_NONCE_LEN]; member
H A Dwpa.c579 sm->own_addr, sm->bssid, sm->snonce, in wpa_derive_ptk()
631 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { in wpa_supplicant_process_1_of_4()
638 sm->snonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4()
706 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, in wpa_supplicant_process_1_of_4()
4080 size_t *kek_len, const u8 **snonce, in fils_build_assoc_req() argument
4189 *snonce = sm->fils_nonce; in fils_build_assoc_req()
4191 *snonce, FILS_NONCE_LEN); in fils_build_assoc_req()
H A Dwpa.h456 size_t *kek_len, const u8 **snonce,
/dragonfly/contrib/wpa_supplicant/src/common/
H A Dwpa_common.h315 u8 snonce[WPA_NONCE_LEN]; member
323 u8 snonce[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,
362 int fils_key_auth_sk(const u8 *ick, size_t ick_len, const u8 *snonce,
387 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, size_t pmk_r1_len, const u8 *snonce,
H A Dwpa_common.c478 const u8 *snonce, const u8 *anonce, const u8 *dh_ss, in fils_rmsk_to_pmk() argument
502 os_memcpy(nonces, snonce, FILS_NONCE_LEN); in fils_rmsk_to_pmk()
552 const u8 *snonce, const u8 *anonce, const u8 *dhss, in fils_pmk_to_ptk() argument
584 os_memcpy(pos, snonce, FILS_NONCE_LEN); in fils_pmk_to_ptk()
687 addr[0] = snonce; in fils_key_auth_sk()
723 addr[1] = snonce; in fils_key_auth_sk()
996 ftie_sha384->snonce, in wpa_ft_parse_ies()
1014 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_parse_ies()
1697 const u8 *snonce, const u8 *anonce, in wpa_pmk_r1_to_ptk() argument
1722 os_memcpy(pos, snonce, WPA_NONCE_LEN); in wpa_pmk_r1_to_ptk()
[all …]
/dragonfly/contrib/wpa_supplicant/src/wps/
H A Dwps_enrollee.c41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash()
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
45 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
58 addr[0] = wps->snonce; in wps_build_e_hash()
74 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_e_hash()
88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_e_snonce2()
H A Dwps_i.h57 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member
H A Dwps_registrar.c1483 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash()
1485 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1487 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1500 addr[0] = wps->snonce; in wps_build_r_hash()
1516 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash()
1530 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1()
1540 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2()
/dragonfly/contrib/wpa_supplicant/src/ap/
H A Dwpa_auth_ft.c832 if (snonce) in wpa_write_ftie()
833 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); in wpa_write_ftie()
842 if (snonce) in wpa_write_ftie()
843 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); in wpa_write_ftie()
2427 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local
2489 snonce = sm->SNonce; in wpa_sm_write_assoc_resp_ies()
2547 snonce = NULL; in wpa_sm_write_assoc_resp_ies()
3124 const u8 *anonce, *snonce, *fte_mic; in wpa_ft_validate_reassoc() local
3175 snonce = ftie->snonce; in wpa_ft_validate_reassoc()
3188 snonce = ftie->snonce; in wpa_ft_validate_reassoc()
[all …]
H A Dwpa_auth_i.h292 const u8 *anonce, const u8 *snonce,
H A Dwpa_auth.c57 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce,
2209 static int wpa_derive_ptk(struct wpa_state_machine *sm, const u8 *snonce, in wpa_derive_ptk() argument
2241 sm->wpa_auth->addr, sm->addr, sm->ANonce, snonce, in wpa_derive_ptk()
2249 size_t pmk_len, const u8 *snonce, const u8 *anonce, in fils_auth_pmk_to_ptk() argument
2260 snonce, anonce, dhss, dhss_len, in fils_auth_pmk_to_ptk()
2305 res = fils_key_auth_sk(ick, ick_len, snonce, anonce, in fils_auth_pmk_to_ptk()
2317 os_memcpy(sm->SNonce, snonce, FILS_NONCE_LEN); in fils_auth_pmk_to_ptk()
H A Dwpa_auth.h446 size_t pmk_len, const u8 *snonce, const u8 *anonce,
/dragonfly/contrib/wpa_supplicant/wpa_supplicant/
H A Dsme.c1463 const u8 *snonce, *anonce; in sme_associate() local
1487 &params.fils_kek_len, &snonce, in sme_associate()
1535 os_memcpy(nonces, snonce, FILS_NONCE_LEN); in sme_associate()