Home GnuPG

rsa: Prevent usage of long salt in FIPS mode

Description

rsa: Prevent usage of long salt in FIPS mode

* cipher/rsa-common.c (_gcry_rsa_pss_encode): Prevent usage of large
  salt lengths
  (_gcry_rsa_pss_verify): Ditto.
* tests/basic.c (check_pubkey_sign): Check longer salt length fails in
  FIPS mode
* tests/t-rsa-pss.c (one_test_sexp): Fix function name in error message

Details

Provenance
JakujeAuthored on Nov 29 2022, 2:04 PM
gniibeCommitted on Nov 30 2022, 6:19 AM
Parents
rC35abf4d2eb58: random:w32: Don't emit message for diskperf when it's not useful.
Branches
Unknown
Tags
Unknown