/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | random.h | 16 #define random_get_bytes(b, l) os_get_random((b), (l)) macro 23 int random_get_bytes(void *buf, size_t len);
|
H A D | random.c | 14 * randomness. The random_get_bytes() function mixes in randomness from 16 * calls to random_get_bytes() without reducing security. 160 int random_get_bytes(void *buf, size_t len) in random_get_bytes() function 413 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0) in random_write_entropy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | random.h | 16 #define random_get_bytes(b, l) os_get_random((b), (l)) macro 23 int random_get_bytes(void *buf, size_t len);
|
H A D | random.c | 14 * randomness. The random_get_bytes() function mixes in randomness from 16 * calls to random_get_bytes() without reducing security. 160 int random_get_bytes(void *buf, size_t len) in random_get_bytes() function 413 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0) in random_write_entropy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_eke_common.c | 361 if (random_get_bytes(iv, AES_BLOCK_SIZE)) in eap_eke_dhcomp() 612 if (random_get_bytes(pos, block_size)) in eap_eke_prot() 622 if (random_get_bytes(pos, pad)) in eap_eke_prot()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
H A D | eap_eke_common.c | 361 if (random_get_bytes(iv, AES_BLOCK_SIZE)) in eap_eke_dhcomp() 612 if (random_get_bytes(pos, block_size)) in eap_eke_prot() 622 if (random_get_bytes(pos, pad)) in eap_eke_prot()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_md5.c | 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) { in eap_md5_buildReq()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
H A D | eap_server_md5.c | 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) { in eap_md5_buildReq()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/ |
H A D | tlsv1_server_write.c | 60 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { in tls_write_server_hello() 69 if (random_get_bytes(conn->session_id, conn->session_id_len)) { in tls_write_server_hello() 416 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) { in tls_write_server_key_exchange()
|
H A D | tlsv1_client_write.c | 79 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) { in tls_send_client_hello() 363 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_dh()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_common.c | 246 if (random_get_bytes((unsigned char *) &val, sizeof(val)) < 0) in wps_generate_pin() 683 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN), in wps_nfc_token_gen() 685 random_get_bytes((u8 *) &val, sizeof(val))) { in wps_nfc_token_gen()
|
H A D | wps_enrollee.c | 41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash() 110 if (random_get_bytes(wps->nonce_e, WPS_NONCE_LEN) < 0) in wps_build_m1() 309 random_get_bytes(psk, sizeof(psk)) < 0) { in wps_build_cred_network_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | mesh_rsn.c | 185 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0) in __mesh_rsn_auth_init() 192 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) in __mesh_rsn_auth_init() 519 if (random_get_bytes(sta->my_nonce, WPA_NONCE_LEN) < 0) { in mesh_rsn_init_ampe_sta()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/ |
H A D | tlsv1_server_write.c | 60 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { in tls_write_server_hello() 69 if (random_get_bytes(conn->session_id, conn->session_id_len)) { in tls_write_server_hello() 416 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) { in tls_write_server_key_exchange()
|
H A D | tlsv1_client_write.c | 67 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) { in tls_send_client_hello() 351 if (random_get_bytes(csecret, csecret_len)) { in tlsv1_key_x_dh()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_common.c | 246 if (random_get_bytes((unsigned char *) &val, sizeof(val)) < 0) in wps_generate_pin() 683 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN), in wps_nfc_token_gen() 685 random_get_bytes((u8 *) &val, sizeof(val))) { in wps_nfc_token_gen()
|
H A D | wps_enrollee.c | 41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0) in wps_build_e_hash() 110 if (random_get_bytes(wps->nonce_e, WPS_NONCE_LEN) < 0) in wps_build_m1() 309 random_get_bytes(psk, sizeof(psk)) < 0) { in wps_build_cred_network_key()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | mesh_rsn.c | 188 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0) in __mesh_rsn_auth_init() 194 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) in __mesh_rsn_auth_init() 531 if (random_get_bytes(sta->my_nonce, WPA_NONCE_LEN) < 0) { in mesh_rsn_init_ampe_sta()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | wpa_auth.c | 332 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) { in wpa_rekey_gmk() 423 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0) in wpa_group_init_gmk_and_counter() 439 if (random_get_bytes(rkey, sizeof(rkey)) < 0) in wpa_group_init_gmk_and_counter() 1477 if (random_get_bytes(pos, gtk_len) < 0) in wpa_gmk_to_gtk() 2077 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) { in SM_STATE() 2095 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) { in wpa_auth_sm_ptk_update() 2819 if (random_get_bytes(stub_gtk, gtk_len) < 0) { in fils_prepare_plainbuf() 3298 if (random_get_bytes(igtk.igtk, len) < 0) in ieee80211w_kde_add() 3321 if (random_get_bytes(bigtk.bigtk, len) < 0) in ieee80211w_kde_add() 3492 if (random_get_bytes(stub_gt in SM_STATE() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | eap_mschapv2.c | 195 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) { in eap_mschapv2_challenge_reply() 581 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN)) in eap_mschapv2_change_password()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | eap_mschapv2.c | 195 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) { in eap_mschapv2_challenge_reply() 581 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN)) in eap_mschapv2_change_password()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | wpa_auth.c | 274 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) { in wpa_rekey_gmk() 365 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0) in wpa_group_init_gmk_and_counter() 381 if (random_get_bytes(rkey, sizeof(rkey)) < 0) in wpa_group_init_gmk_and_counter() 1398 if (random_get_bytes(pos, gtk_len) < 0) in wpa_gmk_to_gtk() 1973 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) { in SM_STATE() 1991 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) { in wpa_auth_sm_ptk_update() 2696 if (random_get_bytes(dummy_gtk, gtk_len) < 0) { in fils_prepare_plainbuf() 3095 if (random_get_bytes(igtk.igtk, len) < 0) in ieee80211w_kde_add() 3204 if (random_get_bytes(dummy_gtk, gtk_len) < 0) in SM_STATE() 3583 if (random_get_bytes(dummy_gt in SM_STATE() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/rsn_supp/ |
H A D | wpa_ft.c | 437 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { in wpa_ft_prepare_auth_request() 1064 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { in wpa_ft_start_over_ds()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | hlr_auc_gw.c | 619 if (random_get_bytes(_rand, 16) < 0) in sim_req_auth() 750 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0) in aka_req_auth()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | hlr_auc_gw.c | 619 if (random_get_bytes(_rand, 16) < 0) in sim_req_auth() 750 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0) in aka_req_auth()
|