Home GnuPG

ecc: Change EdDSA internal API.

Description

ecc: Change EdDSA internal API.

* cipher/ecc-common.h (_gcry_ecc_eddsa_sign): Last arg is CTX.
(_gcry_ecc_eddsa_verify): Ditto.
* cipher/ecc-eddsa.c (_gcry_ecc_eddsa_sign): Get hash algo from CTX.
(_gcry_ecc_eddsa_verify): Ditto.
* cipher/ecc.c (ecc_sign, ecc_verify): Follow the change.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 18 2020, 2:51 AM
Parents
rC1cf497546946: ecc: Support "label" for EdDSA context in data.
Branches
Unknown
Tags
Unknown