Home GnuPG

cipher: Add option to specify salt length for PSS verification.
0bd8137e68c2Unpublished

Unpublished Commit · Learn More

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

Description

cipher: Add option to specify salt length for PSS verification.

* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Check for
salt-length token.

Add possibility to use a different salt length for RSASSA-PSS
verification instead of the default 20.

Additional changes by wk:

  • Detect overlong salt-length
  • Release LIST on error.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
civAuthored on Oct 30 2015, 5:34 PM
wernerCommitted on Mar 18 2016, 4:32 PM
Parents
rC2e139456369a: tests: Add support for RSA keygen tests to fipsdrv.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC0bd8137e68c2: cipher: Add option to specify salt length for PSS verification. (authored by Vitezslav Cizek <vcizek@suse.com>).Mar 18 2016, 4:32 PM