mirror of
https://github.com/openssl/openssl.git
synced 2025-02-23 14:42:15 +08:00
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) |
||
---|---|---|
.. | ||
evpciph_aes_ccm_cavs.txt | ||
evpciph_aes_common.txt | ||
evpciph_aes_cts.txt | ||
evpciph_aes_gcm_siv.txt | ||
evpciph_aes_ocb.txt | ||
evpciph_aes_siv.txt | ||
evpciph_aes_stitched.txt | ||
evpciph_aes_wrap.txt | ||
evpciph_aria.txt | ||
evpciph_bf.txt | ||
evpciph_camellia_cts.txt | ||
evpciph_camellia.txt | ||
evpciph_cast5.txt | ||
evpciph_chacha.txt | ||
evpciph_des3_common.txt | ||
evpciph_des.txt | ||
evpciph_idea.txt | ||
evpciph_rc2.txt | ||
evpciph_rc4_stitched.txt | ||
evpciph_rc4.txt | ||
evpciph_rc5.txt | ||
evpciph_seed.txt | ||
evpciph_sm4.txt | ||
evpencod.txt | ||
evpkdf_hkdf.txt | ||
evpkdf_hmac_drbg.txt | ||
evpkdf_kbkdf_counter.txt | ||
evpkdf_kbkdf_kmac.txt | ||
evpkdf_krb5.txt | ||
evpkdf_pbkdf1.txt | ||
evpkdf_pbkdf2.txt | ||
evpkdf_pvkkdf.txt | ||
evpkdf_scrypt.txt | ||
evpkdf_ss.txt | ||
evpkdf_ssh.txt | ||
evpkdf_tls11_prf.txt | ||
evpkdf_tls12_prf.txt | ||
evpkdf_tls13_kdf.txt | ||
evpkdf_x942_des.txt | ||
evpkdf_x942.txt | ||
evpkdf_x963.txt | ||
evpmac_blake.txt | ||
evpmac_cmac_des.txt | ||
evpmac_common.txt | ||
evpmac_poly1305.txt | ||
evpmac_siphash.txt | ||
evpmac_sm3.txt | ||
evpmd_blake.txt | ||
evpmd_md.txt | ||
evpmd_mdc2.txt | ||
evpmd_ripemd.txt | ||
evpmd_sha.txt | ||
evpmd_sm3.txt | ||
evpmd_whirlpool.txt | ||
evppbe_pbkdf2.txt | ||
evppbe_pkcs12.txt | ||
evppbe_scrypt.txt | ||
evppkey_brainpool.txt | ||
evppkey_dh.txt | ||
evppkey_dsa_rfc6979.txt | ||
evppkey_dsa.txt | ||
evppkey_ecc.txt | ||
evppkey_ecdh.txt | ||
evppkey_ecdsa_rfc6979.txt | ||
evppkey_ecdsa.txt | ||
evppkey_ecx.txt | ||
evppkey_ffdhe.txt | ||
evppkey_kas.txt | ||
evppkey_kdf_hkdf.txt | ||
evppkey_kdf_scrypt.txt | ||
evppkey_kdf_tls1_prf.txt | ||
evppkey_mismatch.txt | ||
evppkey_rsa_common.txt | ||
evppkey_rsa.txt | ||
evppkey_sm2.txt | ||
evprand.txt |