Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/crypto/
Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l))
Drandom.c164 ret = os_get_random(buf, len); in random_get_bytes()
Dms_funcs.c447 if (os_get_random(pw_block, offset) < 0) in encrypt_pw_block_with_password_hash()
Dcrypto_libtomcrypt.c526 if (os_get_random(pos, ps_len) < 0) { in pkcs1_generate_encryption_block()
/external/wpa_supplicant_8/src/utils/
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.c957 if (os_get_random(addr, ETH_ALEN) < 0) in random_mac_addr()
967 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.c224 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c32 if (os_get_random((unsigned char *) buf, len)) in p2p_random()
424 if (os_get_random((u8 *) &r, sizeof(r)) < 0) in p2p_channel_pick_random()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c354 os_get_random(priv->cookie, COOKIE_LEN);
632 os_get_random(priv->cookie, COOKIE_LEN);
Dandroid.config392 # from the operating system. os_get_random() function is used to fetch random
414 # If the os_get_random() is known to provide strong random data (e.g., on
Ddefconfig408 # from the operating system. os_get_random() function is used to fetch random
430 # If the os_get_random() is known to provide strong random data (e.g., on
/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.c43 if (os_get_random(pre_master_secret + 2, in tls_derive_pre_master_secret()
/external/wpa_supplicant_8/hostapd/
Ddefconfig213 # operating system. os_get_random() function is used to fetch random data when
235 # If the os_get_random() is known to provide strong random data (e.g., on
/external/wpa_supplicant_8/src/ap/
Daccounting.c466 if (os_get_random((u8 *) &hapd->acct_session_id_hi, in accounting_init()
Ddfs.c452 if (os_get_random((u8 *) &_rand, sizeof(_rand)) < 0) in dfs_get_valid_channel()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c732 if (os_get_random(participant->mi, sizeof(participant->mi)) < 0) in ieee802_1x_mka_decode_basic_body()
1007 if (os_get_random(participant->mi, in ieee802_1x_mka_decode_live_peer_body()
1060 if (os_get_random(participant->mi, in ieee802_1x_mka_decode_potential_peer_body()
2006 if (os_get_random(context + ctx_offset, conf->key_len) < 0) { in ieee802_1x_kay_generate_new_sak()
3338 if (os_get_random(participant->mi, sizeof(participant->mi)) < 0) in ieee802_1x_kay_create_mka()
/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.c320 if (os_get_random((void *) &r, sizeof(r)) < 0) in advertisement_state_machine_handler()
Dwps_upnp.c256 if (os_get_random(uuid, UUID_LEN) < 0) in uuid_make()
/external/wpa_supplicant_8/hs20/client/
Dest.c404 os_get_random((u8 *) &val, sizeof(val)); in generate_csr()

12