diff options
| author | jsing <> | 2023-06-17 14:43:50 +0000 |
|---|---|---|
| committer | jsing <> | 2023-06-17 14:43:50 +0000 |
| commit | 7373b62d9476b9fed225c0a1be943cb945f4ff46 (patch) | |
| tree | 08bd0fb55aab5260bd57e742a1e2602ffb35ee9e /src/lib/libcrypto/ecdh/ech_lib.c | |
| parent | 08e2252031c202a7642ed6938cb622ce34824da1 (diff) | |
| download | openbsd-7373b62d9476b9fed225c0a1be943cb945f4ff46.tar.gz openbsd-7373b62d9476b9fed225c0a1be943cb945f4ff46.tar.bz2 openbsd-7373b62d9476b9fed225c0a1be943cb945f4ff46.zip | |
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 'src/lib/libcrypto/ecdh/ech_lib.c')
0 files changed, 0 insertions, 0 deletions
