Home GnuPG

cipher:ecc: Add selftests for EdDSA.

Description

cipher:ecc: Add selftests for EdDSA.

* cipher/ecc.c (selftest_hash_sign_eddsa): New.
(selftests_ecc): Add IS_EDDSA argument.
(run_selftests): Add tests for Ed25519 and Ed448.
* src/g10lib.h (_gcry_hex2buffer): New.
* src/sexp.c (_gcry_hex2buffer): Add.
  • GnuPG-bug-id: T6511
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 16 2023, 5:03 AM
Parents
rC73d2f5d93541: tests: EdDSA keys work in FIPS mode
Branches
Unknown
Tags
Unknown
Tasks
T6511: EdDSA support in FIPS mode