Home GnuPG

cipher: Extend RSA-PSS internal function for verify, too.

Description

cipher: Extend RSA-PSS internal function for verify, too.

* cipher/pubkey-internal.h (_gcry_rsa_pss_verify): Support internal
hashing.
* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): Use opaque MPI for
RSA-PSS.
* cipher/rsa-common.c (_gcry_rsa_pss_verify): Support internal
hashing.
* cipher/rsa.c (rsa_verify): Allow opaque MPI for RSA-PSS.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jul 23 2021, 7:20 AM
Parents
rC51307b1ceaa7: cipher: Extend RSA-PSS internal function.
Branches
Unknown
Tags
Unknown