diff options
author | Jeffrey Walton <noloader@gmail.com> | 2019-08-05 03:51:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-05 03:51:58 -0400 |
commit | c9ef9420e762b91cc06463d349cf06e04c749b9d (patch) | |
tree | 69a074fcf855a9f8b04d12b359904217e9ea618f /cryptest.vcxproj.user | |
parent | b3eb4c6a690d6dfb342856f2a66a71dcec8c429b (diff) | |
download | cryptopp-git-c9ef9420e762b91cc06463d349cf06e04c749b9d.tar.gz |
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.
Diffstat (limited to 'cryptest.vcxproj.user')
-rw-r--r-- | cryptest.vcxproj.user | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptest.vcxproj.user b/cryptest.vcxproj.user index cd22e2e2..4b2caa7e 100644 --- a/cryptest.vcxproj.user +++ b/cryptest.vcxproj.user @@ -3,4 +3,4 @@ <PropertyGroup>
<LocalDebuggerCommandArguments>v</LocalDebuggerCommandArguments>
</PropertyGroup>
-</Project>
+</Project>
\ No newline at end of file |