Commit Graph

23 Commits

Author SHA1 Message Date
Jeffrey Walton
7a22d8845d Update documentation 2019-09-26 13:45:31 -04:00
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
0b42a18cde
Update documentation 2019-08-03 23:25:15 -04:00
Jeffrey Walton
4e6dd922f7
Update documentation 2019-08-03 22:33:46 -04:00
Jeffrey Walton
c3e0d123b2
Update documentation 2019-08-03 22:08:07 -04:00
Jeffrey Walton
37c0fb7ba8
Update documentation 2019-08-03 22:05:01 -04:00
Jeffrey Walton
057c2b434b
Update documentation 2019-08-03 21:58:26 -04:00
Jeffrey Walton
47a58050c6
Update documentation 2019-08-03 19:22:17 -04:00
Jeffrey Walton
84c4ae429f
Fix const-ness in HMQV and FHMQV 2019-08-03 03:24:26 -04:00
Jeffrey Walton
c62bf2b147
Add call to DoQuickSanityCheck in HMQV and FHMQV before private key operation 2019-01-21 19:55:05 -05:00
Jeffrey Walton
61ec50dabe
Change Doxygen comment style from //! to ///
Also see https://groups.google.com/forum/#!topic/cryptopp-users/A7-Xt5Knlzw
2017-11-29 10:54:33 -05:00
Jeffrey Walton
5efb019d8b
Add C++ nullptr support (Issue 383) 2017-03-01 06:10:06 -05:00
Jeffrey Walton
ba75834ae9
Removed VC++ 5.0 and 6.0 workarounds (Issue 342) 2016-12-03 05:05:56 -05:00
Jeffrey Walton
40230dd3bf
Removed MAINTAIN_BACKWARDS_COMPATIBILITY_562 (Issue 70) 2016-12-03 00:32:07 -05:00
Jeffrey Walton
399a1546de Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)
trap.h and CRYPTOPP_ASSERT has existed for over a year in Master. We deferred on the cut-over waiting for a minor version bump (5.7). We have to use it now due to CVE-2016-7420
2016-09-16 11:27:15 -04:00
Jeffrey Walton
36d769e907 Updated documentation 2016-09-09 05:19:29 -04:00
Jeffrey Walton
1c2c91945b Updated documentation 2016-09-08 14:30:01 -04:00
Jeffrey Walton
78f44516e7 Finish adding EC prefix to classes which operate over elliptic curves 2016-07-21 02:54:09 -04:00
Jeffrey Walton
9e2fee6c7f Cleared unused parameter warnings under Visual Studio 2016-07-14 02:25:00 -04:00
Jeffrey Walton
86ccf4c008 Added virtual destruction as first class method guarded on CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562. Updated documentation. 2016-07-14 02:05:13 -04:00
Jeffrey Walton
3ce5f7b730 Updated documentation 2016-07-13 18:32:18 -04:00
Jeffrey Walton
e9b11b8e08 Whitespace 2016-07-13 15:47:58 -04:00
Mouse
5bdabb7a68 Add HMQV and merge untracked FHMQV 2016-07-04 13:05:38 -04:00