/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | random.h | 16 #define random_get_bytes(b, l) os_get_random((b), (l))
|
H A D | crypto_internal-modexp.c | 21 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
|
H A D | crypto_libtomcrypt.c | 530 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 D | random.c | 9 * 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 D | random.h | 16 #define random_get_bytes(b, l) os_get_random((b), (l))
|
H A D | crypto_internal-modexp.c | 21 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
|
H A D | crypto_libtomcrypt.c | 530 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 D | random.c | 9 * 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 D | uuid.c | 81 * 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 D | os_none.c | 58 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
|
H A D | os_win32.c | 132 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
|
H A D | common.c | 990 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 D | os.h | 161 * 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 D | uuid.c | 81 * 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 D | os_none.c | 58 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
|
H A D | os_win32.c | 132 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
|
H A D | os_unix.c | 257 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 D | sae_pk_gen.c | 102 if (os_get_random(m, SAE_PK_M_LEN) < 0) { in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_utils.c | 33 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 D | p2p_utils.c | 36 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 D | pkcs1.c | 58 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
|
H A D | tlsv1_record.c | 187 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 D | pkcs1.c | 58 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 D | ctrl_iface_udp.c | 398 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 D | ctrl_iface_udp.c | 414 os_get_random(priv->cookie, COOKIE_LEN); 780 os_get_random(priv->cookie, COOKIE_LEN);
|