Home GnuPG

fips: Disable RSA-OAEP padding in FIPS mode.

Description

fips: Disable RSA-OAEP padding in FIPS mode.

* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Block OAEP padding
  in FIPS mode for encryption
* cipher/rsa.c (rsa_decrypt): Block OAEP padding in FIPS mode for
  decryption
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Aug 17 2022, 9:01 AM
gniibeCommitted on Aug 23 2022, 8:48 AM
Parents
rC0d69847e41e1: gcrypt.h: Fix function name in comment.
Branches
Unknown
Tags
Unknown
Reverted By
rCa7b5cab05f6a: Revert "fips: Disable RSA-OAEP padding in FIPS mode."