Home GnuPG

fips: Disable RSA-OAEP padding in FIPS mode.
e5bfda492ab9Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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

Cherry-picked from master commit:
e552e37983da0c54840786eeff34481685fde1e9

  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Aug 17 2022, 9:01 AM
gniibeCommitted on Aug 30 2022, 4:03 AM
Parents
rC15fb6257e827: gcrypt.h: Fix function name in comment.
Branches
Unknown
Tags
Unknown