[test] ECC: make sure negative tests pass for the right reasons
authorBilly Brumley <bbrumley@gmail.com>
Wed, 22 Aug 2018 06:50:43 +0000 (09:50 +0300)
committerRichard Levitte <levitte@openssl.org>
Mon, 3 Sep 2018 18:25:41 +0000 (20:25 +0200)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7028)

test/recipes/30-test_evp_data/evppkey.txt
test/recipes/30-test_evp_data/evppkey_ecc.txt

index 2d769d4..e00a5a3 100644 (file)
@@ -17286,6 +17286,8 @@ Derive=ALICE_cf_sect283k1
 PeerKey=BOB_cf_sect283k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result = DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title = Test keypair mismatches
 
index 8e95c02..73c53c0 100644 (file)
@@ -623,12 +623,16 @@ Derive=BOB_cf_c2pnb163v1
 PeerKey=MALICE_cf_c2pnb163v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb163v1
 PeerKey=MALICE_cf_c2pnb163v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb163v2 curve tests
 
@@ -691,12 +695,16 @@ Derive=BOB_cf_c2pnb163v2
 PeerKey=MALICE_cf_c2pnb163v2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb163v2
 PeerKey=MALICE_cf_c2pnb163v2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb163v3 curve tests
 
@@ -759,12 +767,16 @@ Derive=BOB_cf_c2pnb163v3
 PeerKey=MALICE_cf_c2pnb163v3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb163v3
 PeerKey=MALICE_cf_c2pnb163v3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb176v1 curve tests
 
@@ -827,12 +839,16 @@ Derive=BOB_cf_c2pnb176v1
 PeerKey=MALICE_cf_c2pnb176v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb176v1
 PeerKey=MALICE_cf_c2pnb176v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb208w1 curve tests
 
@@ -897,12 +913,16 @@ Derive=BOB_cf_c2pnb208w1
 PeerKey=MALICE_cf_c2pnb208w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb208w1
 PeerKey=MALICE_cf_c2pnb208w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb272w1 curve tests
 
@@ -967,12 +987,16 @@ Derive=BOB_cf_c2pnb272w1
 PeerKey=MALICE_cf_c2pnb272w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb272w1
 PeerKey=MALICE_cf_c2pnb272w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb304w1 curve tests
 
@@ -1037,12 +1061,16 @@ Derive=BOB_cf_c2pnb304w1
 PeerKey=MALICE_cf_c2pnb304w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb304w1
 PeerKey=MALICE_cf_c2pnb304w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2pnb368w1 curve tests
 
@@ -1110,12 +1138,16 @@ Derive=BOB_cf_c2pnb368w1
 PeerKey=MALICE_cf_c2pnb368w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2pnb368w1
 PeerKey=MALICE_cf_c2pnb368w1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb191v1 curve tests
 
@@ -1180,12 +1212,16 @@ Derive=BOB_cf_c2tnb191v1
 PeerKey=MALICE_cf_c2tnb191v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb191v1
 PeerKey=MALICE_cf_c2tnb191v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb191v2 curve tests
 
@@ -1250,12 +1286,16 @@ Derive=BOB_cf_c2tnb191v2
 PeerKey=MALICE_cf_c2tnb191v2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb191v2
 PeerKey=MALICE_cf_c2tnb191v2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb191v3 curve tests
 
@@ -1320,12 +1360,16 @@ Derive=BOB_cf_c2tnb191v3
 PeerKey=MALICE_cf_c2tnb191v3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb191v3
 PeerKey=MALICE_cf_c2tnb191v3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb239v1 curve tests
 
@@ -1390,12 +1434,16 @@ Derive=BOB_cf_c2tnb239v1
 PeerKey=MALICE_cf_c2tnb239v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb239v1
 PeerKey=MALICE_cf_c2tnb239v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb239v2 curve tests
 
@@ -1460,12 +1508,16 @@ Derive=BOB_cf_c2tnb239v2
 PeerKey=MALICE_cf_c2tnb239v2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb239v2
 PeerKey=MALICE_cf_c2tnb239v2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb239v3 curve tests
 
@@ -1530,12 +1582,16 @@ Derive=BOB_cf_c2tnb239v3
 PeerKey=MALICE_cf_c2tnb239v3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb239v3
 PeerKey=MALICE_cf_c2tnb239v3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb359v1 curve tests
 
@@ -1603,12 +1659,16 @@ Derive=BOB_cf_c2tnb359v1
 PeerKey=MALICE_cf_c2tnb359v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb359v1
 PeerKey=MALICE_cf_c2tnb359v1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=c2tnb431r1 curve tests
 
@@ -1676,12 +1736,16 @@ Derive=BOB_cf_c2tnb431r1
 PeerKey=MALICE_cf_c2tnb431r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_c2tnb431r1
 PeerKey=MALICE_cf_c2tnb431r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=prime192v1 curve tests
 
@@ -2057,12 +2121,16 @@ Derive=BOB_cf_secp112r2
 PeerKey=MALICE_cf_secp112r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GFp_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_secp112r2
 PeerKey=MALICE_cf_secp112r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GFp_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=secp128r1 curve tests
 
@@ -2158,12 +2226,16 @@ Derive=BOB_cf_secp128r2
 PeerKey=MALICE_cf_secp128r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GFp_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_secp128r2
 PeerKey=MALICE_cf_secp128r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GFp_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=secp160k1 curve tests
 
@@ -2579,12 +2651,16 @@ Derive=BOB_cf_sect113r1
 PeerKey=MALICE_cf_sect113r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect113r1
 PeerKey=MALICE_cf_sect113r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect113r2 curve tests
 
@@ -2644,12 +2720,16 @@ Derive=BOB_cf_sect113r2
 PeerKey=MALICE_cf_sect113r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect113r2
 PeerKey=MALICE_cf_sect113r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect131r1 curve tests
 
@@ -2712,12 +2792,16 @@ Derive=BOB_cf_sect131r1
 PeerKey=MALICE_cf_sect131r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect131r1
 PeerKey=MALICE_cf_sect131r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect131r2 curve tests
 
@@ -2780,12 +2864,16 @@ Derive=BOB_cf_sect131r2
 PeerKey=MALICE_cf_sect131r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect131r2
 PeerKey=MALICE_cf_sect131r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect163k1 curve tests
 
@@ -2848,12 +2936,16 @@ Derive=BOB_cf_sect163k1
 PeerKey=MALICE_cf_sect163k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect163k1
 PeerKey=MALICE_cf_sect163k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect163r1 curve tests
 
@@ -2916,12 +3008,16 @@ Derive=BOB_cf_sect163r1
 PeerKey=MALICE_cf_sect163r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect163r1
 PeerKey=MALICE_cf_sect163r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect163r2 curve tests
 
@@ -2984,12 +3080,16 @@ Derive=BOB_cf_sect163r2
 PeerKey=MALICE_cf_sect163r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect163r2
 PeerKey=MALICE_cf_sect163r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect193r1 curve tests
 
@@ -3052,12 +3152,16 @@ Derive=BOB_cf_sect193r1
 PeerKey=MALICE_cf_sect193r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect193r1
 PeerKey=MALICE_cf_sect193r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect193r2 curve tests
 
@@ -3120,12 +3224,16 @@ Derive=BOB_cf_sect193r2
 PeerKey=MALICE_cf_sect193r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect193r2
 PeerKey=MALICE_cf_sect193r2_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect233k1 curve tests
 
@@ -3190,12 +3298,16 @@ Derive=BOB_cf_sect233k1
 PeerKey=MALICE_cf_sect233k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect233k1
 PeerKey=MALICE_cf_sect233k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect233r1 curve tests
 
@@ -3260,12 +3372,16 @@ Derive=BOB_cf_sect233r1
 PeerKey=MALICE_cf_sect233r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect233r1
 PeerKey=MALICE_cf_sect233r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect239k1 curve tests
 
@@ -3330,12 +3446,16 @@ Derive=BOB_cf_sect239k1
 PeerKey=MALICE_cf_sect239k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect239k1
 PeerKey=MALICE_cf_sect239k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect283k1 curve tests
 
@@ -3400,12 +3520,16 @@ Derive=BOB_cf_sect283k1
 PeerKey=MALICE_cf_sect283k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect283k1
 PeerKey=MALICE_cf_sect283k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect283r1 curve tests
 
@@ -3470,12 +3594,16 @@ Derive=BOB_cf_sect283r1
 PeerKey=MALICE_cf_sect283r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect283r1
 PeerKey=MALICE_cf_sect283r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect409k1 curve tests
 
@@ -3543,12 +3671,16 @@ Derive=BOB_cf_sect409k1
 PeerKey=MALICE_cf_sect409k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect409k1
 PeerKey=MALICE_cf_sect409k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect409r1 curve tests
 
@@ -3616,12 +3748,16 @@ Derive=BOB_cf_sect409r1
 PeerKey=MALICE_cf_sect409r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect409r1
 PeerKey=MALICE_cf_sect409r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect571k1 curve tests
 
@@ -3689,12 +3825,16 @@ Derive=BOB_cf_sect571k1
 PeerKey=MALICE_cf_sect571k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect571k1
 PeerKey=MALICE_cf_sect571k1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=sect571r1 curve tests
 
@@ -3762,12 +3902,16 @@ Derive=BOB_cf_sect571r1
 PeerKey=MALICE_cf_sect571r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_sect571r1
 PeerKey=MALICE_cf_sect571r1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls10 curve tests
 
@@ -3832,12 +3976,16 @@ Derive=BOB_cf_wap-wsg-idm-ecid-wtls10
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_wap-wsg-idm-ecid-wtls10
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls11 curve tests
 
@@ -3902,12 +4050,16 @@ Derive=BOB_cf_wap-wsg-idm-ecid-wtls11
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_wap-wsg-idm-ecid-wtls11
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls12 curve tests
 
@@ -4007,12 +4159,16 @@ Derive=BOB_cf_wap-wsg-idm-ecid-wtls1
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_wap-wsg-idm-ecid-wtls1
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls3 curve tests
 
@@ -4075,12 +4231,16 @@ Derive=BOB_cf_wap-wsg-idm-ecid-wtls3
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_wap-wsg-idm-ecid-wtls3
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls4 curve tests
 
@@ -4140,12 +4300,16 @@ Derive=BOB_cf_wap-wsg-idm-ecid-wtls4
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_wap-wsg-idm-ecid-wtls4
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls5 curve tests
 
@@ -4208,12 +4372,16 @@ Derive=BOB_cf_wap-wsg-idm-ecid-wtls5
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 # ECC CDH Alice with Malice peer
 Derive=ALICE_cf_wap-wsg-idm-ecid-wtls5
 PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
 Ctrl=ecdh_cofactor_mode:1
 Result=DERIVE_ERROR
+Function=ec_GF2m_simple_point_get_affine_coordinates
+Reason=point at infinity
 
 Title=wap-wsg-idm-ecid-wtls6 curve tests