diff options
Diffstat (limited to 'integer.cpp')
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/integer.cpp b/integer.cpp index 8909ec9..64f3cea 100644 --- a/integer.cpp +++ b/integer.cpp @@ -692,6 +692,7 @@ int CRYPTOPP_FASTCALL Baseline_Add(size_t N, word *C, const word *A, const word assert (N%2 == 0); Declare2Words(u); + AssignWord(u, 0); for (size_t i=0; i<N; i+=2) { AddWithCarry(u, A[i], B[i]); @@ -707,6 +708,7 @@ int CRYPTOPP_FASTCALL Baseline_Sub(size_t N, word *C, const word *A, const word assert (N%2 == 0); Declare2Words(u); + AssignWord(u, 0); for (size_t i=0; i<N; i+=2) { SubtractWithBorrow(u, A[i], B[i]); |