Home GnuPG

kdf: Prepare aligned memory in balloon_final.

Description

kdf: Prepare aligned memory in balloon_final.

* cipher/kdf.c (BALLOON_BLOCK_LEN_MAX): Rename from
BALLOON_SALT_LEN_MAX.
(balloon_xor_block): Revert the previous change.
(balloon_final): Prepare memory for u64.
  • GnuPG-bug-id: T5817
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Feb 9 2022, 2:21 AM
Parents
rC59b2504df8f0: kdf: fix unaligned memory access in balloon_xor_block
Branches
Unknown
Tags
Unknown
Tasks
T5817: libgcrypt: Add Balloon KDF