Home
last modified time | relevance | path

Searched refs:rand_s (Results 1 – 21 of 21) 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_psk.c23 u8 rand_s[EAP_PSK_RAND_LEN]; member
62 if (random_get_bytes(data->rand_s, EAP_PSK_RAND_LEN)) { in eap_psk_build_1()
68 data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1()
82 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_1()
110 os_memcpy(psk->rand_s, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_build_3()
307 os_memcpy(pos, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_2()
Deap_server_sake.c19 u8 rand_s[EAP_SAKE_RAND_LEN]; member
153 if (random_get_bytes(data->rand_s, EAP_SAKE_RAND_LEN)) { in eap_sake_build_challenge()
159 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()
200 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_build_confirm()
346 data->rand_s, data->rand_p, in eap_sake_process_challenge()
349 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_challenge()
386 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
/external/chromium_org/v8/src/utils/
Drandom-number-generator.cc75 errno_t result = rand_s(&first_half); in RandomNumberGenerator()
77 result = rand_s(&second_half); in RandomNumberGenerator()
/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/chromium_org/base/
Drand_util_win.cc16 CHECK_EQ(rand_s(&number), 0); in RandUint32()
Dsync_socket_win.cc43 if (rand_s(&rnd_name) != 0) in CreatePairImpl()
/external/chromium_org/components/nacl/loader/
Dnacl_main_platform_delegate_win.cc25 rand_s(&dummy_rand); in EnableSandbox()
/external/chromium_org/content/worker/
Dworker_main.cc42 rand_s(&dummy_rand); in WorkerMain()
/external/srtp/crypto/rng/
Drand_source.c115 errno_t err = rand_s(&val); in rand_source_get_octet_string()
/external/chromium_org/content/renderer/
Drenderer_main_platform_delegate_win.cc133 rand_s(&dummy_rand); in EnableSandbox()
/external/chromium_org/sandbox/win/src/
Dprocess_mitigations.cc291 rand_s(&limit); in ApplyProcessMitigationsToSuspendedProcess()
Dinterception.cc41 rand_s(&offset); in GetGranularAlignedRandomOffset()
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
Dmount_dev.cc236 errno_t err = rand_s(&random_int); in Read()
/external/chromium_org/content/ppapi_plugin/
Dppapi_thread.cc297 rand_s(&dummy_rand); in OnLoadPlugin()
/external/chromium_org/v8/tools/gyp/
Dv8.gyp859 '_CRT_RAND_S' # for rand_s()