aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec2_mult.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove /* foo.c */ commentsRich Salz2016-01-261-1/+0
| | | | | | | | | | | | This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* free NULL cleanup 7Rich Salz2015-04-301-2/+1
| | | | | | | | | | | 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-4/+2
| | | | | | | 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>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-280/+341
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Further comment amendments to preserve formatting prior to source reformatMatt Caswell2015-01-061-2/+4
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-301-3/+6
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Implement internally opaque bn access from ecMatt Caswell2014-12-081-21/+22
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* remove OPENSSL_FIPSAPIDr. Stephen Henson2014-12-081-1/+1
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Fix for CVE-2014-0076Dr. Stephen Henson2014-03-121-11/+16
| | | | | | | | | | | | | | | Fix for the attack described in the paper "Recovering OpenSSL ECDSA Nonces Using the FLUSH+RELOAD Cache Side-channel Attack" by Yuval Yarom and Naomi Benger. Details can be obtained from: http://eprint.iacr.org/2014/140 Thanks to Yuval Yarom and Naomi Benger for discovering this flaw and to Yuval Yarom for supplying a fix. (cherry picked from commit 2198be3483259de374f91e57d247d0fc667aef29) Conflicts: CHANGES
* 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-0/+4
|
* ECC library bugfixes.Bodo Möller2010-08-261-4/+9
| | | | Submitted by: Emilia Kasper (Google)
* ec2_mult.c readability update.Andy Polyakov2008-10-281-9/+10
|
* correct+extend publication infoBodo Möller2005-09-121-7/+7
|
* Fix various incorrect error function codes.Bodo Möller2005-04-261-1/+1
| | | | ("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.)
* - use BN_set_negative and BN_is_negative instead of BN_set_signNils Larsch2005-04-221-4/+4
| | | | | | and BN_get_sign - implement BN_set_negative as a function - always use "#define BN_is_zero(a) ((a)->top == 0)"
* Convert openssl code not to assume the deprecated form of BN_zero().Geoff Thorpe2004-03-131-2/+2
| | | | | | | | | Remove certain redundant BN_zero() initialisations, because BN_CTX_get(), BN_init(), [etc] already initialise to zero. Correct error checking in bn_sqr.c, and be less wishy-wash about how/why the result's 'top' value is set (note also, 'max' is always > 0 at this point).
* Correct signednessRichard Levitte2003-05-211-1/+2
|
* implement fast point multiplication with precomputationBodo Möller2003-02-061-9/+13
| | | | | Submitted by: Nils Larsch Reviewed by: Bodo Moeller
* rename some functions to improve consistencyBodo Möller2002-11-231-16/+15
| | | | Submitted by: Sheueling Chang
* implement and use new macros BN_get_sign(), BN_set_sign()Bodo Möller2002-11-041-4/+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>
* typoBodo Möller2002-08-021-1/+1
|
* add support for elliptic curves over binary fieldsBodo Möller2002-08-021-0/+387
Submitted by: Duglas Stebila <douglas.stebila@sun.com>, Sheueling Chang <sheueling.chang@sun.com> (CHANGES entries by Bodo Moeller)