summaryrefslogtreecommitdiffstats
path: root/test/recipes/30-test_evp_data/evppkey_ecdh.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/recipes/30-test_evp_data/evppkey_ecdh.txt')
-rw-r--r--test/recipes/30-test_evp_data/evppkey_ecdh.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/recipes/30-test_evp_data/evppkey_ecdh.txt b/test/recipes/30-test_evp_data/evppkey_ecdh.txt
index c738c4aeb0..9003eb524d 100644
--- a/test/recipes/30-test_evp_data/evppkey_ecdh.txt
+++ b/test/recipes/30-test_evp_data/evppkey_ecdh.txt
@@ -139,7 +139,6 @@ Ny3Ep0GVYms=
PrivPubKeyPair = BOB_secp128r1:BOB_secp128r1_PUB
-
# ECDH Alice with Bob peer
Availablein = default
@@ -3609,3 +3608,11 @@ SharedSecret=01144C7D79AE6956BC8EDB8E7C787C4521CB086FA64407F97894E5E6B2D79B04D14
Derive=SECP521R1_RFC5903-Peer
PeerKey=SECP521R1_RFC5903-PUBLIC
SharedSecret=01144C7D79AE6956BC8EDB8E7C787C4521CB086FA64407F97894E5E6B2D79B04D1427E73CA4BAA240A34786859810C06B3C715A3A8CC3151F2BEE417996D19F3DDEA
+
+Title = ECDH negative tests (with random keys)
+
+# ECDH Alice with BOB peer - mismatching curves.
+Availablein = default
+Derive=ALICE_secp112r1
+PeerKeyValidate=BOB_secp128r1_PUB
+Result = DERIVE_SET_PEER_ERROR