summaryrefslogtreecommitdiff
path: root/ec2n.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use define CRYPTOPP_CXX11_STATIC_INIT nameJeffrey Walton2020-08-071-1/+1
|
* Whitespace check-inJeffrey Walton2020-02-081-8/+8
|
* Fix ECP leakage in Add() and Double() (GH #869, PR #871)Jeffrey Walton2019-08-051-5/+6
| | | | | | | 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.
* Add init priorities for XLC compilersJeffrey Walton2018-12-041-1/+4
|
* Avoid Singleton when possible (GH #708)Jeffrey Walton2018-08-221-1/+23
| | | | Also clear several sign conversion warnings
* Change file preamble to include "originally written by Wei Dai"Jeffrey Walton2017-01-271-1/+1
| | | | We have made a fair number of changes, and we don't want WD to receive credit for issues he was not part of
* Add CRYPTOPP_ASSERT (Issue 277, CVE-2016-7420)Jeffrey Walton2016-09-161-4/+4
| | | | 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
* Whitespace checkinJeffrey Walton2016-09-101-3/+3
|
* CRYPTOPP 5.6.3 RC6 checkinJeffrey Walton2015-11-051-295/+294
|
* Added self-assignment guards or comment indicating why the check is not neededJeffrey Walton2015-07-301-3/+5
|
* Cut-in CRYPTOPP_ASSERT in all remaining header and source filesJeffrey Walton2015-07-261-4/+4
|
* Added "trap.h" include for header and source files that assertJeffrey Walton2015-07-261-0/+1
|
* fix EC2N skipping of optional seed, switch to public domain MARS code, ↵weidai2009-03-281-1/+5
| | | | deliver vc80.pdb to OutDir
* port to MSVC .NET 2005 beta 2weidai2005-07-121-2/+2
|
* fix potential threading problem with initialization of static objectsweidai2003-07-291-2/+1
|
* create DLL version, fix GetNextIV() bug in CTR and OFB modesweidai2003-07-041-3/+5
|
* Initial revisionweidai2002-10-041-0/+287