summaryrefslogtreecommitdiffstats
path: root/crypto/rand (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-313-76/+43
|
* md_rand.c thread safetyBodo Möller2001-07-251-2/+21
|
* Avoid race condition.Bodo Möller2001-07-241-4/+2
| | | | Submitted by: Travis Vitek <vitek@roguewave.com>
* make updateRichard Levitte2001-07-101-0/+20
|
* EVP_Digest() takes one more parameter.Richard Levitte2001-07-101-4/+4
|
* Fix PRNG.Bodo Möller2001-07-101-21/+29
|
* [Forgotten commits?]Richard Levitte2001-07-021-2/+2
| | | | | Changes to have OpenSSL compile on OS/2. Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
* Changes to have OpenSSL compile on OS/2.Richard Levitte2001-07-022-1/+148
| | | | Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
* make updateRichard Levitte2001-06-231-21/+56
|
* Fix memory leak when RAND is used: need to cleanupDr. Stephen Henson2001-06-211-2/+3
| | | | RANDs ENGINE reference in ENGINE_cleanup().
* Change all calls to low level digest routines in the library andDr. Stephen Henson2001-06-202-44/+15
| | | | | | | | | | applications to use EVP. Add missing calls to HMAC_cleanup() and don't assume HMAC_CTX can be copied using memcpy(). Note: this is almost identical to the patch submitted to openssl-dev by Verdon Walker <VWalker@novell.com> except some redundant EVP_add_digest_()/EVP_cleanup() calls were removed and some changes made to avoid compiler warnings.
* ERR_peek_error() returns "unsigned long".Lutz Jänicke2001-06-071-1/+2
|
* 'make update'Richard Levitte2001-06-051-7/+10
|
* Increase ENTROPY_NEEDED to support Rijndael's larger key size.Lutz Jänicke2001-05-151-1/+1
|
* Do not forget to increment the pointers...Richard Levitte2001-05-151-0/+2
|
* Low-case the names of the system routines, since some versions ofRichard Levitte2001-05-151-2/+2
| | | | | DEC C only have them declared that way (it doesn't really matter, since the linker is case-insensitive by default)
* Make it so the compiler doesn't inform me about the dollars in someRichard Levitte2001-05-141-0/+3
| | | | symbols.
* A randomizer for OpenVMS, using the statistics that are easilyRichard Levitte2001-05-131-5/+63
| | | | | | reachable. It's completely untested for now. To be done in the next few days.
* make updateRichard Levitte2001-05-071-5/+7
|
* Some platforms (most notably Windows) do not have a $HOME by default.Richard Levitte2001-05-031-1/+7
| | | | | | | | | For those, unless the environment variables RANDFILE or HOME are defined (the default case!), RAND_file_name() will return NULL. This change adds a default HOME for those platforms. To add a default HOME for any platform, just define DEFAULT_HOME in the proper place, wrapped in appropriate #ifdef..#endif, in e_os.h.
* In RSA, DSA, DH, and RAND - if the "***_new()" function fails because theGeoff Thorpe2001-04-303-2/+7
| | | | ENGINE code does not return a default, set an error.
* fix md_rand.c locking bugsBodo Möller2001-04-182-20/+54
|
* Some more tweaks from ENGINE code.Geoff Thorpe2001-04-182-8/+8
| | | | | | | | | | | | Previously RAND_get_rand_method was returning a non-const pointer, but it should be const. As with all other such cases, METHOD pointers are stored and returned as "const". The only methods one should be able to alter are methods "local" to the relevant code, in which case a non-const handle to the methods should already exist. This change has been forced by the constifying of the ENGINE code (before which RAND_METHOD was the only method pointer in an ENGINE structure that was not constant).
* 'make update'Geoff Thorpe2001-04-181-2/+2
|
* Make sure OPENSSL_SYS_... is defined when we need it.Bodo Möller2001-04-031-0/+1
|
* make updateRichard Levitte2001-03-241-2/+2
|
* Use stdlib.h to get size_t.Richard Levitte2001-03-211-7/+1
|
* New cofiguration for Unixwre and SCO,with slightly better granularity. ↵Richard Levitte2001-03-181-0/+7
| | | | Contributed by Tim Rice <tim@multitalents.net>
* error codes are longs, not intsBodo Möller2001-03-151-2/+2
|
* Typo.Dr. Stephen Henson2001-03-101-1/+1
|
* Instead of telling both 'make' and the user that ranlibBodo Möller2001-03-091-2/+1
| | | | | | errors can be tolerated, hide the error from 'make'. This gives shorter output both if ranlib fails and if it works.
* old MSVC versions don't have rdtscUlf Möller2001-03-081-1/+2
| | | | | | use _emit instead Pointed out by Jeremy Cooper <jeremy@baymoo.org>
* Move ec.h to ec2.h because it is not compatible with what we will use.Bodo Möller2001-03-051-4/+3
| | | | | | | Add EC vaporware: change relevant Makefiles and add some empty source files. "make update".
* make updateRichard Levitte2001-02-261-11/+10
| | | | | Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
* undo previous change: "e_os.h" is now the official name for the fileBodo Möller2001-02-221-1/+1
| | | | | to include (but the OpenSSL_0_9_6-stable branche still has inconsistencies)
* include e_os.h as "openssl/e_os.h" (as elsewhere)Bodo Möller2001-02-221-1/+1
|
* e_os.h does not belong with the exported headers. Do not put it thereRichard Levitte2001-02-222-13/+13
| | | | | | | | and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
* Since RAND_file_name() uses strlen, make sure the number that'sRichard Levitte2001-02-222-13/+11
| | | | | compared to it has the type size_t. Included the needed headers to make that happen.
* Include OpenSSL header files earlier so macros like OPENSSL_SYS_VMSRichard Levitte2001-02-201-4/+4
| | | | get a chance to be defined.
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-206-10/+10
| | | | | | | missed any. This compiles and runs on Linux, and external applications have no problems with it. The definite test will be to build this on VMS.
* Make sure time() is properly declared.Richard Levitte2001-02-191-0/+1
|
* Make all configuration macros available for application by makingRichard Levitte2001-02-195-17/+22
| | | | | | | | | | | | sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
* New function OPENSSL_issetugid(). Needs more work.Ulf Möller2001-02-141-10/+14
|
* use <= instead of ==Ulf Möller2001-02-081-1/+1
|
* point out that RAND_load_file() etc are only for seed files, not forUlf Möller2001-02-081-0/+3
| | | | entropy devices or sockets.
* Modify access to EGD socket to deal with EINTR etc that can appearLutz Jänicke2001-02-071-67/+156
| | | | | | during connect() and other calls. First seen on Unixware-7. Unify access to EGD-socket for all RAND_egd_*() methods.
* Make depend.Ben Laurie2001-02-041-6/+15
|
* Disable RegQueryValueEx() call.Bodo Möller2001-01-121-0/+5
| | | | | Problem reported by "Wolfgang Marczy" <WMarczy@topcall.co.at> in a message to openssl-dev (19 Dec 2000 13:40:51 +0100).
* OCSP basic response verify. Very incompleteDr. Stephen Henson2001-01-111-1/+1
| | | | | | | | | | but will verify the signatures on a response and locate the signers certifcate. Still needs to implement a proper OCSP certificate verify. Fix warning in RAND_egd().
* Add automatic query of EGD sockets to RAND_poll(). The EGD sockets areLutz Jänicke2001-01-093-12/+67
| | | | | | | only queried when the /dev/[u]random devices did not return enough entropy. Only the amount of entropy missing to reach the required minimum is queried, as EGD may be drained. Queried locations are: /etc/entropy, /var/run/egd-pool