Home
last modified time | relevance | path

Searched refs:rand_s (Results 1 – 20 of 20) 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 = data; in eap_sake_parse_add_attr()
266 const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, in eap_sake_derive_keys() argument
279 rand_p, EAP_SAKE_RAND_LEN, rand_s, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
284 rand_s, EAP_SAKE_RAND_LEN, rand_p, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
296 rand_p, EAP_SAKE_RAND_LEN, rand_s, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
301 rand_s, EAP_SAKE_RAND_LEN, rand_p, EAP_SAKE_RAND_LEN, in eap_sake_derive_keys()
329 const u8 *rand_s, const u8 *rand_p, in eap_sake_compute_mic() argument
357 os_memcpy(_rand, rand_s, EAP_SAKE_RAND_LEN); in eap_sake_compute_mic()
373 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
209 if (!attr.rand_s) { in eap_sake_process_challenge()
215 os_memcpy(data->rand_s, attr.rand_s, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge()
217 data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_process_challenge()
239 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()
314 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
351 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
478 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
479 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()
142 os_memcpy(hdr2->rand_s, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
156 os_memcpy(pos, hdr1->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_1()
214 wpa_hexdump(MSG_DEBUG, "EAP-PSK: RAND_S", hdr3->rand_s, in eap_psk_process_3()
323 os_memcpy(hdr4->rand_s, hdr3->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_3()
451 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
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()
345 data->rand_s, data->rand_p, in eap_sake_process_challenge()
353 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_challenge()
394 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, in eap_sake_process_confirm()
521 os_memcpy(id + 1, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
522 os_memcpy(id + 1 + EAP_SAKE_RAND_LEN, data->rand_s, EAP_SAKE_RAND_LEN); in eap_sake_get_session_id()
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()
306 os_memcpy(pos, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_process_2()
499 os_memcpy(id + 1 + EAP_PSK_RAND_LEN, data->rand_s, EAP_PSK_RAND_LEN); in eap_psk_get_session_id()
/external/libcxx/src/
Drandom.cpp163 errno_t err = rand_s(&r);
/external/llvm-project/libcxx/src/
Drandom.cpp162 errno_t err = rand_s(&r);
/external/expat/
DChanges68 #356 #359 MinGW: Provide declaration of rand_s for mingwrt <5.3.0
152 by using official API function rand_s (needs WinXP+)
DCMakeLists.txt701 message(STATUS " rand_s ................... ON")
/external/python/cpython3/Modules/expat/
Dxmlparse.c107 * Windows (rand_s): _WIN32. \
749 if (rand_s(&random32)) in writeRandomBytes_rand_s()
/external/google-breakpad/src/tools/windows/dump_syms/testdata/
Ddump_syms_regtest.sym183 FILE 2186 f:\dd\vctools\crt_bld\self_x86\crt\src\rand_s.c
Domap_reorder_funcs.sym183 FILE 2186 f:\dd\vctools\crt_bld\self_x86\crt\src\rand_s.c
Domap_stretched_filled.sym183 FILE 2186 f:\dd\vctools\crt_bld\self_x86\crt\src\rand_s.c
Domap_stretched.sym183 FILE 2186 f:\dd\vctools\crt_bld\self_x86\crt\src\rand_s.c
Ddump_syms_regtest64.sym200 FILE 4628 f:\dd\vctools\crt\crtw32\misc\rand_s.c
Domap_reorder_bbs.sym183 FILE 2186 f:\dd\vctools\crt_bld\self_x86\crt\src\rand_s.c
/external/google-breakpad/src/processor/testdata/symbols/test_app.pdb/5A9832E5287241C1838ED98914E9B7FF1/
Dtest_app.sym3076 FILE 3075 f:\sp\vctools\crt_bld\self_x86\crt\src\rand_s.c
12857 FUNC e459 104 4 rand_s
/external/google-breakpad/src/processor/testdata/
Dmodule0.out3076 FILE 3075 f:\sp\vctools\crt_bld\self_x86\crt\src\rand_s.c
12857 FUNC e459 104 4 rand_s