| /openbsd/src/sys/dev/pci/drm/include/linux/ |
| D | random.h | 31 arc4random_buf(&r, sizeof(r)); in get_random_u64() 54 arc4random_buf(buf, nbytes); in get_random_bytes()
|
| D | uuid.h | 48 arc4random_buf(&a->guid, sizeof(a->guid)); in guid_gen()
|
| /openbsd/src/lib/libcrypto/rand/ |
| D | rand_lib.c | 90 arc4random_buf(buf, num); in RAND_bytes() 99 arc4random_buf(buf, num); in RAND_pseudo_bytes()
|
| /openbsd/src/regress/lib/libc/timingsafe/ |
| D | timingsafe.c | 57 arc4random_buf(bufone, N); in main() 58 arc4random_buf(buftwo, N); in main()
|
| /openbsd/src/sys/dev/ |
| D | rnd.c | 344 arc4random_buf(entropy_pool, sizeof(entropy_pool)); in suspend_randomness() 538 arc4random_buf(void *buf, size_t n) in arc4random_buf() function 554 arc4random_buf(keybuf, KEYSZ + IVSZ); in arc4random_ctx_new() 714 arc4random_buf(buf, n); in randomread() 820 arc4random_buf(buf, SCARG(uap, nbyte)); in sys_getentropy()
|
| /openbsd/src/sys/net/ |
| D | wg_cookie.c | 107 arc4random_buf(nonce, COOKIE_NONCE_SIZE); in cookie_checker_create_payload() 263 arc4random_buf(cc->cc_secret, COOKIE_SECRET_SIZE); in cookie_checker_make_cookie() 285 arc4random_buf(cookie, COOKIE_COOKIE_SIZE); in cookie_checker_make_cookie() 293 arc4random_buf(&rl->rl_secret, sizeof(rl->rl_secret)); in ratelimit_init() 583 arc4random_buf(shared, COOKIE_INPUT_SIZE); in cookie_mac_test() 584 arc4random_buf(message, MESSAGE_LEN); in cookie_mac_test()
|
| /openbsd/src/lib/libfido2/src/ |
| D | random.c | 14 arc4random_buf(buf, len); in fido_get_random()
|
| /openbsd/src/lib/libcrypto/bn/ |
| D | bn_rand.c | 158 arc4random_buf(buf, bytes); in bnrand() 168 arc4random_buf(&c, 1); in bnrand()
|
| /openbsd/src/lib/libcrypto/bio/ |
| D | bf_nbio.c | 146 arc4random_buf(&n, 1); in nbiof_read() 183 arc4random_buf(&n, 1); in nbiof_write()
|
| /openbsd/src/lib/libc/crypt/ |
| D | arc4random.c | 198 arc4random_buf(void *buf, size_t n) in arc4random_buf() function 204 DEF_WEAK(arc4random_buf);
|
| /openbsd/src/lib/libc/stdlib/ |
| D | drand48.c | 24 arc4random_buf(rseed, sizeof rseed); in drand48()
|
| /openbsd/src/regress/lib/libcrypto/ige/ |
| D | igetest.c | 193 arc4random_buf(rkey, sizeof(rkey)); in main() 194 arc4random_buf(plaintext, sizeof(plaintext)); in main() 195 arc4random_buf(iv, sizeof(iv)); in main()
|
| /openbsd/src/regress/lib/libcrypto/rsa/ |
| D | rsa_padding_test.c | 139 arc4random_buf(in, sizeof(in)); in test_pkcs1_type1() 275 arc4random_buf(in, sizeof(in)); in test_pkcs1_type2()
|
| /openbsd/src/regress/lib/libexpat/entropy/ |
| D | Makefile | 9 grep -q arc4random_buf stderr
|
| /openbsd/src/usr.bin/signify/ |
| D | crypto_api.h | 17 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
|
| /openbsd/src/lib/libc/uuid/ |
| D | uuid_create.c | 47 arc4random_buf(u, sizeof(uuid_t)); in uuid_create()
|
| /openbsd/src/sys/crypto/ |
| D | curve25519.h | 40 arc4random_buf(secret, CURVE25519_KEY_SIZE); in curve25519_generate_secret()
|
| /openbsd/src/sbin/iked/ |
| D | crypto_api.h | 22 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
|
| /openbsd/src/sys/netinet/ |
| D | ip_id.c | 70 arc4random_buf(&si, sizeof(si)); in ip_randomid()
|
| /openbsd/src/usr.bin/ssh/ |
| D | crypto_api.h | 23 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
|
| /openbsd/src/lib/libfido2/ |
| D | README.openbsd | 10 src/random.c has had CSPRNG interfaces other than arc4random_buf(4) removed
|
| /openbsd/src/regress/lib/libcrypto/ecdsa/ |
| D | ecdsatest.c | 104 arc4random_buf(digest, 20); in test_builtin() 105 arc4random_buf(wrong_digest, 20); in test_builtin()
|
| /openbsd/src/lib/libcrypto/asn1/ |
| D | p5_pbev2.c | 216 arc4random_buf(iv, EVP_CIPHER_iv_length(cipher)); in PKCS5_pbe2_set() 304 arc4random_buf(osalt->data, saltlen); in PKCS5_pbkdf2_set()
|
| /openbsd/src/sbin/isakmpd/ |
| D | cookie.c | 69 arc4random_buf(tmpsecret, COOKIE_SECRET_SIZE); in cookie_gen()
|
| /openbsd/src/regress/lib/libcrypto/bn/ |
| D | bn_mont.c | 42 arc4random_buf(r, sizeof(r)); in main()
|