summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/rand_lib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Finish hiding symbols in rand.hbeck2024-04-101-1/+8
| | | | | This removes the LIBRESSL_INTERNAL guards and marks the functions within as LCRYPTO_UNUSED
* Unifdef OPENSSL_NO_ENGINE in libcryptotb2023-11-191-10/+1
| | | | | | | This is mechanical apart from a few manual edits to avoid doubled empty lines. ok jsing
* Unbreak the namespace build after a broken mk.conf and tool misfire hadbeck2023-07-071-8/+1
| | | | | | | | me aliasing symbols not in the headers I was procesing. This unbreaks the namespace build so it will pass again ok tb@
* hide symbols in sm, rand, and poly1305beck2023-07-071-1/+12
| | | | ok jsing@
* Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().jsing2014-10-221-3/+3
| | | | | | | | arc4random_buf() is guaranteed to always succeed - it is worth noting that a number of the replaced function calls were already missing return value checks. ok deraadt@
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-2/+1
| | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-101-1/+4
| | | | | | | | | an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers.
* tags as requested by miod and teduderaadt2014-06-121-0/+1
|
* KNF.jsing2014-05-241-1/+1
|
* another round of chemo for the RAND code to provide clarity.tedu2014-04-181-159/+79
| | | | ok deraadt
* Replace the old OpenSSL PRNG by direct use of arc4random_buf(), keeping themiod2014-04-151-129/+0
| | | | | | | | | | | | | | | | | | | | | existing RAND interfaces unchanged. All interfaces allowing external feed or seed of the RNG (either from a file or a local entropy gathering daemon) are kept for ABI compatibility, but are no longer do anything. While the OpenSSL PRNG was required 15+ years ago when many systems lacked proper entropy collection, things have evolved and one can reasonably assume it is better to use the kernel (system global) entropy pool rather than trying to build one's own and having to compensate for thread scheduling... <RANT> Whoever thought that RAND_screen(), feeding the PRNG with the contents of the local workstation's display, under Win32, was a smart idea, ought to be banned from security programming. </RANT> ok beck@ deraadt@ tedu@
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-131-2/+13
|
* resolve conflictsdjm2012-10-131-0/+119
|
* resolve conflicts, fix local changesdjm2010-10-011-70/+1
|
* resolve conflictsdjm2009-01-091-1/+70
|
* resolve conflictsdjm2008-09-061-17/+1
|
* resolve conflictsdjm2006-06-271-11/+15
|
* resolve conflictsdjm2005-04-291-0/+12
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-0/+10
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-26/+56
|
* openssl-engine-0.9.6 mergebeck2000-12-151-19/+38
|
* OpenSSL 0.9.5a mergebeck2000-04-151-0/+7
|
* OpenSSL 0.9.5 mergebeck2000-03-191-3/+15
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
* OpenSSL 0.9.4 mergebeck1999-09-291-0/+98