/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ft.c | 46 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr, in wpa_derive_ptk_ft() 261 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies() 355 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { in wpa_ft_prepare_auth_request() 429 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_process_response() 432 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_response() 434 sm->snonce, WPA_NONCE_LEN); in wpa_ft_process_response() 468 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN); in wpa_ft_process_response() 479 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, sm->own_addr, in wpa_ft_process_response() 693 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc_resp() 696 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_validate_reassoc_resp() [all …]
|
D | wpa_i.h | 26 u8 snonce[WPA_NONCE_LEN]; member
|
D | wpa.c | 366 sm->own_addr, sm->bssid, sm->snonce, key->key_nonce, in wpa_derive_ptk() 420 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { in wpa_supplicant_process_1_of_4() 427 sm->snonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4() 440 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, in wpa_supplicant_process_1_of_4()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ft.c | 90 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() argument 110 if (snonce) in wpa_write_ftie() 111 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); in wpa_write_ftie() 628 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local 668 snonce = sm->SNonce; in wpa_sm_write_assoc_resp_ies() 695 snonce = NULL; in wpa_sm_write_assoc_resp_ies() 697 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos, in wpa_sm_write_assoc_resp_ies() 824 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req() 1017 if (os_memcmp(ftie->snonce, sm->SNonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc() 1020 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_validate_reassoc()
|
D | wpa_auth_i.h | 222 const u8 *anonce, const u8 *snonce,
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_enrollee.c | 51 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash() 53 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_hash() 55 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_e_hash() 68 addr[0] = wps->snonce; in wps_build_e_hash() 84 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_e_hash() 98 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1() 108 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_e_snonce2()
|
D | wps_i.h | 57 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member
|
D | wps_registrar.c | 1409 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash() 1411 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash() 1413 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash() 1426 addr[0] = wps->snonce; in wps_build_r_hash() 1442 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash() 1456 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1() 1466 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.h | 292 u8 snonce[WPA_NONCE_LEN]; member 336 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
|
D | wpa_common.c | 815 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, in wpa_pmk_r1_to_ptk() argument 830 os_memcpy(pos, snonce, WPA_NONCE_LEN); in wpa_pmk_r1_to_ptk() 849 addr[2] = snonce; in wpa_pmk_r1_to_ptk()
|