Home GnuPG

kdf:pkdf2: Check minimum allowed key size when running in FIPS mode.

Description

kdf:pkdf2: Check minimum allowed key size when running in FIPS mode.

* cipher/kdf.c (_gcry_kdf_pkdf2): Add output length check.

Details

Provenance
tobheAuthored on Sep 27 2022, 6:31 AM
gniibeCommitted on Sep 27 2022, 6:31 AM
Parents
rC857e6f467d0f: kdf:pkdf2: Require longer input when FIPS mode.
Branches
Unknown
Tags
Unknown
Tasks
T6219: Ensure minimum key length for KDF in FIPS mode