summaryrefslogtreecommitdiff
path: root/usr.sbin/mksuncd
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2023-06-17 14:43:51 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2023-06-17 14:43:51 +0000
commit87e33c246d8fb763fc468676f472955a2ef99339 (patch)
tree9de8e3a908ac083d18743568d5c8bf4aff3ec7ca /usr.sbin/mksuncd
parent5ca571366573f9edd5241c83bd5bb5a0a9a59a9c (diff)
Speed up Montgomery multiplication.
Factor out and optimise the inner loop for Montgomery multiplication, making use of bn_qwmulw_addqw_addw() to perform Montgomery multiplication by one word in larger steps. This provides a significant performance gain, especially on platforms where bn_qwmulw_addqw_addw() is (or can be) optimised. ok tb@
Diffstat (limited to 'usr.sbin/mksuncd')
0 files changed, 0 insertions, 0 deletions