/external/wpa_supplicant_8/hostapd/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. 157 int random_get_bytes(void *buf, size_t len) function 378 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
|
/external/wpa_supplicant_8/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. 157 int random_get_bytes(void *buf, size_t len) function 378 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
|
/external/wpa_supplicant_8/wpa_supplicant/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. 157 int random_get_bytes(void *buf, size_t len) function 378 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | eap_eke_common.c | 173 if (random_get_bytes(ret_priv, dh->prime_len)) 384 if (random_get_bytes(iv, AES_BLOCK_SIZE)) 634 if (random_get_bytes(pos, block_size)) 644 if (random_get_bytes(pos, pad))
|
/external/wpa_supplicant_8/hostapd/src/eap_server/ |
H A D | eap_server_md5.c | 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | eap_eke_common.c | 173 if (random_get_bytes(ret_priv, dh->prime_len)) 384 if (random_get_bytes(iv, AES_BLOCK_SIZE)) 634 if (random_get_bytes(pos, block_size)) 644 if (random_get_bytes(pos, pad))
|
/external/wpa_supplicant_8/src/eap_server/ |
H A D | eap_server_md5.c | 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | eap_eke_common.c | 173 if (random_get_bytes(ret_priv, dh->prime_len)) 384 if (random_get_bytes(iv, AES_BLOCK_SIZE)) 634 if (random_get_bytes(pos, block_size)) 644 if (random_get_bytes(pos, pad))
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/ |
H A D | eap_server_md5.c | 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
|
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_mschapv2.c | 195 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) { 581 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
|
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_mschapv2.c | 195 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) { 581 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_mschapv2.c | 195 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) { 581 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
|
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | sae.c | 127 if (iter++ > 100 || random_get_bytes(val, order_len) < 0) 180 if (random_get_bytes(tmp, prime_len) < 0) 395 if (random_get_bytes(tmp, prime_len) < 0) 438 if (random_get_bytes(dummy_password, dummy_password_len) < 0)
|
/external/wpa_supplicant_8/src/common/ |
H A D | sae.c | 127 if (iter++ > 100 || random_get_bytes(val, order_len) < 0) 180 if (random_get_bytes(tmp, prime_len) < 0) 395 if (random_get_bytes(tmp, prime_len) < 0) 438 if (random_get_bytes(dummy_password, dummy_password_len) < 0)
|
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | sae.c | 127 if (iter++ > 100 || random_get_bytes(val, order_len) < 0) 180 if (random_get_bytes(tmp, prime_len) < 0) 395 if (random_get_bytes(tmp, prime_len) < 0) 438 if (random_get_bytes(dummy_password, dummy_password_len) < 0)
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | tlsv1_server_write.c | 57 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { 66 if (random_get_bytes(conn->session_id, conn->session_id_len)) { 413 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) {
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_common.c | 246 if (random_get_bytes((unsigned char *) &val, sizeof(val)) < 0) 682 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN), 684 random_get_bytes((u8 *) &val, sizeof(val))) {
|
/external/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_server_write.c | 57 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { 66 if (random_get_bytes(conn->session_id, conn->session_id_len)) { 413 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) {
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_common.c | 246 if (random_get_bytes((unsigned char *) &val, sizeof(val)) < 0) 682 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN), 684 random_get_bytes((u8 *) &val, sizeof(val))) {
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | mesh_rsn.c | 180 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0) 187 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0) 508 if (random_get_bytes(sta->my_nonce, WPA_NONCE_LEN) < 0) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | tlsv1_server_write.c | 57 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { 66 if (random_get_bytes(conn->session_id, conn->session_id_len)) { 413 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) {
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_common.c | 246 if (random_get_bytes((unsigned char *) &val, sizeof(val)) < 0) 682 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN), 684 random_get_bytes((u8 *) &val, sizeof(val))) {
|