Home GnuPG
Diffusion GnuPG cf2d52cfc3ee

gpg: Use GCRY_KDF_ONESTEP_KDF with newer libgcrypt in future.

Description

gpg: Use GCRY_KDF_ONESTEP_KDF with newer libgcrypt in future.

* g10/ecdh.c (derive_kek): Use GCRY_KDF_ONESTEP_KDF.

This change is not yet enabled. We will be able to use the code when
we update NEED_LIBGCRYPT_VERSION to 1.11.0. Before the update, gpg
compiled with libgcrypt 1.11.0 can't work with older libgcrypt
runtime.

  • GnuPG-bug-id: T5964
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 14 2022, 7:49 AM
Parents
rGfe28e088a9c2: common,w32: Fix struct stat on Windows.
Branches
Unknown
Tags
Unknown
Tasks
T5964: gnupg should use the KDFs implemented in libgcrypt