Home GnuPG
Diffusion GnuPG 960d37644cbb

gpg: Clean up ECDH code path (1).

Description

gpg: Clean up ECDH code path (1).

* g10/ecdh.c (extract_secret_x): New.
(pk_ecdh_encrypt_with_shared_point): Use extract_secret_x.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 22 2020, 3:04 AM
Parents
rG30eef28bc0f5: dirmngr: dns: Fix allocation of string buffer in stack.
Branches
Unknown
Tags
Unknown