Home
last modified time | relevance | path

Searched refs:os_get_random (Results 1 - 25 of 95) sorted by relevance

1234

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l))
H A Dcrypto_internal-modexp.c21 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
H A 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()
H A Drandom.c9 * one provided by the operating system (os_get_random()) for session key
10 * generation. The os_get_random() output is expected to be secure and the
12 * cases where os_get_random() cannot provide strong randomness. This
15 * os_get_random() and as such, calls to os_get_random() can be replaced with
21 * extra code/memory size. As pointed out above, os_get_random() needs to be
176 ret = os_get_random(buf, len); in random_get_bytes()
177 wpa_hexdump_key(MSG_EXCESSIVE, "random from os_get_random", in random_get_bytes()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l))
H A Dcrypto_internal-modexp.c21 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
H A 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()
H A Drandom.c9 * one provided by the operating system (os_get_random()) for session key
10 * generation. The os_get_random() output is expected to be secure and the
12 * cases where os_get_random() cannot provide strong randomness. This
15 * os_get_random() and as such, calls to os_get_random() can be replaced with
21 * extra code/memory size. As pointed out above, os_get_random() needs to be
176 ret = os_get_random(buf, len); in random_get_bytes()
177 wpa_hexdump_key(MSG_EXCESSIVE, "random from os_get_random", in random_get_bytes()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Duuid.c81 * os_get_random() output in the UUID field. */ in uuid_random()
83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random()
H A Dos_none.c58 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
H A Dos_win32.c132 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
H A 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()
H A Dos.h161 * os_get_random - Get cryptographically strong pseudo random data
166 int os_get_random(unsigned char *buf, size_t len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Duuid.c81 * os_get_random() output in the UUID field. */ in uuid_random()
83 if (os_get_random(uuid, UUID_LEN) < 0 || in uuid_random()
H A Dos_none.c58 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
H A Dos_win32.c132 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
H A 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_standard/hostapd/
H A Dsae_pk_gen.c102 if (os_get_random(m, SAE_PK_M_LEN) < 0) { in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
H A 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/
H A Dp2p_utils.c36 if (os_get_random((unsigned char *) buf, len)) in p2p_random()
395 if (os_get_random((u8 *) &r, sizeof(r)) < 0) in p2p_channel_pick_random()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
H A Dpkcs1.c58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
H A Dtlsv1_record.c187 if (os_get_random(pos, rl->iv_size)) in tlsv1_record_send()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
H A Dpkcs1.c58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A 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/wpa_supplicant/
H A Dctrl_iface_udp.c414 os_get_random(priv->cookie, COOKIE_LEN);
780 os_get_random(priv->cookie, COOKIE_LEN);

Completed in 17 milliseconds

1234