STINNER Victor added the comment: Manual page of the OpenBSD getentropy() function: http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/getentropy.2
LibreSSL didn't wait for the libc, search for getentropy_getrandom(): http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/src/lib/libcrypto/crypto/getentropy_linux.c?rev=1.32&content-type=text/x-cvsweb-markup The code is currently disabled with "#if 0". The syscall is directly used, the function doesn't handle the ENOSYS error. See also this issue of the cryptography project, "Use getentropy(2) and getrandom(2) syscalls when available 1299": https://github.com/pyca/cryptography/issues/1299 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22181> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com