Home GnuPG

kdf: Skip tests if hash algo is not available

Description

kdf: Skip tests if hash algo is not available

* tests/t-kdf.c (check_openpgp, check_pbkdf2): Test digest availability.

Skip tests that would fail if libgcrypt is compiled with an
--enable-digests option that does not include the required digest
algorithms for the test vectors.

  • GnuPG-bug-id: T6048
  • Signed-off-by: Clemens Lang <cllang@redhat.com>

Details

Provenance
neverpanicAuthored on Jun 21 2022, 7:00 PM
gniibeCommitted on Jul 1 2022, 8:57 AM
Parents
rC58c92098d053: hmac,hkdf: Allow use of shorter salt for HKDF.
Branches
Unknown
Tags
Unknown
Tasks
T6048: Test suite fixes with --enable-pubkey-ciphers=ecc