Home
last modified time | relevance | path

Searched refs:os_get_random (Results 1 – 25 of 105) sorted by relevance

12345

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l))
Dcrypto_internal-modexp.c21 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
Dcrypto_libtomcrypt.c530 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
705 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
Dms_funcs.c447 if (os_get_random(pw_block, offset) < 0) in encrypt_pw_block_with_password_hash()
Drandom.c176 ret = os_get_random(buf, len); in random_get_bytes()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l))
Dcrypto_internal-modexp.c21 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
Dcrypto_libtomcrypt.c530 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
705 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
Dms_funcs.c447 if (os_get_random(pw_block, offset) < 0) in encrypt_pw_block_with_password_hash()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Duuid.c83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random()
Dos_none.c58 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos_win32.c132 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dcommon.c990 if (os_get_random(addr, ETH_ALEN) < 0) in random_mac_addr()
1000 if (os_get_random(addr + 3, 3) < 0) in random_mac_addr_keep_oui()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Duuid.c83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random()
Dos_none.c58 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos_win32.c132 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos_unix.c257 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
370 if (os_get_random((unsigned char *) &seed, sizeof(seed)) == 0) in os_program_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_utils.c33 if (os_get_random((unsigned char *) buf, len)) in p2p_random()
377 if (os_get_random((u8 *) &r, sizeof(r)) < 0) in p2p_channel_pick_random()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_utils.c33 if (os_get_random((unsigned char *) buf, len)) in p2p_random()
377 if (os_get_random((u8 *) &r, sizeof(r)) < 0) in p2p_channel_pick_random()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dsae_pk_gen.c102 if (os_get_random(m, SAE_PK_M_LEN) < 0) { in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dctrl_iface_udp.c398 os_get_random(priv->cookie, COOKIE_LEN);
734 os_get_random(priv->cookie, COOKIE_LEN);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dpkcs1.c58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
Dtlsv1_record.c187 if (os_get_random(pos, rl->iv_size)) in tlsv1_record_send()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dpkcs1.c58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface_udp.c414 os_get_random(priv->cookie, COOKIE_LEN);
780 os_get_random(priv->cookie, COOKIE_LEN);

12345