Home GnuPG
Diffusion GnuPG 64d93271bfce

gpg: Clean up ECDH code path (4).

Description

gpg: Clean up ECDH code path (4).

* g10/ecdh.c (prepare_ecdh_with_shared_point): New.
(pk_ecdh_encrypt_with_shared_point): Fixing error paths for closing
the cipher handle, use prepare_ecdh_with_shared_point.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 22 2020, 4:44 AM
Parents
rG80c02d13d999: gpg: Clean up ECDH code path (3).
Branches
Unknown
Tags
Unknown