Home
last modified time | relevance | path

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

12

/freebsd/lib/libc/tests/gen/
H A Dgetentropy_test.c45 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 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/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/lib/libc/gen/
H A Dgetentropy.c47 __ssp_real(getentropy)(void *buf, size_t buflen) in __ssp_real()
46 __ssp_real(getentropy) __ssp_real() argument
H A Darc4random.c137 if (getentropy(rnd, sizeof rnd) == -1) in _rs_stir()
H A DMakefile.inc72 getentropy.c \
238 getentropy.3 \
H A DSymbol.map415 getentropy;
/freebsd/tools/build/cross-build/include/linux/
H A Dunistd.h72 getentropy(void *buf, size_t buflen) in getentropy() function
/freebsd/usr.sbin/bhyve/
H A Dvmgenc.c68 error = getentropy(region, sizeof(struct uuid)); in vmgenc_init()
/freebsd/contrib/wireguard-tools/
H A Dgenkey.c44 if (!getentropy(out, len)) in get_random_bytes()
/freebsd/include/ssp/
H A Dunistd.h81 __ssp_redirect(int, getentropy, (void *__buf, size_t __len), (__buf, __len));
/freebsd/contrib/unbound/util/
H A Drandom.c161 if(getentropy(buf, sizeof(buf)) != -1) { in ub_initstate()
/freebsd/contrib/bearssl/src/rand/
H A Dsysrng.c154 if (getentropy(tmp, sizeof tmp) == 0) { in seeder_getentropy()
/freebsd/contrib/llvm-project/libcxx/src/
H A Drandom.cpp53 int err = getentropy(&r, n); in operator ()()
/freebsd/lib/libc/tests/secure/
H A Dfortify_unistd_test.c1544 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 Dunistd.h513 int getentropy(void *, size_t);
/freebsd/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/lib/libunbound/
H A Dconfig.h1467 int getentropy(void* buf, size_t len);

12