aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash/rmd128
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-05-17 19:57:34 +0000
committerlloyd <[email protected]>2011-05-17 19:57:34 +0000
commitb0560e9a8fee0391146e3b4ad25434950aba80e2 (patch)
treec3d39cdae524a2414138764db274829b9c8607c7 /src/hash/rmd128
parente6d4bee20f480b6bd0dd1c01fde491529dac10cc (diff)
Modify ECC points to do all math in Montgomery form, rather than
converting back and forth. This gives a 10 to 20% speedup on a Core i7. In addition, the CurveGFp no longer contains a Barrett reducer, saving 3 BigInts worth of memory. Add a #if'ed out alternative to point multiplication using the Montgomery ladder technique. It runs in (more or less) constant time, but rather significantly slower than the 4 bit window technique currently used. Tweak the window sizes to match the theoretical optimums.
Diffstat (limited to 'src/hash/rmd128')
0 files changed, 0 insertions, 0 deletions