| /freebsd-13.1/tests/sys/kern/ |
| H A D | sys_getrandom.c | 59 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 D | configure.ac | 232 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 D | expat_config.h.in | 24 /* Define to 1 if you have the `getrandom' function. */
|
| H A D | Changes | 460 --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 D | README.md | 261 // Make use of getrandom function (ON|OFF|AUTO) [default=AUTO]
|
| /freebsd-13.1/contrib/apr/misc/unix/ |
| H A D | rand.c | 64 #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 D | random.c | 55 if ((r = getrandom(buf, len, 0)) < 0 || (size_t)r != len) in fido_get_random()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | getentropy.c | 125 rd = getrandom(buf, buflen, 0); in getentropy()
|
| /freebsd-13.1/contrib/wpa/src/crypto/ |
| H A D | random.c | 241 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 D | random.h | 164 ssize_t getrandom(void *buf, size_t buflen, unsigned int flags);
|
| H A D | syscall.mk | 409 getrandom.o \
|
| /freebsd-13.1/sys/kern/ |
| H A D | capabilities.conf | 336 getrandom
|
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | arc4random.c | 96 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 D | randombytes_sysrandom.c | 216 readnb = getrandom(buf, size, 0); in _randombytes_linux_getrandom()
|
| /freebsd-13.1/contrib/apr/ |
| H A D | CHANGES | 25 *) rand: Use arc4random_buf() on BSD platforms and getrandom() on Linux,
|
| /freebsd-13.1/sys/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
| H A D | randombytes_salsa20_random.c | 258 readnb = getrandom(buf, size, 0); in _randombytes_linux_getrandom()
|
| /freebsd-13.1/lib/libc/sys/ |
| H A D | Makefile.inc | 211 getrandom.2 \
|
| H A D | Symbol.map | 392 getrandom;
|
| /freebsd-13.1/contrib/libfido2/ |
| H A D | CMakeLists.txt | 100 check_symbol_exists(getrandom sys/random.h HAVE_GETRANDOM)
|
| /freebsd-13.1/contrib/wpa/hostapd/ |
| H A D | defconfig | 253 # Should we attempt to use the getrandom(2) call that provides more reliable
|
| /freebsd-13.1/contrib/wpa/wpa_supplicant/ |
| H A D | defconfig | 469 # Should we attempt to use the getrandom(2) call that provides more reliable
|
| /freebsd-13.1/sys/contrib/libsodium/ |
| H A D | ChangeLog | 296 - On Linux, getrandom(2) is being used instead of directly accessing
|
| /freebsd-13.1/crypto/openssl/ |
| H A D | INSTALL | 243 getrandom: Use the L<getrandom(2)> or equivalent system
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux.cpp | 2285 uptr res = internal_syscall(SYSCALL(getrandom), buffer, length, in GetRandom()
|
| /freebsd-13.1/contrib/apr/include/arch/unix/ |
| H A D | apr_private.h.in | 233 /* Define to 1 if you have the `getrandom' function. */
|