aboutsummaryrefslogtreecommitdiffstats
path: root/apps/speed.c
Commit message (Collapse)AuthorAgeFilesLines
* Really add the EVP and all of the DES changes.Ben Laurie2001-07-301-7/+9
|
* openssl speed is quite useful for testing hardware support (among otherGeoff Thorpe2001-07-111-1/+1
| | | | | | | things), especially as the RSA keys are fixed. However, DSA only fixes the DSA parameters and then generates the public and private components on the fly each time - this commit hard-codes some sampled key values so that this is no longer the case.
* Don't update argc, argv for decrypt flag!Ben Laurie2001-07-081-4/+0
|
* Speed test decrypt EVP operations.Ben Laurie2001-07-081-4/+22
|
* Use apps_shutdown() in all applications, in case someone decides notRichard Levitte2001-06-231-0/+1
| | | | | | | to go the monolith way (does anyone do that these days?). NOTE: a few applications are missing in this commit. I've a few more changes in them that I haven't tested yet.
* Change all calls to low level digest routines in the library andDr. Stephen Henson2001-06-191-6/+7
| | | | | | | | | | 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.
* Provide an application-common setup function for engines and use itRichard Levitte2001-06-181-15/+2
| | | | everywhere.
* NetBSD and OpenBSD use TOD as wellRichard Levitte2001-04-111-1/+1
|
* Add missing '#ifndef OPENSSL_NO_DSA'.Bodo Möller2001-03-221-0/+2
|
* Correct a typo which might have lead to a dump.Richard Levitte2001-03-161-1/+1
| | | | Noted by Martin Kraemer <Martin.Kraemer@Fujitsu-Siemens.com>
* MacOSX doesn't have ftime().Richard Levitte2001-02-271-1/+1
| | | | Spotted by Pieter Bowman <bowman@math.utah.edu>
* Use new-style system-id macros everywhere possible. I hope I haven'tRichard Levitte2001-02-201-2/+2
| | | | | | | 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 all configuration macros available for application by makingRichard Levitte2001-02-191-116/+121
| | | | | | | | | | | | 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.
* rsa_num is not used with NO_RSAUlf Möller2001-01-091-0/+2
|
* remember the problem with ftime()Ulf Möller2000-12-021-1/+1
|
* avoid segmentation faultBodo Möller2000-11-291-1/+4
|
* Better handling of EVP names, add EVP to speed.Ben Laurie2000-11-201-5/+49
|
* Remove references to RSAref. The glue library is but a memory to fadeRichard Levitte2000-11-081-1/+1
| | | | away now...
* The consequence of constification is that to pass the address to aRichard Levitte2000-11-061-1/+1
| | | | | pointer to a const double pointe parameter, the pointer must point to const data as well.
* NetBSD doesn't use ftime().Richard Levitte2000-10-271-1/+1
|
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-3/+38
| | | | At the same time, add VMS support for Rijndael.
* Oops, if the target only had USE_TOD, an error message was issued...Richard Levitte2000-09-211-1/+1
|
* Portability patch for HP MPE/iX. Submitted by Mark Bixby <mark_bixby@hp.com>Richard Levitte2000-09-211-1/+1
|
* AIX doesn't like ftime() either.Richard Levitte2000-09-201-1/+1
|
* BSDI only supports ftime() through libcompat, which means it'sRichard Levitte2000-09-191-1/+1
| | | | better not to use it.
* FreeBSD only supports ftime() through libcompat, which means it'sRichard Levitte2000-09-191-1/+1
| | | | better not to use it.
* ftime() is not supported on SGI.Richard Levitte2000-09-181-1/+1
| | | | Reported by Steve Robb <steve@eu.c2.net>
* rsa_num2 is no longer used, so remove it.Richard Levitte2000-09-141-1/+1
|
* Better error checking for RSA and DSA signature and verification speedRichard Levitte2000-09-121-65/+112
| | | | | tests. This was required to not get mysterious errors when they wouldn't quite want to work.
* DSA_verify() and DSA_sign() might return -1...Richard Levitte2000-09-111-2/+2
|
* OpenBSD doesn't support timeb.Richard Levitte2000-09-111-1/+1
|
* MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte2000-08-141-21/+99
| | | | test utility, I added the bits to get a EVP interface, the command line utility and the speed test
* Unicos doesn't have sys/timeb.h. Fix it by defining the TIMEB macro unless ↵Richard Levitte2000-08-031-1/+16
| | | | on Unicos.
* Use up-to-date functions.Ben Laurie2000-07-011-7/+56
|
* Give the user the option to measure real time instead of user CPU time.Richard Levitte2000-06-301-71/+88
|
* There have been a number of complaints from a number of sources that namesRichard Levitte2000-06-011-4/+4
| | | | | | | | | like Malloc, Realloc and especially Free conflict with already existing names on some operating systems or other packages. That is reason enough to change the names of the OpenSSL memory allocation macros to something that has a better chance of being unique, like prepending them with OPENSSL_. This change includes all the name changes needed throughout all C files.
* pseudo-seed for the PRNG before testing DSAUlf Möller2000-03-011-0/+6
|
* Make gcc 2.95.2 happy again, even under ``-Wall -Wshadow -Wpointer-arith ↵Ralf S. Engelschall2000-02-111-0/+2
| | | | | | -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline''.
* It doesn't make sense to try see if these variables are negative, since ↵Richard Levitte2000-01-171-2/+2
| | | | they're unsigned.
* New function RAND_pseudo_bytes() generated pseudorandom numbers thatUlf Möller2000-01-161-2/+2
| | | | are not guaranteed to be unpredictable.
* make no-des and no-rc2 work.Bodo Möller2000-01-071-1/+6
|
* Add functions des_set_key_checked, des_set_key_unchecked.Bodo Möller1999-12-031-3/+3
| | | | | | | | | Never use des_set_key (it depends on the global variable des_check_key), but usually des_set_key_unchecked. Only destest.c bothered to look at the return values of des_set_key, but it did not set des_check_key -- if it had done so, most checks would have failed because of wrong parity and because of weak keys.
* Fix warnings.Ben Laurie1999-10-031-4/+5
|
* Modify the 'speed' application so it now uses RSA_sign and RSA_verifyDr. Stephen Henson1999-10-021-12/+11
| | | | instead of RSA_private_encrypt and RSA_public_decrypt
* Fix typo in error message.Bodo Möller1999-09-251-1/+1
| | | | Submitted by: Alan Batie
* typoBodo Möller1999-09-211-1/+1
|
* some more patches for avoiding problems with non-automatic variablesBodo Möller1999-09-081-0/+1
|
* Oops... forgot the other RSA_NULL patches...Dr. Stephen Henson1999-09-081-0/+2
|
* More no-xxx option tweaks.Ulf Möller1999-06-301-2/+4
|
* Fix no-hmac and no-ripemd.Ulf Möller1999-06-291-1/+3
|