Home
last modified time | relevance | path

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

/freebsd-9-stable/crypto/heimdal/tests/kdc/
Dcheck-digest.in173 snonce=`grep server-nonce= sdigest-reply | cut -f2- -d=`
183 --server-nonce="$snonce" \
200 --server-nonce="$snonce" \
221 --server-nonce="$snonce" \
240 snonce=`grep server-nonce= sdigest-reply | cut -f2- -d=`
251 --server-nonce="$snonce" \
265 --server-nonce="$snonce" \
/freebsd-9-stable/contrib/wpa/src/rsn_supp/
Dwpa_ft.c77 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, anonce, sm->own_addr, in wpa_derive_ptk_ft()
294 os_memcpy(ftie->snonce, sm->snonce, WPA_NONCE_LEN); in wpa_ft_gen_req_ies()
543 if (os_get_random(sm->snonce, WPA_NONCE_LEN)) { in wpa_ft_prepare_auth_request()
617 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_process_response()
620 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_response()
622 sm->snonce, WPA_NONCE_LEN); in wpa_ft_process_response()
656 wpa_hexdump(MSG_DEBUG, "FT: SNonce", sm->snonce, WPA_NONCE_LEN); in wpa_ft_process_response()
667 wpa_pmk_r1_to_ptk(sm->pmk_r1, sm->snonce, ftie->anonce, sm->own_addr, in wpa_ft_process_response()
901 if (os_memcmp(ftie->snonce, sm->snonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc_resp()
904 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_validate_reassoc_resp()
[all …]
Dwpa_i.h31 u8 snonce[WPA_NONCE_LEN]; member
Dwpa.c350 sm->own_addr, sm->bssid, sm->snonce, key->key_nonce, in wpa_derive_ptk()
403 if (os_get_random(sm->snonce, WPA_NONCE_LEN)) { in wpa_supplicant_process_1_of_4()
410 sm->snonce, WPA_NONCE_LEN); in wpa_supplicant_process_1_of_4()
423 if (wpa_supplicant_send_2_of_4(sm, sm->bssid, key, ver, sm->snonce, in wpa_supplicant_process_1_of_4()
/freebsd-9-stable/contrib/wpa/src/ap/
Dwpa_auth_ft.c103 const u8 *anonce, const u8 *snonce, in wpa_write_ftie() argument
123 if (snonce) in wpa_write_ftie()
124 os_memcpy(hdr->snonce, snonce, WPA_NONCE_LEN); in wpa_write_ftie()
618 u8 *anonce, *snonce; in wpa_sm_write_assoc_resp_ies() local
658 snonce = sm->SNonce; in wpa_sm_write_assoc_resp_ies()
685 snonce = NULL; in wpa_sm_write_assoc_resp_ies()
687 res = wpa_write_ftie(conf, r0kh_id, r0kh_id_len, anonce, snonce, pos, in wpa_sm_write_assoc_resp_ies()
954 os_memcpy(sm->SNonce, ftie->snonce, WPA_NONCE_LEN); in wpa_ft_process_auth_req()
1147 if (os_memcmp(ftie->snonce, sm->SNonce, WPA_NONCE_LEN) != 0) { in wpa_ft_validate_reassoc()
1150 ftie->snonce, WPA_NONCE_LEN); in wpa_ft_validate_reassoc()
Dwpa_auth_i.h220 const u8 *anonce, const u8 *snonce,
/freebsd-9-stable/contrib/wpa/src/wps/
Dwps_enrollee.c56 if (os_get_random(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash()
58 wpa_hexdump(MSG_DEBUG, "WPS: E-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
60 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_e_hash()
73 addr[0] = wps->snonce; in wps_build_e_hash()
89 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_e_hash()
103 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_e_snonce1()
113 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_e_snonce2()
Dwps_registrar.c1028 if (os_get_random(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_r_hash()
1030 wpa_hexdump(MSG_DEBUG, "WPS: R-S1", wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1032 wps->snonce + WPS_SECRET_NONCE_LEN, WPS_SECRET_NONCE_LEN); in wps_build_r_hash()
1045 addr[0] = wps->snonce; in wps_build_r_hash()
1061 addr[0] = wps->snonce + WPS_SECRET_NONCE_LEN; in wps_build_r_hash()
1075 wpabuf_put_data(msg, wps->snonce, WPS_SECRET_NONCE_LEN); in wps_build_r_snonce1()
1085 wpabuf_put_data(msg, wps->snonce + WPS_SECRET_NONCE_LEN, in wps_build_r_snonce2()
Dwps_i.h60 u8 snonce[2 * WPS_SECRET_NONCE_LEN]; member
/freebsd-9-stable/contrib/wpa/src/common/
Dwpa_common.h276 u8 snonce[WPA_NONCE_LEN]; member
320 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce,
Dwpa_common.c523 void wpa_pmk_r1_to_ptk(const u8 *pmk_r1, const u8 *snonce, const u8 *anonce, in wpa_pmk_r1_to_ptk() argument
538 os_memcpy(pos, snonce, WPA_NONCE_LEN); in wpa_pmk_r1_to_ptk()
557 addr[2] = snonce; in wpa_pmk_r1_to_ptk()