Home GnuPG

ecc: Consolidate with _gcry_mpi_ec_internal_new.

Description

ecc: Consolidate with _gcry_mpi_ec_internal_new.

* cipher/ecc-ecdh.c (prepare_ec): Use _gcry_mpi_ec_internal_new.
(_gcry_ecc_mul_point): Don't need to have E of elliptic_curve_t.
* cipher/ecc.c (ecc_encrypt_raw): Use _gcry_mpi_ec_internal_new.
(ecc_decrypt_raw): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 22 2019, 2:05 AM
Parents
rCc2aa333dd88b: ecc: Support flags and debug print in _gcry_mpi_ec_internal_new.
Branches
Unknown
Tags
Unknown