Home
last modified time | relevance | path

Searched refs:arc4random_buf (Results 1 – 25 of 203) sorted by relevance

123456789

/openbsd/src/sys/dev/pci/drm/include/linux/
Drandom.h31 arc4random_buf(&r, sizeof(r)); in get_random_u64()
54 arc4random_buf(buf, nbytes); in get_random_bytes()
Duuid.h48 arc4random_buf(&a->guid, sizeof(a->guid)); in guid_gen()
/openbsd/src/lib/libcrypto/rand/
Drand_lib.c90 arc4random_buf(buf, num); in RAND_bytes()
99 arc4random_buf(buf, num); in RAND_pseudo_bytes()
/openbsd/src/regress/lib/libc/timingsafe/
Dtimingsafe.c57 arc4random_buf(bufone, N); in main()
58 arc4random_buf(buftwo, N); in main()
/openbsd/src/sys/dev/
Drnd.c344 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/
Dwg_cookie.c107 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/
Drandom.c14 arc4random_buf(buf, len); in fido_get_random()
/openbsd/src/lib/libcrypto/bn/
Dbn_rand.c158 arc4random_buf(buf, bytes); in bnrand()
168 arc4random_buf(&c, 1); in bnrand()
/openbsd/src/lib/libcrypto/bio/
Dbf_nbio.c146 arc4random_buf(&n, 1); in nbiof_read()
183 arc4random_buf(&n, 1); in nbiof_write()
/openbsd/src/lib/libc/crypt/
Darc4random.c198 arc4random_buf(void *buf, size_t n) in arc4random_buf() function
204 DEF_WEAK(arc4random_buf);
/openbsd/src/lib/libc/stdlib/
Ddrand48.c24 arc4random_buf(rseed, sizeof rseed); in drand48()
/openbsd/src/regress/lib/libcrypto/ige/
Digetest.c193 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/
Drsa_padding_test.c139 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/
DMakefile9 grep -q arc4random_buf stderr
/openbsd/src/usr.bin/signify/
Dcrypto_api.h17 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
/openbsd/src/lib/libc/uuid/
Duuid_create.c47 arc4random_buf(u, sizeof(uuid_t)); in uuid_create()
/openbsd/src/sys/crypto/
Dcurve25519.h40 arc4random_buf(secret, CURVE25519_KEY_SIZE); in curve25519_generate_secret()
/openbsd/src/sbin/iked/
Dcrypto_api.h22 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
/openbsd/src/sys/netinet/
Dip_id.c70 arc4random_buf(&si, sizeof(si)); in ip_randomid()
/openbsd/src/usr.bin/ssh/
Dcrypto_api.h23 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
/openbsd/src/lib/libfido2/
DREADME.openbsd10 src/random.c has had CSPRNG interfaces other than arc4random_buf(4) removed
/openbsd/src/regress/lib/libcrypto/ecdsa/
Decdsatest.c104 arc4random_buf(digest, 20); in test_builtin()
105 arc4random_buf(wrong_digest, 20); in test_builtin()
/openbsd/src/lib/libcrypto/asn1/
Dp5_pbev2.c216 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/
Dcookie.c69 arc4random_buf(tmpsecret, COOKIE_SECRET_SIZE); in cookie_gen()
/openbsd/src/regress/lib/libcrypto/bn/
Dbn_mont.c42 arc4random_buf(r, sizeof(r)); in main()

123456789