Symbol: getentropy
crypto/krb5/src/lib/crypto/krb/prng.c
109
r = getentropy(buf, seg);
crypto/openssh/openbsd-compat/arc4random.c
116
if (getentropy(rnd, sizeof rnd) == -1)
crypto/openssh/openbsd-compat/arc4random.c
52
#ifdef getentropy
crypto/openssh/openbsd-compat/bsd-getentropy.c
58
if ((r = getentropy(s, len)) == 0)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
356
extern int getentropy(void *buffer, size_t length) __attribute__((weak));
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
358
if (getentropy != NULL) {
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
359
if (getentropy(buf, buflen) == 0)
crypto/openssl/providers/implementations/rands/seeding/rand_unix.c
398
if (getentropy(buf, buflen) == 0)
include/ssp/unistd.h
81
__ssp_redirect(int, getentropy, (void *__buf, size_t __len), (__buf, __len));
include/unistd.h
518
int getentropy(void *, size_t);
lib/libc/gen/arc4random.c
137
if (getentropy(rnd, sizeof rnd) == -1)
lib/libc/gen/getentropy.c
47
__ssp_real(getentropy)(void *buf, size_t buflen)
lib/libc/tests/gen/getentropy_test.c
45
ret = getentropy(buf, 1);
lib/libc/tests/gen/getentropy_test.c
55
ret = getentropy(NULL, 1);
lib/libc/tests/gen/getentropy_test.c
65
ATF_REQUIRE_EQ(getentropy(buf, sizeof(buf)), -1);
lib/libc/tests/gen/getentropy_test.c
67
ATF_REQUIRE_EQ(getentropy(buf, GETENTROPY_MAX + 1), -1);
lib/libc/tests/gen/getentropy_test.c
71
ATF_REQUIRE_EQ(getentropy(buf, GETENTROPY_MAX), 0);
lib/libc/tests/gen/getentropy_test.c
72
ATF_REQUIRE_EQ(getentropy(buf, GETENTROPY_MAX / 2), 0);
lib/libc/tests/gen/getentropy_test.c
73
ATF_REQUIRE_EQ(getentropy(buf, 0), 0);
lib/libc/tests/secure/fortify_unistd_test.c
1544
getentropy(__stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1565
getentropy(__stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1588
getentropy(__stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1611
getentropy(__stack.__buf, __len);
lib/libc/tests/secure/fortify_unistd_test.c
1643
getentropy(__stack.__buf, __len);
lib/libunbound/config.h
1550
int getentropy(void* buf, size_t len);
tests/sys/kern/copy_file_range.c
42
error = getentropy(buf, sizeof(buf));
usr.bin/sort/sort.c
921
if (getentropy(randseed, sizeof(randseed)) < 0)
usr.bin/sort/sort.c
967
if (getentropy(randseed, sizeof(randseed)) < 0)
usr.sbin/bhyve/vmgenc.c
68
error = getentropy(region, sizeof(struct uuid));