Provide optimised bn_mulw() for riscv64.
authorjsing <jsing@openbsd.org>
Fri, 7 Jul 2023 16:10:32 +0000 (16:10 +0000)
committerjsing <jsing@openbsd.org>
Fri, 7 Jul 2023 16:10:32 +0000 (16:10 +0000)
commitcda0265d86a9224400bcad634cf48fcb7c610556
treea6c68fb81d55c073e806d8475694357d7a70d72e
parentac667c5e4b9af0a5b7a7684f8bd22ebdcb64ee92
Provide optimised bn_mulw() for riscv64.

This provides a 1.5-2x performance gain for BN multiplication, with a
similar improvement being seen for RSA operations.
lib/libcrypto/bn/arch/riscv64/bn_arch.h