Home
last modified time | relevance | path

Searched refs:os_get_random (Results 1 – 25 of 34) 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.c52 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos_win32.c120 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos.h97 int os_get_random(unsigned char *buf, size_t len);
Dos_internal.c111 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
Dos_unix.c186 int os_get_random(unsigned char *buf, size_t len) in os_get_random() function
/external/wpa_supplicant_8/src/tls/
Dpkcs1.c56 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()
Dtlsv1_server_read.c558 if (os_get_random(out, outlen)) { in tls_process_client_key_exchange_rsa()
/external/wpa_supplicant_8/src/p2p/
Dp2p_utils.c31 if (os_get_random((unsigned char *) buf, len)) in p2p_random()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c280 os_get_random(priv->cookie, COOKIE_LEN); in wpa_supplicant_ctrl_iface_init()
532 os_get_random(priv->cookie, COOKIE_LEN); in wpa_supplicant_global_ctrl_iface_init()
Dandroid.config456 # from the operating system. os_get_random() function is used to fetch random
478 # If the os_get_random() is known to provide strong random data (e.g., on
Ddefconfig452 # from the operating system. os_get_random() function is used to fetch random
474 # If the os_get_random() is known to provide strong random data (e.g., on
Dp2p_supplicant.c3074 os_get_random((u8 *) &r, sizeof(r)); in wpas_p2p_init()
3093 os_get_random((u8 *) &r, sizeof(r)); in wpas_p2p_init()
4277 os_get_random((u8 *) &r, sizeof(r)); in wpas_p2p_group_add()
4294 os_get_random((u8 *) &r, sizeof(r)); in wpas_p2p_group_add()
5309 os_get_random((u8 *) &r, sizeof(r)); in wpas_p2p_update_config()
5332 os_get_random((u8 *) &r, sizeof(r)); in wpas_p2p_update_config()
/external/wpa_supplicant_8/hostapd/
Ddefconfig198 # operating system. os_get_random() function is used to fetch random data when
220 # 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.c72 if (os_get_random(&data->session_id, 1)) { in eap_sake_init()
Dikev2.c1092 if (os_get_random(data->i_spi, IKEV2_SPI_LEN)) in ikev2_build_sa_init()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c315 os_get_random((void *) &r, sizeof(r)); in advertisement_state_machine_handler()
Dwps_upnp.c254 os_get_random(uuid, UUID_LEN); in uuid_make()
/external/wpa_supplicant_8/src/ap/
Dsta_info.c822 os_get_random(trans_id, WLAN_SA_QUERY_TR_ID_LEN); in ap_sa_query_timer()
/external/wpa_supplicant_8/src/rsn_supp/
Dtdls.c1026 if (os_get_random(peer->inonce, WPA_NONCE_LEN)) { in wpa_tdls_send_tpk_m1()
1678 if (os_get_random(peer->rnonce, WPA_NONCE_LEN)) { in wpa_tdls_process_tpk_m1()

12