[openssl/openssl] d2f6e6: Improve FIPS RSA keygen performance.

Shane noreply at github.com
Wed Nov 23 07:28:56 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: d2f6e66d2837bff1f5f7636bb2118e3a45c9df61
      https://github.com/openssl/openssl/commit/d2f6e66d2837bff1f5f7636bb2118e3a45c9df61
  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)




More information about the openssl-commits mailing list