Home GnuPG

hmac,hkdf: Check the HMAC key length in FIPS mode.

Description

hmac,hkdf: Check the HMAC key length in FIPS mode.

* src/visibility.c (gcry_md_setkey): Add the check here, too.

Details

Provenance
JakujeAuthored on Oct 26 2022, 8:41 AM
gniibeCommitted on Oct 26 2022, 8:41 AM
Parents
rC47db7fe3a0c3: Revert "kdf:pkdf2: Require longer input when FIPS mode."
Branches
Unknown
Tags
Unknown
Tasks
T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF