CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2023/06/17 08:43:51
Modified files: lib/libcrypto/bn: bn_mont.c Log message: 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@