Searched refs:snonce (Results 1 - 25 of 33) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_ft.c45 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr,
260 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN);
354 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
427 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
430 ftie->snonce, WPA_NONCE_LEN);
432 sm->snonce, WPA_NONCE_LEN);
468 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN);
478 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, fti
[all...]
H A Dwpa_i.h27 u8 snonce[WPA_NONCE_LEN]; member in struct:wpa_sm
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa_ft.c45 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr,
260 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN);
354 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
427 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
430 ftie->snonce, WPA_NONCE_LEN);
432 sm->snonce, WPA_NONCE_LEN);
468 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN);
478 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, fti
[all...]
H A Dwpa_i.h27 u8 snonce[WPA_NONCE_LEN]; member in struct:wpa_sm
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_ft.c45 return wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr,
260 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN);
354 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
427 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) {
430 ftie->snonce, WPA_NONCE_LEN);
432 sm->snonce, WPA_NONCE_LEN);
468 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN);
478 if (wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, fti
[all...]
H A Dwpa_i.h27 u8 snonce[WPA_NONCE_LEN]; member in struct:wpa_sm
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth_ft.c98 const u8 *anonce, const u8 *snonce,
118 if (snonce)
119 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN);
646 u8 *anonce, *snonce; local
685 snonce = sm->SNonce;
712 snonce = NULL;
714 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos,
842 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN);
1038 if (os_memcmp(ftie->snonce, s
96 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 Dwpa_auth_i.h249 const u8 *anonce, const u8 *snonce,
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ft.c98 const u8 *anonce, const u8 *snonce,
118 if (snonce)
119 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN);
646 u8 *anonce, *snonce; local
685 snonce = sm->SNonce;
712 snonce = NULL;
714 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos,
842 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN);
1038 if (os_memcmp(ftie->snonce, s
96 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 Dwpa_auth_i.h249 const u8 *anonce, const u8 *snonce,
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ft.c98 const u8 *anonce, const u8 *snonce,
118 if (snonce)
119 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN);
646 u8 *anonce, *snonce; local
685 snonce = sm->SNonce;
712 snonce = NULL;
714 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos,
842 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN);
1038 if (os_memcmp(ftie->snonce, s
96 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 Dwpa_auth_i.h249 const u8 *anonce, const u8 *snonce,
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_enrollee.c41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN);
45 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN);
58 addr[0] = wps->snonce;
74 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN;
88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN);
98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN,
H A Dwps_i.h57 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member in struct:wps_data
H A Dwps_registrar.c1433 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
1435 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN);
1437 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN);
1450 addr[0] = wps->snonce;
1466 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN;
1480 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN);
1490 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN,
/external/wpa_supplicant_8/src/wps/
H A Dwps_enrollee.c41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN);
45 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN);
58 addr[0] = wps->snonce;
74 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN;
88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN);
98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN,
H A Dwps_i.h57 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member in struct:wps_data
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_enrollee.c41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
43 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN);
45 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN);
58 addr[0] = wps->snonce;
74 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN;
88 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN);
98 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN,
H A Dwps_i.h57 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member in struct:wps_data
/external/wpa_supplicant_8/hostapd/src/common/
H A Dwpa_common.h314 u8 snonce[WPA_NONCE_LEN]; member in struct:rsn_ftie
358 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
H A Dwpa_common.c935 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, argument
952 os_memcpy(pos, snonce, WPA_NONCE_LEN);
976 addr[2] = snonce;
/external/wpa_supplicant_8/src/common/
H A Dwpa_common.h314 u8 snonce[WPA_NONCE_LEN]; member in struct:rsn_ftie
358 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
H A Dwpa_common.c935 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, argument
952 os_memcpy(pos, snonce, WPA_NONCE_LEN);
976 addr[2] = snonce;
/external/wpa_supplicant_8/wpa_supplicant/src/common/
H A Dwpa_common.h314 u8 snonce[WPA_NONCE_LEN]; member in struct:rsn_ftie
358 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
H A Dwpa_common.c935 int wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, argument
952 os_memcpy(pos, snonce, WPA_NONCE_LEN);
976 addr[2] = snonce;

Completed in 134 milliseconds

12