Home GnuPG

tests: Reproducer for short dklen in FIPS mode

Description

tests: Reproducer for short dklen in FIPS mode

* tests/t-kdf.c (check_pbkdf2): Add test vector with short dklen and
  verify it fails in FIPS mode

Cherry-picked master commit of:
efdc87b305ff326f37acd3a9c2606de24a706cce

  • GnuPG-bug-id: T6219
  • Signed-off-by: Jakub Jelen <jjelen@redhat.com>

Details

Provenance
JakujeAuthored on Oct 4 2022, 12:44 PM
gniibeCommitted on Oct 6 2022, 7:10 AM
Parents
rC96615490c7b1: random: Extend the comment about FIPS specifics
Branches
Unknown
Tags
Unknown
Tasks
T6219: Ensure minimum key length for KDF in FIPS mode