Home
last modified time | relevance | path

Searched refs:getrandom (Results 1 – 25 of 35) sorted by relevance

12

/freebsd-13.1/tests/sys/kern/
H A Dsys_getrandom.c59 ret = getrandom(&randomb[j], sizeof(randomb) - j, mode); in ATF_TC_BODY()
90 ret = getrandom(NULL, 1, 0); in ATF_TC_BODY()
106 ret = getrandom(buf, 1, 0); in ATF_TC_BODY()
111 ATF_REQUIRE_EQ(getrandom(buf, 15, 0), 15); in ATF_TC_BODY()
115 ATF_REQUIRE_EQ(getrandom(buf, 255, 0), 255); in ATF_TC_BODY()
119 ATF_REQUIRE_EQ(getrandom(buf, 4095, 0), 4095); in ATF_TC_BODY()
/freebsd-13.1/contrib/expat/
H A Dconfigure.ac232 AC_ARG_WITH([getrandom], optwith
233 [AS_HELP_STRING([--with-getrandom],
234 [enforce the use of getrandom function in the system @<:@default=check@:>@])
235 AS_HELP_STRING([--without-getrandom],
236 [skip auto detect of getrandom @<:@default=check@:>@])],
241 [AC_MSG_CHECKING([for getrandom (Linux 3.17+, glibc 2.25+)])
246 return getrandom(NULL, 0U, 0U);
249 [AC_DEFINE([HAVE_GETRANDOM], [1], [Define to 1 if you have the `getrandom' function.])
253 [AC_MSG_ERROR([enforced the use of getrandom --with-getrandom, but not detected])])])])
256 [AS_HELP_STRING([--with-sys-getrandom],
[all …]
H A Dexpat_config.h.in24 /* Define to 1 if you have the `getrandom' function. */
H A DChanges460 --with-getrandom
461 --without-getrandom
462 --with-sys-getrandom
463 --without-sys-getrandom
697 #91 Linux: Allow getrandom to fail if nonblocking pool has not
751 #50 Fix too eager getrandom detection for Debian GNU/kFreeBSD
800 * getrandom on Linux 3.17+
H A DREADME.md261 // Make use of getrandom function (ON|OFF|AUTO) [default=AUTO]
/freebsd-13.1/contrib/apr/misc/unix/
H A Drand.c64 #define getrandom(buf, buflen, flags) \ macro
216 rc = getrandom(buf, length, 0); in apr_generate_random_bytes()
/freebsd-13.1/contrib/libfido2/src/
H A Drandom.c55 if ((r = getrandom(buf, len, 0)) < 0 || (size_t)r != len) in fido_get_random()
/freebsd-13.1/lib/libc/gen/
H A Dgetentropy.c125 rd = getrandom(buf, buflen, 0); in getentropy()
/freebsd-13.1/contrib/wpa/src/crypto/
H A Drandom.c241 res = getrandom(stub_key + stub_key_avail, in random_pool_ready()
445 if (getrandom(&stub, 0, GRND_NONBLOCK) == 0 || in random_init()
/freebsd-13.1/sys/sys/
H A Drandom.h164 ssize_t getrandom(void *buf, size_t buflen, unsigned int flags);
H A Dsyscall.mk409 getrandom.o \
/freebsd-13.1/sys/kern/
H A Dcapabilities.conf336 getrandom
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Darc4random.c96 if ((r = getrandom(s, len, 0)) > 0 && (size_t)r == len) in getrnd()
/freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/sysrandom/
H A Drandombytes_sysrandom.c216 readnb = getrandom(buf, size, 0); in _randombytes_linux_getrandom()
/freebsd-13.1/contrib/apr/
H A DCHANGES25 *) rand: Use arc4random_buf() on BSD platforms and getrandom() on Linux,
/freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/
H A Drandombytes_salsa20_random.c258 readnb = getrandom(buf, size, 0); in _randombytes_linux_getrandom()
/freebsd-13.1/lib/libc/sys/
H A DMakefile.inc211 getrandom.2 \
H A DSymbol.map392 getrandom;
/freebsd-13.1/contrib/libfido2/
H A DCMakeLists.txt100 check_symbol_exists(getrandom sys/random.h HAVE_GETRANDOM)
/freebsd-13.1/contrib/wpa/hostapd/
H A Ddefconfig253 # Should we attempt to use the getrandom(2) call that provides more reliable
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Ddefconfig469 # Should we attempt to use the getrandom(2) call that provides more reliable
/freebsd-13.1/sys/contrib/libsodium/
H A DChangeLog296 - On Linux, getrandom(2) is being used instead of directly accessing
/freebsd-13.1/crypto/openssl/
H A DINSTALL243 getrandom: Use the L<getrandom(2)> or equivalent system
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp2285 uptr res = internal_syscall(SYSCALL(getrandom), buffer, length, in GetRandom()
/freebsd-13.1/contrib/apr/include/arch/unix/
H A Dapr_private.h.in233 /* Define to 1 if you have the `getrandom' function. */

12