Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/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.c175 ret = os_get_random(buf, len); in random_get_bytes()
Dcrypto_nettle.c312 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
Dcrypto_gnutls.c291 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
/external/wpa_supplicant_8/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.c980 if (os_get_random(addr, ETH_ALEN) < 0) in random_mac_addr()
990 if (os_get_random(addr + 3, 3) < 0) in random_mac_addr_keep_oui()
Dos.h165 int os_get_random(unsigned char *buf, size_t len);
Dos_internal.c124 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos_unix.c253 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
/external/wpa_supplicant_8/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()
/external/wpa_supplicant_8/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()
Dtlsv1_client.c44 if (os_get_random(pre_master_secret + 2, in tls_derive_pre_master_secret()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c397 os_get_random(priv->cookie, COOKIE_LEN);
712 os_get_random(priv->cookie, COOKIE_LEN);
Dandroid.config406 # from the operating system. os_get_random() function is used to fetch random
428 # If the os_get_random() is known to provide strong random data (e.g., on
/external/wpa_supplicant_8/src/radius/
Dradius.c912 return os_get_random((u8 *) &msg->hdr->authenticator, in radius_msg_make_authenticator()
1214 if (os_get_random((u8 *) &salt, sizeof(salt)) < 0) { in radius_msg_add_mppe_keys()
1729 return os_get_random(id, len); in radius_gen_session_id()
/external/wpa_supplicant_8/hostapd/
Ddefconfig225 # operating system. os_get_random() function is used to fetch random data when
247 # If the os_get_random() is known to provide strong random data (e.g., on
/external/wpa_supplicant_8/src/eap_server/
Deap_server_sake.c70 if (os_get_random(&data->session_id, 1)) { in eap_sake_init()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c310 if (os_get_random((void *) &r, sizeof(r)) < 0) in advertisement_state_machine_handler()
/external/wpa_supplicant_8/hs20/client/
Dest.c461 os_get_random((u8 *) &val, sizeof(val)); in generate_csr()

12