Searched refs:getentropy (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_win.c19 * Emulation of getentropy(2) as documented at:
20 * http://man.openbsd.org/getentropy.2
30 int getentropy(void *buf, size_t len);
37 getentropy(void *buf, size_t len) function
H A Dgetentropy_freebsd.c19 * Emulation of getentropy(2) as documented at:
20 * http://man.openbsd.org/getentropy.2
55 getentropy(void *buf, size_t len) function
H A Dgetentropy_solaris.c72 int getentropy(void *buf, size_t len);
83 getentropy(void *buf, size_t len) function
312 HF(getentropy); /* an addr in this library */
H A Dgetentropy_linux.c19 * Emulation of getentropy(2) as documented at:
20 * http://man.openbsd.org/getentropy.2
88 int getentropy(void *buf, size_t len);
101 getentropy(void *buf, size_t len) function
389 HF(getentropy); /* an addr in this library */
H A Dgetentropy_osx.c19 * Emulation of getentropy(2) as documented at:
20 * http://man.openbsd.org/getentropy.2
83 int getentropy(void *buf, size_t len);
89 getentropy(void *buf, size_t len) function
289 HF(getentropy); /* an addr in this library */
H A Darc4random.c90 /* fallback for getentropy in case libc returns failure */
183 if (getentropy(rnd, sizeof rnd) == -1) {
/freebsd-11-stable/contrib/unbound/util/
H A Drandom.c161 if(getentropy(buf, sizeof(buf)) != -1) {
167 "getentropy failed: %s", strerror(errno));
/freebsd-11-stable/contrib/llvm-project/libcxx/src/
H A Drandom.cpp56 int err = getentropy(&r, n);
58 __throw_system_error(errno, "random_device getentropy failed");
/freebsd-11-stable/usr.sbin/unbound/
H A Dconfig.h278 /* Define to 1 if you have the `getentropy' function. */
1323 int getentropy(void* buf, size_t len);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp2114 uptr rnd = getentropy(buffer, length);
H A Dsanitizer_common_interceptors.inc9633 INTERCEPTOR(int, getentropy, void *buf, SIZE_T buflen) {
9635 COMMON_INTERCEPTOR_ENTER(ctx, getentropy, buf, buflen);
9636 int r = REAL(getentropy)(buf, buflen);
9642 #define INIT_GETENTROPY COMMON_INTERCEPT_FUNCTION(getentropy)
/freebsd-11-stable/contrib/unbound/
H A Dconfigure20749 for ac_func in getentropy
20751 ac_fn_c_check_func "$LINENO" "getentropy" "ac_cv_func_getentropy"

Completed in 194 milliseconds