diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2023-06-17 14:43:51 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2023-06-17 14:43:51 +0000 |
commit | 87e33c246d8fb763fc468676f472955a2ef99339 (patch) | |
tree | 9de8e3a908ac083d18743568d5c8bf4aff3ec7ca /usr.sbin/mksuncd | |
parent | 5ca571366573f9edd5241c83bd5bb5a0a9a59a9c (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