Home
last modified time | relevance | path

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

123

/hostap-3.6.0/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.c169 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()
/hostap-3.6.0/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_zephyr.c146 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()
Dos.h169 int os_get_random(unsigned char *buf, size_t len);
Dcommon.c1014 if (os_get_random(addr, ETH_ALEN) < 0) in random_mac_addr()
1024 if (os_get_random(addr + 3, 3) < 0) in random_mac_addr_keep_oui()
Dos_internal.c130 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
/hostap-3.6.0/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()
/hostap-3.6.0/hostapd/
Dsae_pk_gen.c102 if (os_get_random(m, SAE_PK_M_LEN) < 0) { in main()
Ddefconfig223 # operating system. os_get_random() function is used to fetch random data when
245 # If the os_get_random() is known to provide strong random data (e.g., on
/hostap-3.6.0/wpa_supplicant/
Dctrl_iface_udp.c414 os_get_random(priv->cookie, COOKIE_LEN);
759 os_get_random(priv->cookie, COOKIE_LEN);
/hostap-3.6.0/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()
/hostap-3.6.0/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()
/hostap-3.6.0/src/common/
Ddpp_backup.c275 if (!salt || os_get_random(wpabuf_put(salt, 64), 64) < 0) in dpp_build_pw_recipient_info()
441 if (!key || os_get_random(wpabuf_put(key, len), len) < 0) { in dpp_gen_random()
/hostap-3.6.0/src/eap_server/
Deap_server_sake.c70 if (os_get_random(&data->session_id, 1)) { in eap_sake_init()
/hostap-3.6.0/src/wps/
Dwps_upnp_ssdp.c310 if (os_get_random((void *) &r, sizeof(r)) < 0) in advertisement_state_machine_handler()

123