Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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,
/third_party/wpa_supplicant/wpa_supplicant-2.9/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,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
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()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/libcoap/src/
Dcoap_prng.c22 errno_t __cdecl rand_s( _Out_ unsigned int* _RandomValue );
33 if ( rand_s( &r ) != 0 ) in coap_prng_impl()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Drandom.h41 rand_s(&number); in GetRandomDevice()
/third_party/glib/glib/
Dgrand.c272 rand_s (&seed[i]); in g_rand_new()
274 #warning Using insecure seed for random number generation because of missing rand_s() in Windows XP in g_rand_new()
/third_party/skia/third_party/externals/expat/expat/
DChanges159 #356 #359 MinGW: Provide declaration of rand_s for mingwrt <5.3.0
243 by using official API function rand_s (needs WinXP+)
DCMakeLists.txt767 message(STATUS " rand_s ................... ON")
/third_party/expat/
DChanges174 #356 #359 MinGW: Provide declaration of rand_s for mingwrt <5.3.0
258 by using official API function rand_s (needs WinXP+)
DCMakeLists.txt767 message(STATUS " rand_s ................... ON")
/third_party/node/tools/v8_gypfiles/
Dv8.gyp1103 'defines': ['_CRT_RAND_S'], # for rand_s()
/third_party/expat/lib/
Dxmlparse.c135 * Windows >=Vista (rand_s): _WIN32. \
831 __declspec(dllimport) int rand_s(unsigned int *);
846 if (rand_s(&random32)) in writeRandomBytes_rand_s()
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmlparse.c135 * Windows >=Vista (rand_s): _WIN32. \
832 __declspec(dllimport) int rand_s(unsigned int *);
847 if (rand_s(&random32)) in writeRandomBytes_rand_s()
/third_party/python/Modules/expat/
Dxmlparse.c135 * Windows >=Vista (rand_s): _WIN32. \
832 __declspec(dllimport) int rand_s(unsigned int *);
847 if (rand_s(&random32)) in writeRandomBytes_rand_s()

12