Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/wpa/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 Dms_funcs.c447 if (os_get_random(pw_block, offset) < 0) in encrypt_pw_block_with_password_hash()
H A Drandom.c169 ret = os_get_random(buf, len); in random_get_bytes()
H A Dcrypto_nettle.c312 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
H A Dcrypto_gnutls.c291 if (os_get_random(privkey, prime_len) < 0) in crypto_dh_init()
/freebsd-12.1/contrib/wpa/src/utils/
H A Duuid.c83 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.h165 int os_get_random(unsigned char *buf, size_t len);
H A Dos_internal.c124 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
H A Dos_unix.c278 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
/freebsd-12.1/contrib/wpa/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()
/freebsd-12.1/contrib/wpa/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()
H A Dtlsv1_client.c44 if (os_get_random(pre_master_secret + 2, in tls_derive_pre_master_secret()
/freebsd-12.1/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_udp.c397 os_get_random(priv->cookie, COOKIE_LEN);
712 os_get_random(priv->cookie, COOKIE_LEN);
H A Dandroid.config409 # from the operating system. os_get_random() function is used to fetch random
431 # If the os_get_random() is known to provide strong random data (e.g., on
/freebsd-12.1/contrib/wpa/src/radius/
H A 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()
/freebsd-12.1/contrib/wpa/hostapd/
H A Ddefconfig232 # operating system. os_get_random() function is used to fetch random data when
254 # If the os_get_random() is known to provide strong random data (e.g., on
/freebsd-12.1/contrib/wpa/src/eap_server/
H A Deap_server_sake.c70 if (os_get_random(&data->session_id, 1)) { in eap_sake_init()
/freebsd-12.1/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c310 if (os_get_random((void *) &r, sizeof(r)) < 0) in advertisement_state_machine_handler()
/freebsd-12.1/contrib/wpa/hs20/client/
H A Dest.c461 os_get_random((u8 *) &val, sizeof(val)); in generate_csr()

12