aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_curve.c
Commit message (Collapse)AuthorAgeFilesLines
* free NULL cleanup 7Rich Salz2015-04-301-14/+7
| | | | | | | | | | | This gets BN_.*free: BN_BLINDING_free BN_CTX_free BN_FLG_FREE BN_GENCB_free BN_MONT_CTX_free BN_RECP_CTX_free BN_clear_free BN_free BUF_MEM_free Also fix a call to DSA_SIG_free to ccgost engine and remove some #ifdef'd dead code in engines/e_ubsec. Reviewed-by: Richard Levitte <levitte@openssl.org>
* free NULL cleanup.Rich Salz2015-03-251-2/+1
| | | | | | | This gets EC_GROUP_clear_free EC_GROUP_free, EC_KEY_free, EC_POINT_clear_free, EC_POINT_free Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Dead code cleanup: crypto/ec,ecdh,ecdsaRich Salz2015-02-021-20/+0
| | | | Reviewed-by: Andy Polyakov <appro@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-3299/+3088
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Fix source where indent will not be able to copeMatt Caswell2015-01-221-516/+1369
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* remove OPENSSL_FIPSAPIDr. Stephen Henson2014-12-081-1/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Remove fips_constseg references.Dr. Stephen Henson2014-12-081-60/+0
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Add ECP_NISTZ256 by Shay Gueron, Intel Corp.Andy Polyakov2014-09-121-3/+7
| | | | | | RT: 3149 Reviewed-by: Rich Salz <rsalz@openssl.org>
* PR: 2239Dr. Stephen Henson2012-04-221-0/+443
| | | | | | | | Submitted by: Dominik Oepen <oepen@informatik.hu-berlin.de> Add Brainpool curves from RFC5639. Original patch by Annie Yousar <a.yousar@informatik.hu-berlin.de>
* Add new APIs EC_curve_nist2nid and EC_curve_nid2nist which convertDr. Stephen Henson2012-02-211-0/+49
| | | | | between NIDs and the more common NIST names such as "P-256". Enhance ecparam utility and ECC method to recognise the NIST names for curves.
* Fix warnings.Bodo Möller2011-10-191-3/+4
| | | | Also, use the common Configure mechanism for enabling/disabling the 64-bit ECC code.
* Improve optional 64-bit NIST-P224 implementation, and add NIST-P256 andBodo Möller2011-10-181-3/+10
| | | | | | | NIST-P521. (Now -DEC_NISTP_64_GCC_128 enables all three of these; -DEC_NISTP224_64_GCC_128 no longer works.) Submitted by: Google Inc.
* Allow for dynamic base in Win64 FIPS module.Andy Polyakov2011-09-141-0/+60
|
* Reorganise ECC code for inclusion in FIPS module.Dr. Stephen Henson2011-02-141-0/+2
| | | | | | | | | | Move compression, point2oct and oct2point functions into separate files. Add a flags field to EC_METHOD. Add a flag EC_FLAGS_DEFAULT_OCT to use the default compession and oct functions (all existing methods do this). This removes dependencies from EC_METHOD while keeping original functionality.
* New option to disable characteristic two fields in EC code.Dr. Stephen Henson2011-02-121-1/+13
|
* New 64-bit optimized implementation EC_GFp_nistp224_method().Bodo Möller2010-08-261-77/+98
| | | | | | | This will only be compiled in if explicitly requested (#ifdef EC_NISTP224_64_GCC_128). Submitted by: Emilia Kasper (Google)
* Compress and more aggressively constify ec_curve.c [the latter isAndy Polyakov2007-08-311-902/+1691
| | | | achieved by minimizing link relocations].
* commentBodo Möller2005-12-131-1/+2
|
* give EC_GROUP_new_by_nid a more meanigful name:Nils Larsch2005-05-101-2/+2
| | | | EC_GROUP_new_by_nid -> EC_GROUP_new_by_curve_name
* give EC_GROUP_*_nid functions a more meaningful nameNils Larsch2005-05-081-1/+1
| | | | | EC_GROUP_get_nid -> EC_GROUP_get_curve_name EC_GROUP_set_nid -> EC_GROUP_set_curve_name
* Improve error handling if decompression of an ec point fails, and cleanupGeoff Thorpe2004-07-061-93/+93
| | | | | | | ec_curve.c (unify comments, etc). Submitted by: Nils Larsch Reviewed by: Bodo Moeller, Geoff Thorpe
* Adds warnings about two curves and fixes the "seed" value for two otherGeoff Thorpe2004-03-251-7/+33
| | | | | | curves. Submitted by: Nils Larsch
* Add IPSec/IKE/Oakley curves.Richard Levitte2003-11-291-0/+28
| | | | | PR: 768 Submitted by: Vadim Fedukovich <vf@unity.net>
* avoid potential confusion about curves (prime192v1 and prime256v1 areBodo Möller2003-01-161-24/+26
| | | | | | also known as secp192r1 and secp256r1, respectively) Submitted by: Nils Larsch, Bodo Moeller
* corrections to built-in curvesBodo Möller2002-11-111-6/+6
| | | | 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>
* change API for looking at the internal curve listBodo Möller2002-09-021-12/+13
| | | | Submitted by: Nils Larsch
* Simplify handling of named curves: get rid of EC_GROUP_new_by_name(),Bodo Möller2002-08-151-749/+1100
| | | | | | | EC_GROUP_new_by_nid() should be enough. This avoids a lot of redundancy. Submitted by: Nils Larsch
* add support for elliptic curves over binary fieldsBodo Möller2002-08-021-51/+563
| | | | | | | Submitted by: Duglas Stebila <douglas.stebila@sun.com>, Sheueling Chang <sheueling.chang@sun.com> (CHANGES entries by Bodo Moeller)
* Apply OID fixes for elliptic curves as supplied byLutz Jänicke2002-04-081-4/+2
| | | | Nils Larsch <nlarsch@compuserve.de>.
* Fix bugs and typos.Bodo Möller2002-03-181-1/+30
| | | | | | | | | Add some WTLS curves. New function EC_GROUP_check() (this will probably be implemented differently soon). Submitted by: Nils Larsch Reviewed by: Bodo Moeller
* EC curve stuffBodo Möller2002-03-081-1/+1
| | | | Submitted by: Nils Larsch
* fix spacingBodo Möller2002-03-071-2/+2
|
* Add more curves.Bodo Möller2002-03-071-144/+201
| | | | | | Submitted by: Nils Larsch Remove unnecessary 'const'.
* some modifications to named curve supportBodo Möller2002-02-131-71/+75
|
* add support for named curvesBodo Möller2002-02-131-0/+274
Submitted by: Nils Larsch <nla@trustcenter.de>