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>