diff options
author | lloyd <[email protected]> | 2010-03-15 17:51:40 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-03-15 17:51:40 +0000 |
commit | ddf2d1af53b96da47ceee166f5527eaaa16f8928 (patch) | |
tree | bd8c166ab2f41abd10fda4dfe01429d4312f9533 /src/math/numbertheory/point_gfp.h | |
parent | 65e5a8826f4240fd0b21ad99ab9daa9da862fc29 (diff) |
Cache p.sig_words() in curve object
Avoid using Barett reduction in core operations; seems to help perf.
Diffstat (limited to 'src/math/numbertheory/point_gfp.h')
-rw-r--r-- | src/math/numbertheory/point_gfp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/numbertheory/point_gfp.h b/src/math/numbertheory/point_gfp.h index c7da6995c..f5cb11157 100644 --- a/src/math/numbertheory/point_gfp.h +++ b/src/math/numbertheory/point_gfp.h @@ -158,7 +158,7 @@ class BOTAN_DLL PointGFp * @param workspace temp space */ BigInt monty_mult(const BigInt& x, const BigInt& y, - MemoryRegion<word>& workspace); + MemoryRegion<word>& workspace) const; /** * Montgomery squaring/reduction @@ -166,7 +166,7 @@ class BOTAN_DLL PointGFp * @param workspace temp space */ BigInt monty_sqr(const BigInt& x, - MemoryRegion<word>& workspace); + MemoryRegion<word>& workspace) const; /** * Point addition |