Home GnuPG

cipher: Extend RSA-PSS internal function.

Description

cipher: Extend RSA-PSS internal function.

* cipher/pubkey-internal.h (_gcry_rsa_pss_encode): Change the API.
* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Follow the change.
* cipher/rsa-common.c (_gcry_rsa_pss_encode): Support internal hashing.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 23 2021, 4:15 AM
Parents
rC652e115e10f2: cipher: Check by caller instead, not by callee for RSA-PSS.
Branches
Unknown
Tags
Unknown