aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-11-23 14:24:17 +0000
committerMatt Caswell <matt@openssl.org>2018-12-03 14:21:05 +0000
commite65a79d2aae76c27d68587ff66cb6b65a3283e50 (patch)
tree295345118d0cc812abb564ebda308b8710a285b7 /test
parent0ac8f35c04c4fcdee421170ae6351e42b9e84ce4 (diff)
downloadopenssl-e65a79d2aae76c27d68587ff66cb6b65a3283e50.tar.gz
Add an Ed25519 signature maleability test
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7697)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/30-test_evp_data/evppkey.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/recipes/30-test_evp_data/evppkey.txt b/test/recipes/30-test_evp_data/evppkey.txt
index f4470ff46b..dc50dc8e7e 100644
--- a/test/recipes/30-test_evp_data/evppkey.txt
+++ b/test/recipes/30-test_evp_data/evppkey.txt
@@ -17601,6 +17601,14 @@ Key = ED25519-1-PUBLIC-Raw
Input = ""
Output = e5564300c360ac729086e2cc806e828a84877f1eb8e5d974d873e065224901555fb8821590a33bacc61e39701cf9b46bd25bf5f0595bbe24655141438e7a100b
+#Signature maleability test.
+#Same as the verify operation above but with the order added to s
+OneShotDigestVerify = NULL
+Key = ED25519-1-PUBLIC-Raw
+Input = ""
+Output = e5564300c360ac729086e2cc806e828a84877f1eb8e5d974d873e065224901554c8c7872aa064e049dbb3013fbf29380d25bf5f0595bbe24655141438e7a101b
+Result = VERIFY_ERROR
+
Title = ED448 tests from RFC8032
PrivateKey=ED448-1