Home GnuPG

ecc: ECDH clean up for use of ec->nbits.

Description

ecc: ECDH clean up for use of ec->nbits.

* cipher/ecc-ecdh.c (_gcry_ecc_mul_point): Use ec->nbits.
* cipher/ecc.c (test_ecdh_only_keys): Likewise.
(ecc_encrypt_raw): Likewise.
(ecc_generate): Fix debug output format.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 23 2019, 2:00 AM
Parents
rC82441bbb8290: ecc: Fix key generation for ECDH.
Branches
Unknown
Tags
Unknown