Home GnuPG

kdf: Allow empty password for Argon2

Description

kdf: Allow empty password for Argon2

* cipher/kdf.c (_gcry_kdf_open) allow empty password for Argon2.

This patch fixes libcryptsetup requirement to support empty
passwords for PBKDF (and passes Argon2 test vectors there now).

  • Signed-off-by: Milan Broz <gmazyland@gmail.com>

Details

Provenance
gmazylandAuthored on Aug 18 2022, 4:18 PM
jukiviliCommitted on Aug 18 2022, 6:41 PM
Parents
rC8a1f50e66364: kdf: Restructure KDF test vectors
Branches
Unknown
Tags
Unknown