Author vstinner
Recipients alex, christian.heimes, neologix, vstinner
Date 2014-08-15.20:13:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408133635.07.0.131902740016.issue22181@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-08-15 20:13:55vstinnersetrecipients: + vstinner, christian.heimes, alex, neologix
2014-08-15 20:13:55vstinnersetmessageid: <1408133635.07.0.131902740016.issue22181@psf.upfronthosting.co.za>
2014-08-15 20:13:55vstinnerlinkissue22181 messages
2014-08-15 20:13:55vstinnercreate