HomeSort by: relevance | last modified time | path
    Searched refs:random_get_bytes (Results 1 - 25 of 55) sorted by relevancy

1 2 3

  /src/external/bsd/libuuid_ul/lib/libuuid_ul/
randutils.h 32 /* shim function for util-linux random_get_bytes() */
37 random_get_bytes(void *buf, size_t nbytes) function
  /src/external/bsd/wpa/dist/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.
159 int random_get_bytes(void *buf, size_t len) function
401 if (random_get_bytes(buf, RANDOM_ENTROPY_SIZE) < 0)
  /src/external/cddl/osnet/sys/sys/
random.h 36 #define random_get_bytes(p, s) cprng_fast((p), (s)) macro
  /src/external/bsd/wpa/dist/src/ap/
comeback_token.c 89 if (random_get_bytes(comeback_key, COMEBACK_KEY_SIZE) < 0)
wpa_auth.c 477 if (random_get_bytes(wpa_auth->group->GMK, WPA_GMK_LEN)) {
649 if (random_get_bytes(group->GMK, WPA_GMK_LEN) < 0)
665 if (random_get_bytes(rkey, sizeof(rkey)) < 0)
1920 if (random_get_bytes(pos, gtk_len) < 0)
2560 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) {
2578 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) {
3411 if (random_get_bytes(stub_gtk, gtk_len) < 0) {
4061 if (random_get_bytes(igtk.igtk, len) < 0)
4092 if (random_get_bytes(bigtk.bigtk, len) < 0)
4656 if (random_get_bytes(stub_gtk, gtk_len) < 0
    [all...]
wpa_auth_ft.c 999 if (random_get_bytes(item->nonce, FT_RRB_NONCE_LEN) < 0) {
1178 if (random_get_bytes((u8 *) &rkh_seq->tx.seq,
1184 if (random_get_bytes((u8 *) &rkh_seq->tx.dom,
2049 random_get_bytes(sm->ft_pending_pull_nonce, FT_RRB_NONCE_LEN) < 0) {
2256 if (random_get_bytes(keybuf, key_len) < 0)
2268 if (random_get_bytes(keybuf, key_len) < 0)
2347 if (random_get_bytes(stub_igtk, igtk_len / 8) < 0) {
2408 if (random_get_bytes(stub_bigtk, bigtk_len / 8) < 0) {
3317 if (random_get_bytes(sm->ANonce, WPA_NONCE_LEN)) {
  /src/external/bsd/wpa/dist/src/eap_server/
eap_server_md5.c 50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
ikev2.c 1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len))
1145 if (random_get_bytes(data->shared_secret, 16))
eap_server_gpsk.c 112 if (random_get_bytes(data->rand_server, EAP_GPSK_RAND_LEN)) {
  /src/external/bsd/wpa/dist/src/eap_common/
eap_eke_common.c 361 if (random_get_bytes(iv, AES_BLOCK_SIZE))
612 if (random_get_bytes(pos, block_size))
622 if (random_get_bytes(pos, pad))
ikev2_common.c 575 if (random_get_bytes(iv, iv_len)) {
  /src/external/bsd/wpa/dist/src/eap_peer/
eap_mschapv2.c 201 } else if (random_get_bytes(peer_challenge, MSCHAPV2_CHAL_LEN)) {
587 if (random_get_bytes(cp->peer_challenge, MSCHAPV2_CHAL_LEN))
eap_leap.c 169 if (random_get_bytes(pos, LEAP_CHALLENGE_LEN)) {
eap_sake.c 219 if (random_get_bytes(data->rand_p, EAP_SAKE_RAND_LEN)) {
eap_pax.c 172 if (random_get_bytes(data->rand.r.y, EAP_PAX_RAND_LEN)) {
eap_psk.c 129 if (random_get_bytes(data->rand_p, EAP_PSK_RAND_LEN)) {
  /src/external/bsd/wpa/dist/src/tls/
tlsv1_server_write.c 60 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) {
69 if (random_get_bytes(conn->session_id, conn->session_id_len)) {
416 if (random_get_bytes(conn->dh_secret, conn->dh_secret_len)) {
tlsv1_client_write.c 67 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) {
351 if (random_get_bytes(csecret, csecret_len)) {
  /src/external/bsd/wpa/dist/src/wps/
wps_common.c 246 if (random_get_bytes((unsigned char *) &val, sizeof(val)) < 0)
683 if (random_get_bytes(wpabuf_put(pw, WPS_OOB_DEVICE_PASSWORD_LEN),
685 random_get_bytes((u8 *) &val, sizeof(val))) {
wps_enrollee.c 41 if (random_get_bytes(wps->snonce, 2 * WPS_SECRET_NONCE_LEN) < 0)
110 if (random_get_bytes(wps->nonce_e, WPS_NONCE_LEN) < 0)
309 random_get_bytes(psk, sizeof(psk)) < 0) {
wps_attr_build.c 410 if (random_get_bytes(iv, block_size) < 0)
  /src/external/bsd/wpa/dist/wpa_supplicant/
mesh_rsn.c 202 if (random_get_bytes(rsn->mgtk, rsn->mgtk_len) < 0)
208 if (random_get_bytes(rsn->igtk, rsn->igtk_len) < 0)
537 if (random_get_bytes(sta->my_nonce, WPA_NONCE_LEN) < 0) {
  /src/external/bsd/wpa/dist/src/common/
dpp_auth.c 444 if (random_get_bytes(auth->r_nonce, nonce_len)) {
452 if (random_get_bytes(auth->r_nonce, nonce_len)) {
1203 if (random_get_bytes(auth->i_nonce, nonce_len)) {
1211 if (random_get_bytes(auth->i_nonce, nonce_len)) {
  /src/external/bsd/wpa/dist/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 46 milliseconds

1 2 3