diff options
author | Jack Lloyd <[email protected]> | 2018-03-10 13:40:43 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-10 13:40:43 -0500 |
commit | 920001cae022190bc86ec818ab4af0ac7513777c (patch) | |
tree | f0d98c9046dd45bf722d1849c98eb4103c67535e /src/lib | |
parent | 01af2e317638bf5515717ad389618fbd9ee0512e (diff) |
Reduce exponent size here
Triggers for RSA exponents which improves RSA verify time by ~10%
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/math/numbertheory/pow_mod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/math/numbertheory/pow_mod.cpp b/src/lib/math/numbertheory/pow_mod.cpp index 1a03767b8..00917a5f9 100644 --- a/src/lib/math/numbertheory/pow_mod.cpp +++ b/src/lib/math/numbertheory/pow_mod.cpp @@ -107,7 +107,7 @@ size_t Power_Mod::window_bits(size_t exp_bits, size_t, { 539, 6 }, { 197, 4 }, { 70, 3 }, - { 25, 2 }, + { 17, 2 }, { 0, 0 } }; |