Home
last modified time | relevance | path

Searched refs:random_get_bytes (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/external/bsd/wpa/dist/src/crypto/
H A Drandom.h16 #define random_get_bytes(b, l) os_get_random((b), (l)) macro
23 int random_get_bytes(void *buf, size_t len);
/netbsd-src/external/bsd/libuuid_ul/lib/libuuid_ul/
H A Drandutils.h37 random_get_bytes(void *buf, size_t nbytes) in random_get_bytes() function
/netbsd-src/external/cddl/osnet/sys/sys/
H A Drandom.h36 #define random_get_bytes(p, s) cprng_fast((p), (s)) macro
/netbsd-src/external/bsd/wpa/dist/src/eap_common/
H A Deap_eke_common.c361 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()
H A Dikev2_common.c575 if (random_get_bytes(iv, iv_len)) { in ikev2_build_encrypted()
/netbsd-src/external/bsd/wpa/dist/src/wps/
H A Dwps_common.c246 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()
/netbsd-src/external/bsd/wpa/dist/hostapd/
H A Dhlr_auc_gw.c619 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()
/netbsd-src/external/bsd/wpa/dist/src/eap_server/
H A Dikev2.c1097 if (random_get_bytes(data->i_nonce, data->i_nonce_len)) in ikev2_build_sa_init()
1145 if (random_get_bytes(data->shared_secret, 16)) in ikev2_build_sa_auth()
H A Deap_sim_db.c1018 if (random_get_bytes(buf, sizeof(buf))) in eap_sim_db_get_next()
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/sys/
H A Dzfs_context.h591 extern int random_get_bytes(uint8_t *ptr, size_t len);
/netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/
H A Dkernel.c925 random_get_bytes(uint8_t *ptr, size_t len) in random_get_bytes() function