Home GnuPG

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

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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

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

Cherry-picked from the master commit of:

b095ea7559734f519fbe92d570afe567330eb474

Details

Provenance
JakujeAuthored on Oct 26 2022, 8:41 AM
gniibeCommitted on Oct 27 2022, 3:20 AM
Parents
rC7f4fafb5564d: Revert "kdf:pkdf2: Require longer input when FIPS mode."
Branches
Unknown
Tags
Unknown

Event Timeline