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

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


  Branch: refs/heads/OpenSSL_1_1_1-stable
  Home:   https://github.com/openssl/openssl
  Commit: eec34033552c810132736c772d37547f097a51b0
      https://github.com/openssl/openssl/commit/eec34033552c810132736c772d37547f097a51b0
  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