Home GnuPG

cipher: Support internal hashing for RSA-PSS.

Description

cipher: Support internal hashing for RSA-PSS.

* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Support
"hash-algo" with "value" for internal hashing with RSA-PSS.
* tests/basic.c (check_pubkey_sign): Add test cases.
  • GnuPG-bug-id: T5529
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 23 2021, 8:05 AM
Parents
rC285b4cb70df1: cipher: Extend RSA-PSS internal function for verify, too.
Branches
Unknown
Tags
Unknown
Tasks
T5529: Support internal hashing for RSA-PSS