openssl/test/recipes/30-test_evp_data
James Muir 836080a89a Support all five EdDSA instances from RFC 8032
Fixes #6277

Description:
Make each of the five EdDSA instances defined in RFC 8032 -- Ed25519,
Ed25519ctx, Ed25519ph, Ed448, Ed448ph -- available via the EVP APIs.

The desired EdDSA instance is specified via an OSSL_PARAM.

All instances, except for Ed25519, allow context strings as input.
Context strings are passed via an OSSL_PARAM.  For Ed25519ctx, the
context string must be nonempty.

Ed25519, Ed25519ctx, Ed448 are PureEdDSA instances, which means that
the full message (not a digest) must be passed to sign and verify
operations.

Ed25519ph, Ed448ph are HashEdDSA instances, which means that the input
message is hashed before sign and verify.

Testing:
All 21 test vectors from RFC 8032 have been added to evppkey_ecx.txt
(thanks to Shane Lontis for showing how to do that).  Those 21 test
vectors are exercised by evp_test.c and cover all five instances.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19705)
2023-01-13 07:09:09 +00:00
..
evpciph_aes_ccm_cavs.txt Update copyright year 2022-05-03 13:34:51 +01:00
evpciph_aes_common.txt
evpciph_aes_cts.txt Update copyright year 2021-09-07 13:35:43 +02:00
evpciph_aes_gcm_siv.txt aes: add AES-GCM-SIV modes to the FIPS provider 2022-11-30 07:50:33 +11:00
evpciph_aes_ocb.txt AES OCB test vectors 2022-07-05 10:10:24 +02:00
evpciph_aes_siv.txt
evpciph_aes_stitched.txt Fix the RC4-MD5 cipher 2022-05-03 10:46:49 +01:00
evpciph_aes_wrap.txt
evpciph_aria.txt
evpciph_bf.txt
evpciph_camellia_cts.txt Add support for camellia cbc cts mode 2021-08-18 08:38:40 +10:00
evpciph_camellia.txt
evpciph_cast5.txt
evpciph_chacha.txt
evpciph_des3_common.txt TDES: fix test with old FIPS provider 2022-09-16 08:34:52 +10:00
evpciph_des.txt
evpciph_idea.txt
evpciph_rc2.txt
evpciph_rc4_stitched.txt Fix the RC4-MD5 cipher 2022-05-03 10:46:49 +01:00
evpciph_rc4.txt
evpciph_rc5.txt
evpciph_seed.txt
evpciph_sm4.txt Fix SM4-CBC regression on Armv8 2022-12-13 09:42:06 +11:00
evpencod.txt
evpkdf_hkdf.txt Change HKDF to alloc the info buffer. 2022-12-22 12:25:04 +01:00
evpkdf_hmac_drbg.txt Implement deterministic ECDSA sign (RFC6979) 2022-11-30 07:31:53 +00:00
evpkdf_kbkdf_counter.txt Support different R_BITS lengths for KBKDF 2021-11-24 11:02:53 +10:00
evpkdf_kbkdf_kmac.txt Add KMAC support to KBKDF. 2022-12-16 16:36:49 +01:00
evpkdf_krb5.txt
evpkdf_pbkdf1.txt
evpkdf_pbkdf2.txt add tests for PBKDF2 with SHA-3 2022-05-18 17:08:48 +02:00
evpkdf_pvkkdf.txt test: add some PVK KDF unit test cases 2021-09-28 18:08:42 +10:00
evpkdf_scrypt.txt Update copyright year 2021-09-07 13:35:43 +02:00
evpkdf_ss.txt
evpkdf_ssh.txt
evpkdf_tls11_prf.txt
evpkdf_tls12_prf.txt
evpkdf_tls13_kdf.txt test: add test cases for TLS 1.3 KDF 2021-08-05 15:44:00 +10:00
evpkdf_x942_des.txt
evpkdf_x942.txt
evpkdf_x963.txt
evpmac_blake.txt
evpmac_cmac_des.txt
evpmac_common.txt Add KMAC support to KBKDF. 2022-12-16 16:36:49 +01:00
evpmac_poly1305.txt Update copyright year 2022-05-03 13:34:51 +01:00
evpmac_siphash.txt
evpmac_sm3.txt feat: add hmac-sm3 test cases from GM/T 0042-2015 Appendix D.3 2022-07-11 10:59:20 +10:00
evpmd_blake.txt
evpmd_md.txt
evpmd_mdc2.txt
evpmd_ripemd.txt default provider: include RIPEMD160 2022-10-19 13:21:01 +02:00
evpmd_sha.txt Add default provider support for Keccak 224, 256, 384 and 512 2021-09-23 12:07:57 +10:00
evpmd_sm3.txt
evpmd_whirlpool.txt
evppbe_pbkdf2.txt add tests for PBKDF2 with SHA-3 2022-05-18 17:08:48 +02:00
evppbe_pkcs12.txt
evppbe_scrypt.txt
evppkey_brainpool.txt
evppkey_dh.txt
evppkey_dsa_rfc6979.txt [test/recipes] Add RFC6979 deterministic DSA KATs in evptest format 2022-11-30 07:31:54 +00:00
evppkey_dsa.txt
evppkey_ecc.txt
evppkey_ecdh.txt
evppkey_ecdsa_rfc6979.txt [test/recipes] Add RFC6979 deterministic DSA KATs in evptest format 2022-11-30 07:31:54 +00:00
evppkey_ecdsa.txt Testcase for regression by PPC64 fixed length montgomery multiplication 2022-06-15 09:54:02 +02:00
evppkey_ecx.txt Support all five EdDSA instances from RFC 8032 2023-01-13 07:09:09 +00:00
evppkey_ffdhe.txt Fix default padding regression against 3.0.0 FIPS provider 2022-09-16 08:34:52 +10:00
evppkey_kas.txt
evppkey_kdf_hkdf.txt
evppkey_kdf_scrypt.txt Update copyright year 2021-09-07 13:35:43 +02:00
evppkey_kdf_tls1_prf.txt
evppkey_mismatch.txt
evppkey_rsa_common.txt Fixed typos in documentation and comments 2023-01-04 12:53:05 +01:00
evppkey_rsa.txt
evppkey_sm2.txt Extend tests for SM2 decryption 2021-08-24 14:22:07 +01:00
evprand.txt test: include all DRBG tests in FIPS mode 2021-07-20 18:34:07 +10:00