Home GnuPG

kdf: Add upper bound for derived key length in PBKDF2.
0f741b0704baUnpublished

Unpublished Commit · Learn More

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

Description

kdf: Add upper bound for derived key length in PBKDF2.

* cipher/kdf.c (_gcry_kdf_pkdf2): limit dkLen.

Add a missing step 1 from PBKDF specification.

  • Signed-off-by: Vitezslav Cizek <vcizek@suse.com>

Details

Provenance
civAuthored on Oct 29 2015, 2:00 PM
wernerCommitted on Mar 18 2016, 3:35 PM
Parents
rCa242e3d9185e: ecc: ECDSA adjustments for FIPS 186-4
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC0f741b0704ba: kdf: Add upper bound for derived key length in PBKDF2. (authored by Vitezslav Cizek <vcizek@suse.com>).Mar 18 2016, 3:35 PM