[openssl/openssl] f3be53: Augment RSA provider to generate CRT coefficients ...

Neil Horman noreply at github.com
Tue Jan 9 11:08:57 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: f3be536686654016adc9e22024c06036f949f2b0
      https://github.com/openssl/openssl/commit/f3be536686654016adc9e22024c06036f949f2b0
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M CHANGES.md
    M crypto/rsa/rsa_backend.c
    M crypto/rsa/rsa_gen.c
    M crypto/rsa/rsa_lib.c
    M crypto/rsa/rsa_local.h
    M crypto/rsa/rsa_sp800_56b_gen.c
    M doc/man7/EVP_PKEY-RSA.pod
    M include/crypto/rsa.h
    M test/evp_extra_test.c
    M test/evp_pkey_provided_test.c
    M util/perl/OpenSSL/paramnames.pm

  Log Message:
  -----------
  Augment RSA provider to generate CRT coefficients on EVP_PKEY_fromdata()

It would be helpful to be able to generate RSA's dmp1/dmq1/iqmp values
when not provided in the param list to EVP_PKEY_fromdata.  Augment the
provider in ossl_rsa_fromdata to preform this generation iff:
a) At least p q n e and e are provided
b) the new parameter OSSL_PARAM_RSA_DERIVE_PQ is set to 1

Fixes #21826

Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21875)




More information about the openssl-commits mailing list