From 84b2be3efb82184703e350c26d7f13330395c15b Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 30 Nov 2016 05:36:43 +0700 Subject: Fix carry propagation bug in Nat???.Square methods --- crypto/Readme.html | 14 +- crypto/crypto.csproj | 10 ++ crypto/src/math/raw/Nat128.cs | 8 +- crypto/src/math/raw/Nat160.cs | 16 +- crypto/src/math/raw/Nat192.cs | 24 +-- crypto/src/math/raw/Nat224.cs | 32 ++-- crypto/src/math/raw/Nat256.cs | 40 ++--- crypto/test/UnitTests.csproj | 2 + .../math/ec/custom/sec/test/SecP256R1FieldTest.cs | 181 +++++++++++++++++++++ .../math/ec/custom/sec/test/SecP384R1FieldTest.cs | 146 +++++++++++++++++ 10 files changed, 412 insertions(+), 61 deletions(-) create mode 100644 crypto/test/src/math/ec/custom/sec/test/SecP256R1FieldTest.cs create mode 100644 crypto/test/src/math/ec/custom/sec/test/SecP384R1FieldTest.cs diff --git a/crypto/Readme.html b/crypto/Readme.html index 0cbd91daa..b26937714 100644 --- a/crypto/Readme.html +++ b/crypto/Readme.html @@ -294,6 +294,18 @@ We state, where EC MQV has not otherwise been disabled or removed:

Release 1.8.2, Release Date TBD

+
Security Advisory
+ +
IMPORTANT