CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2023/04/22 08:31:44
Modified files:
lib/libcrypto/bn: bn_mont.c
Log message:
Improve bn_montgomery_multiply_words()
Pull a number of invariants into variables, which avoids repeated loading
from memory on architectures where sufficient registers are available.
Also keep track of the per-iteration carry in a variable, rather than
unnecessarily reading from and writing to memory.
This gives a reasonable performance gain on some architectures (e.g. armv7)