Home GnuPG

ecc: Use opaque MPI for 'd' of Ed25519/EdDSA.

Description

ecc: Use opaque MPI for 'd' of Ed25519/EdDSA.

* cipher/ecc-curves.c (mpi_ec_setup_elliptic_curve): Add FLAGS.
Use opaque MPI for Ed25519/EdDSA, too.
(_gcry_mpi_ec_internal_new): Follow the change.
(_gcry_mpi_ec_new): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 2 2020, 7:28 AM
Parents
rC8cfaeae42522: cipher-ocb: fix out-of-array stack memory access
Branches
Unknown
Tags
Unknown