Jeffrey Walton
c9ef9420e7
Fix ECP leakage in Add() and Double() (GH #869 , PR #871 )
...
This check-in provides the fix for leaks in ECP's Add() and Double(). The fixes were taken from Joost Renes, Craig Costello, and Lejla Batina's [Complete addition formulas for prime order elliptic curves](https://eprint.iacr.org/2015/1060.pdf ).
The Pull Request includes two additional changes that were related to testing the primary fix. First, an `AuthenticatedKeyAgreementWithRolesValidate` interface was added. It allows us to test key agreement when roles are involved. Roles are "client", "server", "initiator", "recipient", etc.
Second, `SetGlobalSeed` was added to `test.cpp` to help with reproducible results. We had code in two different places that set the seed value for the random number generator. But it was sloppy and doing a poor job since results could not be reproduced under some circumstances.
2019-08-05 03:51:58 -04:00
Jeffrey Walton
6462152534
Clear MS LNK4221 and libtool warnings
2018-10-17 04:27:54 -04:00
Jeffrey Walton
1df1d25428
Cleanup warnings under MSC
2018-01-21 16:25:49 -05:00
Jeffrey Walton
81b1a18063
Change file preamble to include "originally written by Wei Dai"
...
We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
2017-01-27 07:05:45 -05:00
Jeffrey Walton
54d17c7361
Updated CRYPTOPP_ASSERT based on comments
...
Also see 399a1546de (commitcomment-19448453)
2016-10-17 22:00:31 -04:00
Jeffrey Walton
91ca6c117d
Change from NDEBUG to CRYPTOPP_DEBUG in source files to ensure all debug behavior pivots on CRYPTOPP_DEBUG, and not NDEBUG (Issue 277, CVE-2016-7420)
2016-09-16 14:51:48 -04:00
Jeffrey Walton
7f958575ea
Squashed commit of the following:
...
commit 47c75c6e9397e240919207e50e5a611d3e2a2428
Merge: d7685c2 42085ee
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 20:20:39 2016 -0400
Attempting to fix binary file merge conflict
commit d7685c2d946beecc419ddb6901c24e972c7cf3ee
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 16:39:23 2016 -0400
Add vsClean.cmd to vs2010.zip
commit 4b96fdf1c551260da60eb021f324bcc3fcfec626
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 16:15:38 2016 -0400
Add Keccak to vs2010.zip
commit 3962db73b7113ee805b46a5bb4da64e204fe6bb0
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 15:40:35 2016 -0400
Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files
commit 44401448cbb6c8125b0f1ab4419c5b174408ffd7
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 15:39:23 2016 -0400
Fold hmqv.cpp and fhmqv.cpp into mqv.cpp. There's no need for three empty source files
commit 847bfccb8d5c388e67745dc8c69768fa503c5135
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 14:48:02 2016 -0400
Whitespace cleanup
commit 46a37be6fef361704dcf852bc9a099ce0a1da4c8
Merge: aefb8f8 3697867
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 14:43:01 2016 -0400
Merge 'master' into 'keccak'
commit aefb8f8ff2b81b967089c53b457a92fc6f7544d6
Merge: 51a828b 3c91d93
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 12:39:51 2016 -0400
Merge 'master' into 'keccak'
commit 51a828b88e37a4d18abb00300cd5522bd0e110c5
Merge: 4152870 e7c7722
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 10:41:36 2016 -0400
Merge 'master' into 'keccak'
commit 415287041e69ddadf5ca1f6fc794b87e145fc2db
Merge: 357a0c5 83ac849
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 10:34:45 2016 -0400
Merge 'master' into 'keccak'
commit 357a0c510f75e4e58078b500dd469462e90f7650
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 10:13:32 2016 -0400
Removed deprecated warning from SHA3 classes
commit 5cf9ec10d53b895b5a583e265e4e1298ed402195
Merge: 10ce0ed c2d60cc
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 09:43:15 2016 -0400
Merge 'master' into 'keccak'
commit 10ce0ed4c5b8a1ea230062fd2dfdec0d87ec5b42
Author: Jeffrey Walton <noloader@gmail.com>
Date: Thu Sep 8 09:37:40 2016 -0400
Add Keccak implementation based on early SHA3. Change SHA3 to NIST FIPS 202 conforming implementation
2016-09-08 20:24:25 -04:00
Jeffrey Walton
6ac1e46a1f
Cleared issues 11,12,13 (Clang integrated assembler), 58 (RC rollup), 66 (Coverity rollup)
2015-11-18 15:32:28 -05:00
Jeffrey Walton
48809d4e85
CRYPTOPP 5.6.3 RC6 checkin
2015-11-05 01:59:46 -05:00
weidai
a3b6ece7ab
Initial revision
2002-10-04 17:31:41 +00:00