HomeSort by relevance Sort by last modified time
    Searched refs:random_get_bytes (Results 1 - 25 of 45) sorted by null

1 2

  /external/wpa_supplicant_8/src/crypto/
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);
random.c 14 * randomness. The random_get_bytes() function mixes in randomness from
16 * calls to random_get_bytes() without reducing security.
154 int random_get_bytes(void *buf, size_t len) function
375 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
  /external/wpa_supplicant_8/src/eap_common/
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))
ikev2_common.c 575 if (random_get_bytes(iv, iv_len)) {
  /external/wpa_supplicant_8/src/eap_server/
eap_server_md5.c 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
ikev2.c 1098 if (random_get_bytes(data->i_nonce, data->i_nonce_len))
1146 if (random_get_bytes(data->shared_secret, 16))
eap_server_gpsk.c 112 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) {
eap_server_mschapv2.c 106 random_get_bytes(data->auth_challenge, CHALLENGE_LEN)) {
  /external/wpa_supplicant_8/src/eap_peer/
eap_mschapv2.c 197 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) {
583 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
eap_leap.c 165 if (random_get_bytes(pos, LEAP_CHALLENGE_LEN)) {
eap_pax.c 173 if (random_get_bytes(data->rand.r.y, EAP_PAX_RAND_LEN)) {
eap_psk.c 130 if (random_get_bytes(data->rand_p, EAP_PSK_RAND_LEN)) {
eap_sake.c 220 if (random_get_bytes(data->rand_p, EAP_SAKE_RAND_LEN)) {
  /external/wpa_supplicant_8/src/ap/
peerkey_auth.c 279 if (random_get_bytes(smk, PMK_LEN)) {
wpa_auth.c 258 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) {
336 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0)
348 if (random_get_bytes(rkey, sizeof(rkey)) < 0)
    [all...]
  /external/wpa_supplicant_8/src/common/
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)
    [all...]
  /external/wpa_supplicant_8/src/rsn_supp/
peerkey.c 247 if (random_get_bytes(peerkey->pnonce, WPA_NONCE_LEN)) {
361 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) {
682 if (random_get_bytes(peerkey->pnonce, WPA_NONCE_LEN)) {
1073 if (random_get_bytes(peerkey->inonce, WPA_NONCE_LEN)) {
    [all...]
wpa_ft.c 353 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
838 if (random_get_bytes(sm->snonce, WPA_NONCE_LEN)) {
  /external/wpa_supplicant_8/src/tls/
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)) {
tlsv1_client_write.c 76 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) {
360 if (random_get_bytes(csecret, csecret_len)) {
  /external/wpa_supplicant_8/src/wps/
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))) {
wps_enrollee.c 41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
109 if (random_get_bytes(wps->nonce_e, WPS_NONCE_LEN) < 0)
305 random_get_bytes(psk, sizeof(psk)) < 0) {
    [all...]
wps_attr_build.c 391 if (random_get_bytes(iv, block_size) < 0)
  /external/wpa_supplicant_8/wpa_supplicant/
mesh_rsn.c 177 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0)
184 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0)
500 if (random_get_bytes(sta->my_nonce, WPA_NONCE_LEN) < 0) {
  /external/wpa_supplicant_8/hostapd/
hlr_auc_gw.c 619 if (random_get_bytes(_rand, 16) < 0)
750 if (random_get_bytes(_rand, EAP_AKA_RAND_LEN) < 0)

Completed in 368 milliseconds

1 2