aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix crypto/ec/ec_mult.c to work properly with scalars of value 0Bodo Möller2007-05-221-1/+2
|
* Fix duplicate error number.Ben Laurie2007-04-051-1/+1
|
* Update from 0.9.8 stable. Eliminate duplicate error codes.Dr. Stephen Henson2006-11-211-1/+0
|
* Introduce limits to prevent malicious keys being able toBodo Möller2006-09-281-2/+10
| | | | | cause a denial of service. (CVE-2006-2940) [Steve Henson, Bodo Moeller]
* Fix various error codes to match functions.Dr. Stephen Henson2006-07-171-0/+2
|
* Someone made a mistake, and some function and reason codes gotRichard Levitte2006-05-121-7/+7
| | | | duplicate numbers. Renumbering.
* Provisional support for EC pkey method, supporting ECDH and ECDSA.Dr. Stephen Henson2006-04-161-0/+17
|
* New utility pkeyparam. Enhance and bugfix algorithm specific parameterDr. Stephen Henson2006-03-281-0/+1
| | | | functions to support it.
* Initial support for pluggable public key ASN1 support. Process most publicDr. Stephen Henson2006-03-201-0/+7
| | | | | | key ASN1 handling through a single EVP_PKEY_ASN1_METHOD structure and move the spaghetti algorithm specific code to a single ASN1 module for each algorithm.
* Avoid contradictive error code assignments.Bodo Möller2006-01-081-1/+0
| | | | "make errors".
* Some error code cleanups (SSL lib. used SSL_R_... codes reserved for alerts)Bodo Möller2006-01-081-1/+2
|
* add some doxygen commentsNils Larsch2005-09-191-118/+665
|
* fix function name in errorNils Larsch2005-09-031-1/+1
|
* ecc api cleanup; summary:Nils Larsch2005-05-161-21/+22
| | | | | | | | | | - 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
* Fix more error codes.Bodo Möller2005-05-111-1/+1
| | | | | (Also improve util/ck_errf.pl script, and occasionally fix source code formatting.)
* give EC_GROUP_new_by_nid a more meanigful name:Nils Larsch2005-05-101-3/+4
| | | | EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
* give EC_GROUP_*_nid functions a more meaningful nameNils Larsch2005-05-081-2/+2
| | | | | EC_GROUP_get_nid -> EC_GROUP_get_curve_name EC_GROUP_set_nid -> EC_GROUP_set_curve_name
* Fix various incorrect error function codes.Bodo Möller2005-04-261-4/+7
| | | | ("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
* More overwritten stuff...Dr. Stephen Henson2005-04-121-0/+8
|
* Rebuild error codes.Dr. Stephen Henson2005-04-121-4/+0
|
* remove unused recp methodNils Larsch2005-04-041-3/+0
|
* Give everything prototypes (well, everything that's actually used).Ben Laurie2005-03-311-6/+3
|
* Deprecate the recursive includes of bn.h from various API headers (asn1.h,Geoff Thorpe2004-05-171-1/+3
| | | | | | 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.
* Get rid of bogus warning when compiling with Sun vendor compiler.Andy Polyakov2004-01-241-0/+8
|
* updates for draft-ietf-tls-ecc-03.txtBodo Möller2003-07-221-0/+1
| | | | | Submitted by: Douglas Stebila Reviewed by: Bodo Moeller
* new function EC_GROUP_cmp() (used by EVP_PKEY_cmp())Bodo Möller2003-07-211-0/+3
| | | | Submitted by: Nils Larsch
* Make sure we get the definition of OPENSSL_NO_EC.Richard Levitte2003-03-201-0/+2
|
* ECPublicKey_set_octet_string and ECPublicKey_get_octet_stringBodo Möller2003-02-211-8/+8
| | | | | | | | | | | | behaviour was not quite consistent with the conventions for d2i and i2d functions as far as handling of the 'out' or 'in' pointer is concerned. This patch changes this behaviour, and renames the functions to o2i_ECPublicKey and i2o_ECPublicKey (not 'd2i' and 'i2d' because the external encoding is just a raw object string without any DER icing). Submitted by: Nils Larsch
* implement fast point multiplication with precomputationBodo Möller2003-02-061-7/+9
| | | | | Submitted by: Nils Larsch Reviewed by: Bodo Moeller
* 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>
* clean up new code for NIST primesBodo Möller2002-10-281-1/+2
| | | | create new lock CRYPTO_LOCK_BN to avoid race condition
* fast reduction for NIST curvesBodo Möller2002-10-281-1/+12
| | | | Submitted by: Nils Larsch
* change API for looking at the internal curve listBodo Möller2002-09-021-6/+10
| | | | Submitted by: Nils Larsch
* less specific interface for EC_GROUP_get_basis_typeBodo Möller2002-08-261-3/+8
| | | | Submitted by: Nils Larsch, Bodo Moeller
* move EC_GROUP_get_basis_type() from ec_lib.c to ec_asn1.cBodo Möller2002-08-261-6/+7
|
* ASN1 for binary curvesBodo Möller2002-08-261-0/+8
| | | | Submitted by: Nils Larsch
* Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),Bodo Möller2002-08-151-159/+75
| | | | | | | EC_GROUP_new_by_nid() should be enough. This avoids a lot of redundancy. Submitted by: Nils Larsch
* Add ECDH support.Bodo Möller2002-08-091-0/+1
| | | | | | | | | | | | | 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-071-27/+75
| | | | Submitted by: Nils Larsch
* Rename implementations of method functions so that they matchBodo Möller2002-08-021-15/+12
| | | | | | | | | | | | | the new method names where _GF... suffixes have been removed. Revert changes to ..._{get/set}_Jprojective_coordinates_...: The current implementation for ECC over binary fields does not use projective coordinates, and if it did, it would not use Jacobian projective coordinates; so it's OK to use the ..._GFp prefix for all this. Add author attributions to some files so that it doesn't look as if Sun wrote all of this :-)
* there is no alternative EC_METHOD for curves over GF(2^m) (yet)Bodo Möller2002-08-021-2/+1
|
* add support for elliptic curves over binary fieldsBodo Möller2002-08-021-7/+120
| | | | | | | Submitted by: Duglas Stebila <douglas.stebila@sun.com>, Sheueling Chang <sheueling.chang@sun.com> (CHANGES entries by Bodo Moeller)
* Use SEC1 format for EC private keys.Bodo Möller2002-07-261-0/+12
| | | | | | This is not ECDSA specific, so it's now PEM_STRING_ECPRIVATEKEY etc. Submitted by: Nils Larsch <nlarsch@compuserve.de>
* Replace 'ecdsaparam' commandline utility by 'ecparam'Bodo Möller2002-07-141-0/+8
| | | | | | | | | | | | | | (the same keys can be used for ECC schemes other than ECDSA) and add some new options. Similarly, use string "EC PARAMETERS" instead of "ECDSA PARAMETERS" in 'PEM' format. Fix ec_asn1.c (take into account the desired conversion form). 'make update'. Submitted by: Nils Larsch
* Implement handling of EC parameter seeds (new functionsBodo Möller2002-06-181-6/+20
| | | | | | | | EC_GROUP_set_seed(), EC_GROUP_get0_seed(), EC_GROUP_get_seed_len()). New functions ECPKParameters_print(), ECPKParameters_print_fp(). Submitted by: Nils Larsch
* simplify asn1_flagBodo Möller2002-06-121-5/+4
| | | | | Submitted by: Nils Larsch Reviewed by: Bodo Moeller
* move ECC ASN1 that is not specific to ECDSA into crypto/ec/,Bodo Möller2002-06-101-0/+58
| | | | | | and make some appropriate changes to the EC library. Submitted by: Nils Larsch
* New functions EC_POINT_point2bn(), EC_POINT_bn2point(), ↵Bodo Möller2002-05-301-0/+10
| | | | | | EC_POINT_point2hex(), EC_POINT_hex2point() Submitted by: Nils Larsch
* Change internals of the EC library so that the functionsBodo Möller2002-05-081-7/+7
| | | | | | | | EC_GROUP_{set_generator,get_generator,get_order,get_cofactor} are implemented directly in crypto/ec/ec_lib.c and not dispatched to methods. Also fix EC_GROUP_copy to copy the NID.
* Apply OID fixes for elliptic curves as supplied byLutz Jänicke2002-04-081-4/+4
| | | | Nils Larsch <nlarsch@compuserve.de>.