/freebsd-10-stable/contrib/wpa/src/rsn_supp/ |
H A D | wpa_ft.c | 46 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr, 262 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); 356 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { 430 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) { 433 ftie->snonce, WPA_NONCE_LEN); 435 sm->snonce, WPA_NONCE_LEN); 469 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN); 480 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, fti [all...] |
H A D | wpa_i.h | 27 u8 snonce[WPA_NONCE_LEN]; member in struct:wpa_sm
|
H A D | wpa.c | 366 sm->own_addr, sm->bssid, sm->snonce, key->key_nonce, 420 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { 427 sm->snonce, WPA_NONCE_LEN); 440 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce,
|
/freebsd-10-stable/contrib/wpa/src/ap/ |
H A D | wpa_auth_ft.c | 90 const u8 *anonce, const u8 *snonce, 110 if (snonce) 111 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); 628 u8 *anonce, *snonce; local 668 snonce = sm->SNonce; 695 snonce = NULL; 697 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos, 833 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); 1027 if (os_memcmp(ftie->snonce, s 88 wpa_write_ftie(struct wpa_auth_config *conf, 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) argument [all...] |
H A D | wpa_auth_i.h | 223 const u8 *anonce, const u8 *snonce,
|
/freebsd-10-stable/contrib/wpa/src/wps/ |
H A D | wps_enrollee.c | 51 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) 53 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN); 55 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); 68 addr[0] = wps->snonce; 84 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; 98 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); 108 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN,
|
H A D | wps_i.h | 57 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member in struct:wps_data
|
H A D | wps_registrar.c | 1396 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) 1398 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); 1400 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); 1413 addr[0] = wps->snonce; 1429 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; 1443 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); 1453 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN,
|
/freebsd-10-stable/contrib/wpa/src/common/ |
H A D | wpa_common.h | 297 u8 snonce[WPA_NONCE_LEN]; member in struct:rsn_ftie 341 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
|
H A D | wpa_common.c | 815 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, argument 830 os_memcpy(pos, snonce, WPA_NONCE_LEN); 849 addr[2] = snonce;
|