summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
AgeCommit message (Collapse)Author
2005-11-02compile sstrsep only if HAVE_FORK is defined; patch supplied by Johan Gill ↵Nils Larsch
<johane@lysator.liu.se>
2005-07-16makeNils Larsch
./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa] make depend all test work again PR: 1159
2005-05-31changes from 0.9.8Nils Larsch
2005-05-22OPENSSL_NO_SHA512 to mask even SHA512_CTX declaration. This is done toAndy Polyakov
make no-sha512 more effective on platforms, which don't support 64-bit integer type of *any* kind.
2005-05-16ecc api cleanup; summary:Nils Larsch
- hide the EC_KEY structure definition in ec_lcl.c + add some functions to use/access the EC_KEY fields - change the way how method specific data (ecdsa/ecdh) is attached to a EC_KEY - add ECDSA_sign_ex and ECDSA_do_sign_ex functions with additional parameters for pre-computed values - rebuild libeay.num from 0.9.7
2005-05-16Implement fixed-window exponentiation to mitigate hyper-threadingBodo Möller
timing attacks. BN_FLG_EXP_CONSTTIME requests this algorithm, and this done by default for RSA/DSA/DH private key computations unless RSA_FLAG_NO_EXP_CONSTTIME/DSA_FLAG_NO_EXP_CONSTTIME/ DH_FLAG_NO_EXP_CONSTTIME is set. Submitted by: Matthew D Wood Reviewed by: Bodo Moeller
2005-05-10give EC_GROUP_new_by_nid a more meanigful name:Nils Larsch
EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
2005-04-29add 192 bit prime curve to the command line optionsNils Larsch
2005-04-23change prototype of the ecdh KDF: make input parameter const and the outlen ↵Nils Larsch
argument more flexible
2005-03-20add new curves to the loop (with some cleanup from me)Nils Larsch
Submitted by: Jean-Luc Duval Reviewed by: Nils Larsch
2004-07-25'apps/openssl dgst -help' update and minor apps/speed.c update.Andy Polyakov
2004-06-28Make the tests of EVP operations without padding. As a consequence,Richard Levitte
there's no need for a larger BUFSIZE any more... PR: 904
2004-06-28Make sure that the buffers are large enough to contain padding.Richard Levitte
PR: 904
2004-05-31Make sha-256/-512 naming in speed.c consistent with their names as theyAndy Polyakov
will appear at EVP leyer.
2004-05-20SHA-256/-512 test and benchmark.Andy Polyakov
2004-05-17Remove some unnecessary recursive includes from the internal apps.h header,Geoff Thorpe
and include bn.h in those C files that need bignum functionality.
2004-04-19header cleanup in apps/Geoff Thorpe
2004-01-08Cover all DSA setups when running testsLutz Jänicke
PR: #748 Submitted by: Kirill Kochetkov <kochet@ixbt.com>
2003-11-28Netware-specific changes,Richard Levitte
PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
2003-11-18Make sure to initialize AES counters to obtain proper results.Lutz Jänicke
Submitted by: Kirill Kochetkov <kochet@ixbt.com> PR: #748
2003-10-29For whatever reason (compiler or header bugs), at least one commonly-usedGeoff Thorpe
linux system (namely mine) chokes on our definitions and uses of the "HZ" symbol in crypto/tmdiff.[ch] and apps/speed.c as a "bad function cast" (when in fact there is no function casting involved at all). In both cases, it is easily worked around by not defining a cast into the macro and jiggling the expressions slightly. In addition - this highlights some cruft in openssl that needs sorting out. The tmdiff.h header is exported as part of the openssl API despite the fact that it is ugly as the driven sludge and not used anywhere in the library, applications, or utilities. More weird still, almost identical code exists in apps/speed.c though it looks to be slightly tweaked - so either tmdiff should be updated and used by speed.c, or it should be dumped because it's obviously not useful enough. Rather than removing it for now, I've changed the API for tmdiff to at least make sense. This involves taking the object type (MS_TM) from the implementation and using it in the header rather than using "char *" in the API and casting mercilessly in the code (ugh). If someone doesn't like "MS_TM" and the "ms_time_***" naming, by all means change it. This should be a harmless improvement, because the existing API is clearly not very useful (eg. we reimplement it rather than using it in our own utils). However, someone still needs to take a hack at consolidating speed.c and tmdiff.[ch] somehow.
2003-10-10Avoid warnings: add missing prototype, don't shadow.Dr. Stephen Henson
2003-07-22updates for draft-ietf-tls-ecc-03.txtBodo Möller
Submitted by: Douglas Stebila Reviewed by: Bodo Moeller
2003-04-03Correct a lot of printing calls. Remove extra arguments...Richard Levitte
2003-02-28- new ECDH_compute_key interface (KDF is no longer a fixed built-in)Bodo Möller
- bugfix: in ECDH_compute_key, pad x coordinate with leading zeros if necessary
2003-02-14Make it possible to disable OCSP, the speed application, and the use of sockets.Richard Levitte
PR: 358
2003-02-08avoid coredumpBodo Möller
Submitted by: Nils Larsch
2003-02-06implement fast point multiplication with precomputationBodo Möller
Submitted by: Nils Larsch Reviewed by: Bodo Moeller
2003-01-30Add the possibility to build without the ENGINE framework.Richard Levitte
PR: 287
2003-01-04Fix leak.Dr. Stephen Henson
2002-12-03EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte
exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
2002-11-18Make sure sysconf exists (it doesn't in the VMS C RTL lesser than version 7).Richard Levitte
2002-11-13Security fixes brought forward from 0.9.7.Ben Laurie
2002-10-29Sun has agreed to removing the covenant language from most files.Bodo Möller
Submitted by: Sheueling Chang <Sheueling.Chang@Sun.COM>
2002-10-28fast reduction for NIST curvesBodo Möller
Submitted by: Nils Larsch
2002-09-25-elapsed is also useful when using gettimeofdayRichard Levitte
2002-08-15Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),Bodo Möller
EC_GROUP_new_by_nid() should be enough. This avoids a lot of redundancy. Submitted by: Nils Larsch
2002-08-12get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)Bodo Möller
Submitted by: Nils Larsch
2002-08-09fix warningsBodo Möller
2002-08-09Add ECDH support.Bodo Möller
Additional changes: - use EC_GROUP_get_degree() in apps/req.c - add ECDSA and ECDH to apps/speed.c - adds support for EC curves over binary fields to ECDSA - new function EC_KEY_up_ref() in crypto/ec/ec_key.c - reorganize crypto/ecdsa/ecdsatest.c - add engine support for ECDH - fix a few bugs in ECDSA engine support Submitted by: Douglas Stebila <douglas.stebila@sun.com>
2002-03-22Merge in DES changed from 0.9.7-stable.Richard Levitte
2002-03-18Fix bugs and typos.Bodo Möller
Add some WTLS curves. New function EC_GROUP_check() (this will probably be implemented differently soon). Submitted by: Nils Larsch Reviewed by: Bodo Moeller
2002-03-14Initialize cipher context in KRB5Dr. Stephen Henson
("D. Russell" <russelld@aol.net>) Allow HMAC functions to use an alternative ENGINE.
2002-03-14Fixes for 'no-hw' combined with 'no-SOME_CIPHER'.Bodo Möller
Fix dsaparam usage output. Submitted by: Nils Larsch
2002-03-05fix printf callBodo Möller
2002-02-22Config code updates.Dr. Stephen Henson
CONF_modules_unload() now calls CONF_modules_finish() automatically. Default use of section openssl_conf moved to CONF_modules_load() Load config file in several openssl utilities. Most utilities now load modules from the config file, though in a few (such as version) this isn't done because it couldn't be used for anything. In the case of ca and req the config file used is the same as the utility itself: that is the -config command line option can be used to specify an alternative file.
2002-02-14Add the configuration target VxWorks.Richard Levitte
2002-01-29Apply patch from Toomas Kiisk <vix@cyber.ee> and complete it.Richard Levitte
2002-01-02Implement speed measurement for AES.Richard Levitte
Submitted by Stephen Sprunk <stephen@sprunk.org> as part of his AES integration patch.
2002-01-02RSA counter should only be defined of RSA is available.Richard Levitte