Home GnuPG
Diffusion GnuPG a973d9113840

gpg: Clean up ECDH code path (2).

Description

gpg: Clean up ECDH code path (2).

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

Details

Provenance
gniibeAuthored on May 22 2020, 3:40 AM
Parents
rG960d37644cbb: gpg: Clean up ECDH code path (1).
Branches
Unknown
Tags
Unknown