aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecdsa
Commit message (Collapse)AuthorAgeFilesLines
* fix typoNils Larsch2005-07-171-1/+1
|
* makeNils Larsch2005-07-161-6/+1
| | | | | | | | ./configure no-deprecated [no-dsa] [no-dh] [no-ec] [no-rsa] make depend all test work again PR: 1159
* Wrap the inclusion of openssl/engine.h with a protective check forRichard Levitte2005-06-231-0/+2
| | | | the absence of OPENSSL_NO_ENGINE.
* fix typo, add prototypeNils Larsch2005-05-201-1/+2
|
* Further BUILDENV refinement, further fool-proofing of Makefiles andAndy Polyakov2005-05-161-56/+29
| | | | | [most importantly] put back dependencies accidentaly eliminated in check-in #13342.
* ecc api cleanup; summary:Nils Larsch2005-05-166-116/+140
| | | | | | | | | | - 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
* Fool-proofing MakefilesAndy Polyakov2005-05-151-4/+1
|
* give EC_GROUP_new_by_nid a more meanigful name:Nils Larsch2005-05-101-3/+3
| | | | EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
* Update util/ck_errf.pl script, and have it run automaticallyBodo Möller2005-05-091-9/+11
| | | | | | | | during "make errors" and thus during "make update". Fix lots of bugs that util/ck_errf.pl can detect automatically. Various others of these are still left to fix; that's why "make update" will complain loudly when run now.
* hide the definition of ECDSA_METHOD and ECDSA_DATA (and mutatis mutandisNils Larsch2005-04-298-46/+118
| | | | for ecdh)
* Fix various incorrect error function codes.Bodo Möller2005-04-264-6/+6
| | | | ("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
* more constNils Larsch2005-04-223-6/+9
|
* - use BN_set_negative and BN_is_negative instead of BN_set_signNils Larsch2005-04-221-2/+2
| | | | | | and BN_get_sign - implement BN_set_negative as a function - always use "#define BN_is_zero(a) ((a)->top == 0)"
* Rebuild error codes.Dr. Stephen Henson2005-04-121-14/+17
|
* Blow away Makefile.ssl.Ben Laurie2005-03-301-4/+3
|
* Don't use $(EXHEADER) directly in for loops, as most shells will breakRichard Levitte2004-11-021-1/+1
| | | | | | if $(EXHEADER) is empty. Notified by many, solution suggested by Carson Gaspar <carson@taltos.org>
* Update ECDSA and ECDH for OPENSSL_NO_ENGINE.Geoff Thorpe2004-10-213-0/+12
| | | | | Reported by: Maxim Masiutin Submitted by: Nils Larsch
* Quick fix.Geoff Thorpe2004-07-161-1/+1
| | | | Submitted by: Nils Larsch
* Correct the return codes for ecdsatest.Geoff Thorpe2004-06-141-4/+4
| | | | | Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
* Deprecate the recursive includes of bn.h from various API headers (asn1.h,Geoff Thorpe2004-05-173-1/+5
| | | | | | dh.h, dsa.h, ec.h, ecdh.h, ecdsa.h, rsa.h), as the opaque bignum types are already declared in ossl_typ.h. Add explicit includes for bn.h in those C files that need access to structure internals or API functions+macros.
* (oops) Apologies all, that last header-cleanup commit was from the wrongGeoff Thorpe2004-04-191-0/+1
| | | | | tree. This further reduces header interdependencies, and makes some associated cleanups.
* Reduce header interdependencies, initially in engine.h (the rest of theGeoff Thorpe2004-04-192-5/+9
| | | | | | | | | changes are the fallout). As this could break source code that doesn't directly include headers for interfaces it uses, changes to recursive includes are covered by the OPENSSL_NO_DEPRECATED symbol. It's better to define this when building and using openssl, and then adapt code where necessary - this is how to stay current. However the mechanism exists for the lethargic.
* A cleanup of the ecs_ossl.c code and some (doxygen) comments for ecdsa.hGeoff Thorpe2004-02-222-149/+254
| | | | | Submitted by: Nils Larsch Reviewed by: Geoff Thorpe
* Skip a curve with generator of non-prime order.Ulf Möller2003-12-061-0/+2
| | | | Submitted by: Nils Larsch
* re-enable the test, keeping the original method for RAND_pseudo_bytesUlf Möller2003-11-161-3/+1
| | | | | which is used by BN_DEBUG_RAND Submitted by: Nils Larsch
* The x9.62 tests replace the PRNG with specific numbers,Ulf Möller2003-11-161-3/+8
| | | | | | | | so don't run them if BN_DEBUG_RAND is defined. Also, fix another small bug. Submitted by: Nils Larsch
* make updateRichard Levitte2003-05-011-30/+42
|
* Make sure we get the definition of OPENSSL_NO_ECDSA.Richard Levitte2003-03-202-0/+4
|
* Make sure we get the definition of OPENSSL_NO_ERR.Richard Levitte2003-03-201-0/+1
|
* Fix initialization sequence to prevent freeing of unitialized objects.Lutz Jänicke2003-01-151-2/+5
| | | | | | Submitted by: Nils Larsch <nla@trustcenter.de> PR: 459
* This is a first-cut at improving the callback mechanisms used inGeoff Thorpe2002-12-081-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | key-generation and prime-checking functions. Rather than explicitly passing callback functions and caller-defined context data for the callbacks, a new structure BN_GENCB is defined that encapsulates this; a pointer to the structure is passed to all such functions instead. This wrapper structure allows the encapsulation of "old" and "new" style callbacks - "new" callbacks return a boolean result on the understanding that returning FALSE should terminate keygen/primality processing. The BN_GENCB abstraction will allow future callback modifications without needing to break binary compatibility nor change the API function prototypes. The new API functions have been given names ending in "_ex" and the old functions are implemented as wrappers to the new ones. The OPENSSL_NO_DEPRECATED symbol has been introduced so that, if defined, declaration of the older functions will be skipped. NB: Some openssl-internal code will stick with the older callbacks for now, so appropriate "#undef" logic will be put in place - this is in case the user is *building* openssl (rather than *including* its headers) with this symbol defined. There is another change in the new _ex functions; the key-generation functions do not return key structures but operate on structures passed by the caller, the return value is a boolean. This will allow for a smoother transition to having key-generation as "virtual function" in the various ***_METHOD tables.
* Don't compute timings here, we can do this elsewhere.Bodo Möller2002-12-041-453/+352
| | | | | | Include X9.62 signature examples. Submitted by: Nils Larsch
* Cleanse memory using the new OPENSSL_cleanse() function.Richard Levitte2002-11-281-1/+1
| | | | I've covered all the memset()s I felt safe modifying, but may have missed some.
* make updateRichard Levitte2002-11-141-4/+6
|
* Security fixes brought forward from 0.9.7.Ben Laurie2002-11-131-6/+4
|
* implement and use new macros BN_get_sign(), BN_set_sign()Bodo Möller2002-11-041-2/+4
| | | | Submitted by: Nils Larsch
* Sun has agreed to removing the covenant language from most files.Bodo Möller2002-10-291-13/+0
| | | | Submitted by: Sheueling Chang <Sheueling.Chang@Sun.COM>
* 'broken' PKCS #8 format does not apply to ECDSABodo Möller2002-10-281-45/+0
| | | | Submitted by: Nils Larsch
* Use double dashes so makedepend doesn't misunderstand the flags weRichard Levitte2002-10-091-1/+1
| | | | | | | give it. For 0.9.7 and up, that means util/domd needs to remove those double dashes from the argument list when gcc is used to find the dependencies.
* Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),Bodo Möller2002-08-151-18/+18
| | | | | | | EC_GROUP_new_by_nid() should be enough. This avoids a lot of redundancy. Submitted by: Nils Larsch
* mem* functions are declared in string.h.Richard Levitte2002-08-101-0/+1
|
* make updateBodo Möller2002-08-091-18/+20
|
* fix warningsBodo Möller2002-08-091-0/+9
|
* Add ECDH support.Bodo Möller2002-08-091-134/+76
| | | | | | | | | | | | | 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>
* use a generic EC_KEY structure (EC keys are not ECDSA specific)Bodo Möller2002-08-0711-1048/+454
| | | | Submitted by: Nils Larsch
* make updateRichard Levitte2002-08-011-4/+7
|
* "make update"Lutz Jänicke2002-07-301-59/+46
|
* Use SEC1 format for EC private keys.Bodo Möller2002-07-267-365/+193
| | | | | | This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc. Submitted by: Nils Larsch <nlarsch@compuserve.de>
* Implement handling of EC parameter seeds (new functionsBodo Möller2002-06-181-1/+1
| | | | | | | | EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()). New functions ECPKParameters_print(), ECPKParameters_print_fp(). Submitted by: Nils Larsch
* Fix warnings.Ben Laurie2002-06-111-0/+2
|