rsa: add msvc intrinsic for non x64 platforms
authorHubert Kario <hkario@redhat.com>
Wed, 8 Feb 2023 13:13:24 +0000 (14:13 +0100)
committerTomas Mraz <tomas@openssl.org>
Sat, 11 Feb 2023 13:55:28 +0000 (14:55 +0100)
commit075652f224479dad2e64b92e791b296177af8705
treece6c7903018c0affbd42eaa8a263d9d58d0e3a76
parent4596c20b86871b2bb0f9a7f6b855c0b7f0d4fbf3
rsa: add msvc intrinsic for non x64 platforms

_umul128() is x86_64 (x64) only, while __umulh() works everywhere, but
doesn't generate optimal code on x64

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20244)
crypto/bn/rsa_sup_mul.c