Home GnuPG

cipher: Fix support of sha512-224 and sha512-256.

Description

cipher: Fix support of sha512-224 and sha512-256.

* cipher/pubkey-util.c (get_hash_algo): Add.
* cipher/sha512.c (sha512_256_asn, sha512_224_asn): Fill correct values.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Sep 9 2021, 4:57 AM
Parents
rC422031a5943f: cipher: Support internal hashing with "prehash" for RSA PKCS#1.
Branches
Unknown
Tags
Unknown