Home
last modified time | relevance | path

Searched refs:rand_s (Results 1 – 15 of 15) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_psk_common.h35 u8 rand_s[EAP_PSK_RAND_LEN]; member
42 u8 rand_s[EAP_PSK_RAND_LEN]; member
51 u8 rand_s[EAP_PSK_RAND_LEN]; member
59 u8 rand_s[EAP_PSK_RAND_LEN]; member
Deap_sake_common.c31 attr->rand_s = pos + 2; in eap_sake_parse_add_attr()
260 const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, in eap_sake_derive_keys() argument
273 rand_p, EAP_SAKE_RAND_LEN, rand_s, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
277 rand_s, EAP_SAKE_RAND_LEN, rand_p, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
288 rand_p, EAP_SAKE_RAND_LEN, rand_s, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
292 rand_s, EAP_SAKE_RAND_LEN, rand_p, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
317 const u8 *rand_s, const u8 *rand_p, in eap_sake_compute_mic() argument
344 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN); in eap_sake_compute_mic()
360 os_memcpy(_rand + EAP_SAKE_RAND_LEN, rand_s, in eap_sake_compute_mic()
Deap_sake_common.h59 const u8 *rand_s; member
85 const u8 *rand_s, const u8 *rand_p,
88 const u8 *rand_s, const u8 *rand_p,
/external/wpa_supplicant_8/src/eap_peer/
Deap_sake.c20 u8 rand_s[EAP_SAKE_RAND_LEN]; member
211 if (!attr.rand_s) { in eap_sake_process_challenge()
217 os_memcpy(data->rand_s, attr.rand_s, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge()
219 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge()
242 data->rand_s, data->rand_p, in eap_sake_process_challenge()
269 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_challenge()
313 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
342 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
469 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
470 os_memcpy(id + 1 + EAP_SAKE_RAND_LEN, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
Deap_psk.c24 u8 rand_s[EAP_PSK_RAND_LEN]; member
114 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr1->rand_s, in eap_psk_process_1()
116 os_memcpy(data->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
143 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
157 os_memcpy(pos, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
215 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr3->rand_s, in eap_psk_process_3()
325 os_memcpy(hdr4->rand_s, hdr3->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_3()
454 os_memcpy(id + 1 + EAP_PSK_RAND_LEN, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_get_session_id()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_sake.c19 u8 rand_s[EAP_SAKE_RAND_LEN]; member
164 if (random_get_bytes(data->rand_s, EAP_SAKE_RAND_LEN)) { in eap_sake_build_challenge()
170 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_build_challenge()
183 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_build_challenge()
215 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_build_confirm()
361 data->rand_s, data->rand_p, in eap_sake_process_challenge()
364 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_challenge()
401 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
Deap_server_psk.c23 u8 rand_s[EAP_PSK_RAND_LEN]; member
64 if (random_get_bytes(data->rand_s, EAP_PSK_RAND_LEN)) { in eap_psk_build_1()
70 data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1()
84 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1()
112 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_3()
309 os_memcpy(pos, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_2()
/external/chromium/base/
Drand_util_win.cc16 CHECK_EQ(rand_s(&number), 0); in RandUint32()
Dsync_socket_win.cc53 if (rand_s(&rnd_name) != 0) in CreatePair()
/external/srtp/crypto/rng/
Drand_source.c115 errno_t err = rand_s(&val); in rand_source_get_octet_string()
/external/webkit/Source/WebKit/qt/
DChangeLog-2011-02-1621727 inclusion correct with regards to rand_s.
25953 the MSVC defines for rand_s.
/external/webkit/Source/JavaScriptCore/
DChangeLog-2008-08-1018988 correct for rand_s.
25510 MSVC7 build fix. (rand_s doesn't exist there)
DChangeLog-2009-06-1611111 the secure rand_s on windows. Unfortunately rand_s is an order
DChangeLog-2007-10-14424 … Fixed by accounting for RAND_MAX return values. Also, switched Windows over to rand_s, which has
/external/webkit/Source/WebCore/
DChangeLog-2010-12-06110178 WebSocket: Malformed handshake headers in a worker due to rand_s failing