Home GnuPG

ecc: Clean up for decoding point.

Description

ecc: Clean up for decoding point.

* cipher/ecc-curves.c (point_from_keyparam): Possibly supporting
Montgomery curve, use _gcry_mpi_ec_decode_point.
(_gcry_ecc_set_mpi): Likewise.
* cipher/ecc.c (ecc_check_secret_key): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 8 2019, 8:24 AM
Parents
rC6e57242c61bc: random: Clean up unused old internal API.
Branches
Unknown
Tags
Unknown