/freebsd/lib/libc/tests/gen/ |
H A D | getentropy_test.c | 45 ret = getentropy(buf, 1); in ATF_TC_BODY() 55 ret = getentropy(NULL, 1); in ATF_TC_BODY() 65 ATF_REQUIRE_EQ(getentropy(buf, sizeof(buf)), -1); in ATF_TC_BODY() 67 ATF_REQUIRE_EQ(getentropy(buf, GETENTROPY_MAX + 1), -1); in ATF_TC_BODY() 71 ATF_REQUIRE_EQ(getentropy(buf, GETENTROPY_MAX), 0); in ATF_TC_BODY() 72 ATF_REQUIRE_EQ(getentropy(buf, GETENTROPY_MAX / 2), 0); in ATF_TC_BODY() 73 ATF_REQUIRE_EQ(getentropy(buf, 0), 0); in ATF_TC_BODY()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | arc4random.c | 52 #ifdef getentropy 53 # undef getentropy 55 #define getentropy(x, y) (_ssh_compat_getentropy((x), (y))) macro 116 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
|
H A D | bsd-getentropy.c | 58 if ((r = getentropy(s, len)) == 0) in _ssh_compat_getentropy()
|
H A D | Makefile.in | 74 bsd-getentropy.o \
|
/freebsd/contrib/unbound/compat/ |
H A D | getentropy_win.c | 30 int getentropy(void *buf, size_t len); 37 getentropy(void *buf, size_t len) in getentropy() function
|
H A D | getentropy_osx.c | 83 int getentropy(void *buf, size_t len); 89 getentropy(void *buf, size_t len) in getentropy() function 289 HF(getentropy); /* an addr in this library */ in getentropy_fallback()
|
H A D | getentropy_solaris.c | 72 int getentropy(void *buf, size_t len); 83 getentropy(void *buf, size_t len) in getentropy() function 312 HF(getentropy); /* an addr in this library */ in getentropy_fallback()
|
H A D | getentropy_freebsd.c | 55 getentropy(void *buf, size_t len) in getentropy() function
|
H A D | getentropy_linux.c | 88 int getentropy(void *buf, size_t len); 101 getentropy(void *buf, size_t len) in getentropy() function 389 HF(getentropy); /* an addr in this library */ in getentropy_fallback()
|
H A D | arc4random.c | 186 if (getentropy(rnd, sizeof rnd) == -1) { in _rs_stir()
|
/freebsd/lib/libc/gen/ |
H A D | getentropy.c | 47 __ssp_real(getentropy)(void *buf, size_t buflen) in __ssp_real() 46 __ssp_real(getentropy) __ssp_real() argument
|
H A D | arc4random.c | 137 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
|
H A D | Makefile.inc | 72 getentropy.c \ 238 getentropy.3 \
|
H A D | Symbol.map | 415 getentropy;
|
/freebsd/tools/build/cross-build/include/linux/ |
H A D | unistd.h | 72 getentropy(void *buf, size_t buflen) in getentropy() function
|
/freebsd/usr.sbin/bhyve/ |
H A D | vmgenc.c | 68 error = getentropy(region, sizeof(struct uuid)); in vmgenc_init()
|
/freebsd/contrib/wireguard-tools/ |
H A D | genkey.c | 44 if (!getentropy(out, len)) in get_random_bytes()
|
/freebsd/include/ssp/ |
H A D | unistd.h | 81 __ssp_redirect(int, getentropy, (void *__buf, size_t __len), (__buf, __len));
|
/freebsd/contrib/unbound/util/ |
H A D | random.c | 161 if(getentropy(buf, sizeof(buf)) != -1) { in ub_initstate()
|
/freebsd/contrib/bearssl/src/rand/ |
H A D | sysrng.c | 154 if (getentropy(tmp, sizeof tmp) == 0) { in seeder_getentropy()
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | random.cpp | 53 int err = getentropy(&r, n); in operator ()()
|
/freebsd/lib/libc/tests/secure/ |
H A D | fortify_unistd_test.c | 1544 getentropy(__stack.__buf, __len); in ATF_TC_BODY() 1565 getentropy(__stack.__buf, __len); in ATF_TC_BODY() 1588 getentropy(__stack.__buf, __len); in ATF_TC_BODY() 1611 getentropy(__stack.__buf, __len); in ATF_TC_BODY() 1643 getentropy(__stack.__buf, __len); in ATF_TC_BODY()
|
/freebsd/include/ |
H A D | unistd.h | 513 int getentropy(void *, size_t);
|
/freebsd/usr.bin/sort/ |
H A D | sort.c | 921 if (getentropy(randseed, sizeof(randseed)) < 0) in get_random_seed() 967 if (getentropy(randseed, sizeof(randseed)) < 0) in get_random_seed()
|
/freebsd/lib/libunbound/ |
H A D | config.h | 1467 int getentropy(void* buf, size_t len);
|