Home GnuPG

cipher:ecc: Add _gcry_ecc_curve_mul_point function with curve name.

Description

cipher:ecc: Add _gcry_ecc_curve_mul_point function with curve name.

* cipher/ecc-ecdh.c (_gcry_ecc_curve_mul_point): New.  Also support
Weierstrass curve as well as Montgomery one.
(_gcry_ecc_mul_point): Use _gcry_ecc_curve_mul_point.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 19 2024, 7:17 AM
Parents
rC72b1b8d447fb: cipher:kem: Rename Classic McEliece API constants.
Branches
Unknown
Tags
Unknown