aboutsummaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-07-24 08:10:41 -0400
committerRob Austein <sra@hactrn.net>2017-07-24 08:10:41 -0400
commitc669159880c4b9564b8176c113e3c0778ca55851 (patch)
tree38da56bfc345abf04b430e1ef8fdbab051e49e70 /hash.c
parente712096a60017cd624ec67f75cbf414df57455a7 (diff)
Use ModExp fast mode for Miller-Rabin tests.
Trying to make RSA key generation run in constant time is probably both futile and unnecessary, so we can speed it up a bit by switching the ModExpA7 core to use "fast" mode rather than "constant time" mode. Sadly, while this change produces a measureable improvement, it doesn't bring FGPA ModExp anywhere near the speed of the software equivalent in this case. Don't really know why.
Diffstat (limited to 'hash.c')
0 files changed, 0 insertions, 0 deletions