[openssl/openssl] cb462f: ctrl_params_translate: Allow RSA controls also for...

Ingo Franzki noreply at github.com
Thu Aug 24 14:14:17 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: cb462f926094b98b33b9dd28bcaa75ca134d7d77
      https://github.com/openssl/openssl/commit/cb462f926094b98b33b9dd28bcaa75ca134d7d77
  Author: Ingo Franzki <ifranzki at linux.ibm.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M crypto/evp/ctrl_params_translate.c
    M test/recipes/15-test_rsapss.t

  Log Message:
  -----------
  ctrl_params_translate: Allow RSA controls also for RSA-PSS

Controls 'rsa_keygen_pubexp' and 'rsa_keygen_primes' should also be allowed
for RSA-PSS keys.

Signed-off-by: Ingo Franzki <ifranzki at linux.ibm.com>

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21818)

(cherry picked from commit e2c2cca4b2fd1ad946d93507e9ca4f9ea910a114)


  Commit: 313fdbb7aa785215f72af803c571e85f409efb41
      https://github.com/openssl/openssl/commit/313fdbb7aa785215f72af803c571e85f409efb41
  Author: Ingo Franzki <ifranzki at linux.ibm.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M crypto/evp/ctrl_params_translate.c

  Log Message:
  -----------
  ctrl_params_translate: Allow get_rsa_payload_x() also for RSA-PSS

The get_rsa_payload_x() functions should also allow to get the payload
for RSA-PSS keys.

Signed-off-by: Ingo Franzki <ifranzki at linux.ibm.com>

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21818)

(cherry picked from commit cf712830b7b5a20a768a1fc5f78dc48841b7617f)


Compare: https://github.com/openssl/openssl/compare/d3b469f5c15e...313fdbb7aa78


More information about the openssl-commits mailing list