diff options
Diffstat (limited to 'integer.cpp')
-rw-r--r-- | integer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integer.cpp b/integer.cpp index bd186d0..e8c2249 100644 --- a/integer.cpp +++ b/integer.cpp @@ -2310,7 +2310,7 @@ void MontgomeryReduce(word *R, word *T, word *X, const word *M, const word *U, s word borrow = Subtract(T, X+N, T, N); // defend against timing attack by doing this Add even when not needed word carry = Add(T+N, T, M, N); - assert(carry || !borrow); + assert(carry | !borrow); CopyWords(R, T + ((0-borrow) & N), N); #elif 0 const word u = 0-U[0]; |