aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/pk_algs.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-04-09 17:56:53 -0400
committerJack Lloyd <[email protected]>2018-04-09 18:48:46 -0400
commit1e9752b8896e12707952fddaf7acd2c3c42c7df2 (patch)
tree9d6fc96136229860e59416ca3b9716ad70718654 /src/lib/pubkey/pk_algs.cpp
parentab9e44c7bc15c5405540abce201113ee747f2bd5 (diff)
Add a Montgomery exponentiation that takes variable time
In the case of RSA encryption/verification the public exponent is... public. So we don't need to carefully guard against side channels that leak the exponent. Improves RSA verification performance by 50% or more.
Diffstat (limited to 'src/lib/pubkey/pk_algs.cpp')
0 files changed, 0 insertions, 0 deletions