[openssl/openssl] 3431dd: Improve FIPS RSA keygen performance.

Shane noreply at github.com
Wed Nov 23 07:29:55 UTC 2022


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 3431dd4b3ee7933822586aab62972de4d8c0e9e5
      https://github.com/openssl/openssl/commit/3431dd4b3ee7933822586aab62972de4d8c0e9e5
  Author: slontis <shane.lontis at oracle.com>
  Date:   2022-11-23 (Wed, 23 Nov 2022)

  Changed paths:
    M crypto/bn/bn_prime.c
    M crypto/bn/bn_rsa_fips186_4.c
    M include/crypto/bn.h

  Log Message:
  -----------
  Improve FIPS RSA keygen performance.

Reduce the Miller Rabin counts to the values specified by FIPS 186-5.
The old code was using a fixed value of 64.

Reviewed-by: Paul Dale <pauli at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19579)

(cherry picked from commit d2f6e66d2837bff1f5f7636bb2118e3a45c9df61)




More information about the openssl-commits mailing list