/external/wpa_supplicant_8/src/crypto/ |
random.h | 22 #define random_get_bytes(b, l) os_get_random((b), (l)) macro 29 int random_get_bytes(void *buf, size_t len);
|
random.c | 20 * randomness. The random_get_bytes() function mixes in randomness from 22 * calls to random_get_bytes() without reducing security. 159 int random_get_bytes(void *buf, size_t len) function 361 random_get_bytes(buf, RANDOM_ENTROPY_SIZE);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_md5.c | 56 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
|
eap_server_mschapv2.c | 113 random_get_bytes(data->auth_challenge, CHALLENGE_LEN)) {
|
ikev2.c | 1104 if (random_get_bytes(data->i_nonce, data->i_nonce_len)) 1152 if (random_get_bytes(data->shared_secret, 16))
|
eap_server_gpsk.c | 124 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) {
|
eap_server_pax.c | 86 if (random_get_bytes(data->rand.r.x, EAP_PAX_RAND_LEN)) {
|
eap_server_psk.c | 70 if (random_get_bytes(data->rand_s, EAP_PSK_RAND_LEN)) {
|
eap_server_sake.c | 170 if (random_get_bytes(data->rand_s, EAP_SAKE_RAND_LEN)) {
|
/external/wpa_supplicant_8/src/tls/ |
tlsv1_server_write.c | 62 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) { 71 if (random_get_bytes(conn->session_id, conn->session_id_len)) { 291 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) {
|
tlsv1_client_write.c | 61 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) { 226 if (random_get_bytes(csecret, csecret_len)) {
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_build.c | 336 if (random_get_bytes(iv, block_size) < 0) 369 if (random_get_bytes(dev_password_bin, WPS_OOB_DEVICE_PASSWORD_LEN) <
|
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 422 if (random_get_bytes(_rand, 16) < 0) 485 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0)
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_mschapv2.c | 203 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) { 568 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
|
eap_leap.c | 171 if (random_get_bytes(pos, LEAP_CHALLENGE_LEN)) {
|
eap_psk.c | 134 if (random_get_bytes(data->rand_p, EAP_PSK_RAND_LEN)) {
|
eap_sake.c | 227 if (random_get_bytes(data->rand_p, EAP_SAKE_RAND_LEN)) {
|
eap_sim.c | 97 if (random_get_bytes(data->nonce_mt, EAP_SIM_NONCE_MT_LEN)) { 999 if (random_get_bytes(data->nonce_mt, EAP_SIM_NONCE_MT_LEN)) {
|
eap_gpsk.c | 330 if (random_get_bytes(data->rand_peer, EAP_GPSK_RAND_LEN)) {
|
eap_pax.c | 178 if (random_get_bytes(data->rand.r.y, EAP_PAX_RAND_LEN)) {
|
/external/wpa_supplicant_8/src/ap/ |
peerkey_auth.c | 298 if (random_get_bytes(smk, PMK_LEN)) {
|
ieee802_1x.c | 178 if (random_get_bytes(key->key_iv, sizeof(key->key_iv))) { 253 random_get_bytes(key->key[key->idx], key->default_len)) { 370 random_get_bytes(ikey, hapd->conf->individual_wep_key_len)) [all...] |
wpa_auth.c | 221 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) { 310 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0) 321 if (random_get_bytes(rkey, sizeof(rkey)) < 0) 1087 if (random_get_bytes(pos, 16) < 0) [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
peerkey.c | 258 if (random_get_bytes(peerkey->pnonce, WPA_NONCE_LEN)) { 374 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) { 701 if (random_get_bytes(peerkey->pnonce, WPA_NONCE_LEN)) { 1101 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) { [all...] |
wpa_ft.c | 544 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) { 1022 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
|