[openssl/openssl] 53b052: Remove check for RSA encryption allowing X9.31 pad...

Shane noreply at github.com
Sun Jul 21 15:58:57 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 53b0527dd7f15350ed80fdcffa15e34e1ef0b9eb
      https://github.com/openssl/openssl/commit/53b0527dd7f15350ed80fdcffa15e34e1ef0b9eb
  Author: slontis <shane.lontis at oracle.com>
  Date:   2024-07-21 (Sun, 21 Jul 2024)

  Changed paths:
    M providers/implementations/asymciphers/rsa_enc.c

  Log Message:
  -----------
  Remove check for RSA encryption allowing X9.31 padding.

X9.31 is a Signature Standard, and should not apply to encryption.

rsa_ossl_public_encrypt() does not allow this padding mode.
The openssl rsautil command line tool already failed if the
-x931 option was used with -encrypt

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
Reviewed-by: Todd Short <todd.short at me.com>
(Merged from https://github.com/openssl/openssl/pull/24938)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list