summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rand/randfile.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Finish hiding symbols in rand.hbeck2024-04-101-1/+4
| | | | | This removes the LIBRESSL_INTERNAL guards and marks the functions within as LCRYPTO_UNUSED
* Unbreak the namespace build after a broken mk.conf and tool misfire hadbeck2023-07-071-4/+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/+4
| | | | ok jsing@
* Correct spelling of OPENSSL_cleanse.jsing2015-09-101-2/+2
| | | | ok miod@
* rand_err doesn't exist anymore, coverity 78808beck2015-07-181-3/+3
| | | | ok doug@
* Use arc4random_buf() instead of RAND_bytes() or RAND_pseudo_bytes().jsing2014-10-221-3/+2
| | | | | | | | 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@
* Improve RAND_write_file(), chmod crud, etc.deraadt2014-07-141-27/+19
| | | | ok tedu
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* KNF.jsing2014-05-241-49/+53
|
* use intrinsic strlcpy and strlcat everywhere so we only have one set ofbeck2014-04-191-1/+1
| | | | | | funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@
* Put the final pieces from e_os.h in the required places, and remove it.deraadt2014-04-181-1/+0
| | | | | "dance on it's grave" says beck ok guenther beck
* another round of chemo for the RAND code to provide clarity.tedu2014-04-181-47/+6
| | | | ok deraadt
* define RFILE only in the file that needs itderaadt2014-04-181-1/+1
|
* API compat fix. RAND_load_file can never fail now. discovered and ok beck.tedu2014-04-161-3/+7
|
* Replace the old OpenSSL PRNG by direct use of arc4random_buf(), keeping themiod2014-04-151-147/+5
| | | | | | | | | | | | | | | | | | | | | 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@
* Remove some stuff that isn't needed.beck2014-04-131-1/+1
| | | | ok miod@ deraadt@
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-131-0/+2
|
* resolve conflictsdjm2012-10-131-1/+1
|
* openssl-1.0.0e: resolve conflictsdjm2011-11-031-3/+3
|
* resolve conflicts, fix local changesdjm2010-10-011-10/+23
|
* resolve conflictsdjm2009-04-061-2/+2
|
* resolve conflictsdjm2009-01-091-20/+46
|
* resolve conflictsdjm2008-09-061-5/+7
|
* resolve conflictsdjm2006-06-271-1/+1
|
* resolve conflictsdjm2005-04-291-0/+2
|
* merge 0.9.7dmarkus2004-04-081-6/+16
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-4/+4
|
* str{cat,cpy}/sprintf cleanup. markus@, deraadt@ okho2003-04-031-1/+1
|
* merge openssl-0.9.7-beta3, tested on vax by miod@markus2002-09-101-1/+1
|
* merge with 0.9.7-beta1markus2002-09-051-8/+6
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-13/+13
|
* fix to match documented behaviour. RAND_file_name must return a pointer tobeck2001-12-201-9/+13
| | | | buf, not something else.
* merge openssl 0.9.6b-enginebeck2001-08-011-1/+7
| | | | | Note that this is a maintenence release, API's appear *not* to have changed. As such, I have only increased the minor number on these libraries
* openssl-engine-0.9.6a mergebeck2001-06-221-2/+8
|
* make sure s always has enough from for trailing \0. even though strlcpy willbeck2001-01-121-1/+1
| | | | truncate, thanks to itojun@
* do not honour environment variables if issetugid, and even more strongly ↵deraadt2001-01-021-17/+17
| | | | support the random device
* openssl-engine-0.9.6 mergebeck2000-12-151-16/+15
|
* $HOME paranoia: never use getenv("HOME") w/o checking for NULL and non-zeromillert2000-08-021-1/+1
|
* Fix strcpy/strcat abuse and fix stupid behaviour of the defaultbeck2000-04-161-7/+24
| | | | | | | RAND_file_name - changed so that it stats the filename it returns before returing it. If the file won't stat, return DEVRANDOM (for us /dev/arandom) instead, thus making the default behaviour moderately intelligent.
* Fix randfile so it doesn't attempt to chmod and write entropy back tobeck2000-04-161-1/+14
| | | | | | devices. This caused people's /dev/arandom's to be permitted 600, which causes rsa to fail to get random data, which results in all kinds of fun with ssh :)
* Fix this for the case where the file is a device - make sure we don'tbeck2000-04-161-5/+14
| | | | attempt to read from a device forever.
* OpenSSL 0.9.5a mergebeck2000-04-151-36/+14
|
* OpenSSL 0.9.5 mergebeck2000-03-191-22/+86
| | | | | | *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-13/+26
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-051-0/+166
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.