Home
last modified time | relevance | path

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

/openbsd-src/games/arithmetic/
H A Darithmetic.c73 int getrandom(uint32_t, int, int);
180 right = getrandom(rangemax + 1, op, 1); in problem()
185 left = getrandom(rangemax + 1, op, 0); in problem()
189 result = getrandom(rangemax + 1, op, 0); in problem()
193 left = getrandom(rangemax + 1, op, 0); in problem()
197 right = getrandom(rangemax, op, 1) + 1; in problem()
198 result = getrandom(rangemax + 1, op, 0); in problem()
304 getrandom(uint32_t maxval, int op, int operand) in getrandom() function
/openbsd-src/usr.sbin/nsd/
H A Dutil.c970 if(getrandom(&r, sizeof(r), 0) == -1) { in qid_generate()
988 if(getrandom(&r, sizeof(r), 0) == -1) { in random_generate()
H A Dconfig.h.in202 /* Define to 1 if you have the `getrandom' function. */
H A Dconfigure.ac679 AC_CHECK_FUNCS([getrandom arc4random arc4random_uniform])
H A Dserver.c1495 if(getrandom(&v, sizeof(v), 0) == -1) { in server_prepare()
/openbsd-src/lib/libexpat/
H A DChanges852 --with-getrandom
853 --without-getrandom
854 --with-sys-getrandom
855 --without-sys-getrandom
1089 #91 Linux: Allow getrandom to fail if nonblocking pool has not
1143 #50 Fix too eager getrandom detection for Debian GNU/kFreeBSD
1192 * getrandom on Linux 3.17+
H A DREADME.md307 // Make use of getrandom function (ON|OFF|AUTO) [default=AUTO]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp2405 uptr res = internal_syscall(SYSCALL(getrandom), buffer, length, in GetRandom()
H A Dsanitizer_common_syscalls.inc3143 PRE_SYSCALL(getrandom)(void *buf, uptr count, long flags) {
3149 POST_SYSCALL(getrandom)(long res, void *buf, uptr count, long flags) {
H A Dsanitizer_syscalls_netbsd.inc875 PRE_SYSCALL(getrandom)(void *buf_, long long buflen_, long long flags_) {
878 POST_SYSCALL(getrandom)
H A Dsanitizer_common_interceptors.inc10075 INTERCEPTOR(SSIZE_T, getrandom, void *buf, SIZE_T buflen, unsigned int flags) {
10077 COMMON_INTERCEPTOR_ENTER(ctx, getrandom, buf, buflen, flags);
10078 SSIZE_T n = REAL(getrandom)(buf, buflen, flags);
10084 #define INIT_GETRANDOM COMMON_INTERCEPT_FUNCTION(getrandom)
/openbsd-src/lib/libexpat/lib/
H A Dxmlparse.c126 # include <sys/random.h> /* getrandom */
153 * Linux >=3.17 + glibc >=2.25 (getrandom): HAVE_GETRANDOM, \
806 getrandom(currentTarget, bytesToWrite, getrandomFlags); in writeRandomBytes_getrandom_nonblock()
970 return ENTROPY_DEBUG("getrandom", entropy); in generate_hash_secret_salt()
/openbsd-src/usr.sbin/nsd/doc/
H A DChangeLog963 and return srandom when random is used if no getrandom.
970 - Fix to use getrandom() for randomness, if available.
H A DRELNOTES459 - Fix to use getrandom() for randomness, if available.
/openbsd-src/usr.sbin/unbound/doc/
H A DChangelog6443 - Use the getrandom syscall introduced in Linux 3.17 (from Heiner