Home GnuPG

ecc: Make _gcry_mpi_ec_mul_point friendly to X25519 computation.

Description

ecc: Make _gcry_mpi_ec_mul_point friendly to X25519 computation.

* mpi/ec.c (_gcry_mpi_ec_mul_point): Support scalar input as an opaque
MPI in little-endian native format.
* cipher/ecc-ecdh.c (_gcry_ecc_mul_point): Use an opaque scalar.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 25 2019, 3:06 AM
Parents
rC050e0b4accfa: pubkey: Support a method to get data as an opaque MPI.
Branches
Unknown
Tags
Unknown