Home | History | Annotate | Download | only in Python

Lines Matching refs:getentropy

192 /* Fill buffer with size pseudo-random bytes generated by getentropy():
195 - Return 0 if getentropy() syscall is not available (failed with ENOSYS or
198 if getentropy() failed with EINTR, raise is non-zero and the Python signal
199 handler raised an exception, or if getentropy() failed with a different
202 getentropy() is retried if it failed with EINTR: interrupted by a signal. */
206 /* Is getentropy() supported by the running kernel? Set to 0 if
207 getentropy() failed with ENOSYS or EPERM. */
215 /* getentropy() is limited to returning up to 256 bytes. Call it
222 res = getentropy(buffer, len);
226 res = getentropy(buffer, len);
245 /* retry getentropy() if it was interrupted by a signal */
430 - getentropy() function (ex: OpenBSD): call py_getentropy()
433 Read from the /dev/urandom device if getrandom() or getentropy() function
436 Prefer getrandom() over getentropy() because getrandom() supports blocking
441 Prefer getrandom() and getentropy() over reading directly /dev/urandom
499 /* getrandom() or getentropy() function is not available: failed with