Searched refs:random_get_bytes (Results 1 – 11 of 11) sorted by relevance
| /netbsd-src/external/bsd/wpa/dist/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);
|
| /netbsd-src/external/bsd/libuuid_ul/lib/libuuid_ul/ |
| H A D | randutils.h | 37 random_get_bytes(void *buf, size_t nbytes) in random_get_bytes() function
|
| /netbsd-src/external/cddl/osnet/sys/sys/ |
| H A D | random.h | 36 #define random_get_bytes(p, s) cprng_fast((p), (s)) macro
|
| /netbsd-src/external/bsd/wpa/dist/src/eap_common/ |
| H A D | eap_eke_common.c | 361 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 D | ikev2_common.c | 575 if (random_get_bytes(iv, iv_len)) { in ikev2_build_encrypted()
|
| /netbsd-src/external/bsd/wpa/dist/src/wps/ |
| H A D | wps_common.c | 246 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 D | hlr_auc_gw.c | 619 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 D | ikev2.c | 1097 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 D | eap_sim_db.c | 1018 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 D | zfs_context.h | 591 extern int random_get_bytes(uint8_t *ptr, size_t len);
|
| /netbsd-src/external/cddl/osnet/dist/lib/libzpool/common/ |
| H A D | kernel.c | 925 random_get_bytes(uint8_t *ptr, size_t len) in random_get_bytes() function
|