Home
last modified time | relevance | path

Searched refs:getentropy (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-14.2/lib/libc/tests/gen/
H A Dgetentropy_test.c44 ret = getentropy(buf, 1); in ATF_TC_BODY()
54 ret = getentropy(NULL, 1); in ATF_TC_BODY()
64 ATF_REQUIRE_EQ(getentropy(buf, sizeof(buf)), -1); in ATF_TC_BODY()
66 ATF_REQUIRE_EQ(getentropy(buf, 257), -1); in ATF_TC_BODY()
70 ATF_REQUIRE_EQ(getentropy(buf, 256), 0); in ATF_TC_BODY()
71 ATF_REQUIRE_EQ(getentropy(buf, 128), 0); in ATF_TC_BODY()
72 ATF_REQUIRE_EQ(getentropy(buf, 0), 0); in ATF_TC_BODY()
/freebsd-14.2/contrib/unbound/compat/
H A Dgetentropy_win.c30 int getentropy(void *buf, size_t len);
37 getentropy(void *buf, size_t len) in getentropy() function
H A Dgetentropy_osx.c83 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 Dgetentropy_solaris.c72 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 Dgetentropy_freebsd.c55 getentropy(void *buf, size_t len) in getentropy() function
H A Dgetentropy_linux.c88 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 Darc4random.c186 if (getentropy(rnd, sizeof rnd) == -1) { in _rs_stir()
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Darc4random.c52 #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 Dbsd-getentropy.c58 if ((r = getentropy(s, len)) == 0) in _ssh_compat_getentropy()
H A DMakefile.in74 bsd-getentropy.o \
/freebsd-14.2/tools/build/cross-build/include/linux/
H A Dunistd.h72 getentropy(void *buf, size_t buflen) in getentropy() function
/freebsd-14.2/usr.sbin/bhyve/
H A Dvmgenc.c68 error = getentropy(region, sizeof(struct uuid)); in vmgenc_init()
/freebsd-14.2/lib/libc/gen/
H A Dgetentropy.c108 getentropy(void *buf, size_t buflen) in getentropy() function
H A Darc4random.c136 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
H A DMakefile.inc75 getentropy.c \
249 getentropy.3 \
H A DSymbol.map417 getentropy;
/freebsd-14.2/contrib/wireguard-tools/
H A Dgenkey.c44 if (!getentropy(out, len)) in get_random_bytes()
/freebsd-14.2/crypto/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c361 extern int getentropy(void *buffer, size_t length) __attribute__((weak)); in syscall_random()
363 if (getentropy != NULL) { in syscall_random()
364 if (getentropy(buf, buflen) == 0) in syscall_random()
/freebsd-14.2/contrib/unbound/util/
H A Drandom.c161 if(getentropy(buf, sizeof(buf)) != -1) { in ub_initstate()
/freebsd-14.2/contrib/bearssl/src/rand/
H A Dsysrng.c154 if (getentropy(tmp, sizeof tmp) == 0) { in seeder_getentropy()
/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Drandom.cpp53 int err = getentropy(&r, n); in operator ()()
/freebsd-14.2/include/
H A Dunistd.h511 int getentropy(void *, size_t);
/freebsd-14.2/usr.bin/sort/
H A Dsort.c921 if (getentropy(randseed, sizeof(randseed)) < 0) in get_random_seed()
967 if (getentropy(randseed, sizeof(randseed)) < 0) in get_random_seed()
/freebsd-14.2/lib/libunbound/
H A Dconfig.h1467 int getentropy(void* buf, size_t len);
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt238 fun:getentropy=custom

12