diff options
author | lloyd <[email protected]> | 2006-06-07 09:49:22 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-07 09:49:22 +0000 |
commit | ea0606f8f9acb90f4813f0458e9af6143c58dc6b (patch) | |
tree | 9c508a9238dce5d92fa233897b3025b1b30119a2 | |
parent | 877bcfb5e7265f9bae084c5328a3fb61bc3d6618 (diff) |
Fix typo that was preventing the use of the best squaring routine
with smaller operands.
-rw-r--r-- | src/mp_sqr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mp_sqr.cpp b/src/mp_sqr.cpp index 4d1c1504a..934a90c5a 100644 --- a/src/mp_sqr.cpp +++ b/src/mp_sqr.cpp @@ -114,7 +114,7 @@ void handle_small_sqr(word z[], u32bit z_size, void bigint_sqr(word z[], u32bit z_size, word workspace[], const word x[], u32bit x_size, u32bit x_sw) { - if(x_size <= 8 || x_size <= 8) + if(x_size <= 8 || x_sw <= 8) { handle_small_sqr(z, z_size, x, x_size, x_sw); return; |