[openssl/openssl] 98f9a4: rsa: add msvc intrinsic for non x64 platforms

Hubert Kario noreply at github.com
Sat Feb 11 13:58:31 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 98f9a401c3964c7ff0e6ca048685e28a2a6401d4
      https://github.com/openssl/openssl/commit/98f9a401c3964c7ff0e6ca048685e28a2a6401d4
  Author: Hubert Kario <hkario at redhat.com>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M crypto/bn/rsa_sup_mul.c

  Log Message:
  -----------
  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 at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20244)

(cherry picked from commit 075652f224479dad2e64b92e791b296177af8705)




More information about the openssl-commits mailing list