/[smecontribs]/rpms/openssl3/contribs10/0011-Remove-EC-curves.patch
ViewVC logotype

Contents of /rpms/openssl3/contribs10/0011-Remove-EC-curves.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Jan 31 17:24:33 2024 UTC (9 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: openssl3-3_0_7-5_el7_sme_1, HEAD
Error occurred while calculating annotation data.
Initial import

1 diff -up openssl-3.0.0-alpha13/apps/speed.c.ec-curves openssl-3.0.0-alpha13/apps/speed.c
2 --- openssl-3.0.0-alpha13/apps/speed.c.ec-curves 2021-04-10 12:12:00.620129302 +0200
3 +++ openssl-3.0.0-alpha13/apps/speed.c 2021-04-10 12:18:11.872369417 +0200
4 @@ -364,68 +364,23 @@ static double ffdh_results[FFDH_NUM][1];
5 #endif /* OPENSSL_NO_DH */
6
7 enum ec_curves_t {
8 - R_EC_P160, R_EC_P192, R_EC_P224, R_EC_P256, R_EC_P384, R_EC_P521,
9 -#ifndef OPENSSL_NO_EC2M
10 - R_EC_K163, R_EC_K233, R_EC_K283, R_EC_K409, R_EC_K571,
11 - R_EC_B163, R_EC_B233, R_EC_B283, R_EC_B409, R_EC_B571,
12 -#endif
13 - R_EC_BRP256R1, R_EC_BRP256T1, R_EC_BRP384R1, R_EC_BRP384T1,
14 - R_EC_BRP512R1, R_EC_BRP512T1, ECDSA_NUM
15 + R_EC_P224, R_EC_P256, R_EC_P384, R_EC_P521,
16 + ECDSA_NUM
17 };
18 /* list of ecdsa curves */
19 static const OPT_PAIR ecdsa_choices[ECDSA_NUM] = {
20 - {"ecdsap160", R_EC_P160},
21 - {"ecdsap192", R_EC_P192},
22 {"ecdsap224", R_EC_P224},
23 {"ecdsap256", R_EC_P256},
24 {"ecdsap384", R_EC_P384},
25 {"ecdsap521", R_EC_P521},
26 -#ifndef OPENSSL_NO_EC2M
27 - {"ecdsak163", R_EC_K163},
28 - {"ecdsak233", R_EC_K233},
29 - {"ecdsak283", R_EC_K283},
30 - {"ecdsak409", R_EC_K409},
31 - {"ecdsak571", R_EC_K571},
32 - {"ecdsab163", R_EC_B163},
33 - {"ecdsab233", R_EC_B233},
34 - {"ecdsab283", R_EC_B283},
35 - {"ecdsab409", R_EC_B409},
36 - {"ecdsab571", R_EC_B571},
37 -#endif
38 - {"ecdsabrp256r1", R_EC_BRP256R1},
39 - {"ecdsabrp256t1", R_EC_BRP256T1},
40 - {"ecdsabrp384r1", R_EC_BRP384R1},
41 - {"ecdsabrp384t1", R_EC_BRP384T1},
42 - {"ecdsabrp512r1", R_EC_BRP512R1},
43 - {"ecdsabrp512t1", R_EC_BRP512T1}
44 };
45 enum { R_EC_X25519 = ECDSA_NUM, R_EC_X448, EC_NUM };
46 /* list of ecdh curves, extension of |ecdsa_choices| list above */
47 static const OPT_PAIR ecdh_choices[EC_NUM] = {
48 - {"ecdhp160", R_EC_P160},
49 - {"ecdhp192", R_EC_P192},
50 {"ecdhp224", R_EC_P224},
51 {"ecdhp256", R_EC_P256},
52 {"ecdhp384", R_EC_P384},
53 {"ecdhp521", R_EC_P521},
54 -#ifndef OPENSSL_NO_EC2M
55 - {"ecdhk163", R_EC_K163},
56 - {"ecdhk233", R_EC_K233},
57 - {"ecdhk283", R_EC_K283},
58 - {"ecdhk409", R_EC_K409},
59 - {"ecdhk571", R_EC_K571},
60 - {"ecdhb163", R_EC_B163},
61 - {"ecdhb233", R_EC_B233},
62 - {"ecdhb283", R_EC_B283},
63 - {"ecdhb409", R_EC_B409},
64 - {"ecdhb571", R_EC_B571},
65 -#endif
66 - {"ecdhbrp256r1", R_EC_BRP256R1},
67 - {"ecdhbrp256t1", R_EC_BRP256T1},
68 - {"ecdhbrp384r1", R_EC_BRP384R1},
69 - {"ecdhbrp384t1", R_EC_BRP384T1},
70 - {"ecdhbrp512r1", R_EC_BRP512R1},
71 - {"ecdhbrp512t1", R_EC_BRP512T1},
72 {"ecdhx25519", R_EC_X25519},
73 {"ecdhx448", R_EC_X448}
74 };
75 @@ -1449,31 +1404,10 @@ int speed_main(int argc, char **argv)
76 */
77 static const EC_CURVE ec_curves[EC_NUM] = {
78 /* Prime Curves */
79 - {"secp160r1", NID_secp160r1, 160},
80 - {"nistp192", NID_X9_62_prime192v1, 192},
81 {"nistp224", NID_secp224r1, 224},
82 {"nistp256", NID_X9_62_prime256v1, 256},
83 {"nistp384", NID_secp384r1, 384},
84 {"nistp521", NID_secp521r1, 521},
85 -#ifndef OPENSSL_NO_EC2M
86 - /* Binary Curves */
87 - {"nistk163", NID_sect163k1, 163},
88 - {"nistk233", NID_sect233k1, 233},
89 - {"nistk283", NID_sect283k1, 283},
90 - {"nistk409", NID_sect409k1, 409},
91 - {"nistk571", NID_sect571k1, 571},
92 - {"nistb163", NID_sect163r2, 163},
93 - {"nistb233", NID_sect233r1, 233},
94 - {"nistb283", NID_sect283r1, 283},
95 - {"nistb409", NID_sect409r1, 409},
96 - {"nistb571", NID_sect571r1, 571},
97 -#endif
98 - {"brainpoolP256r1", NID_brainpoolP256r1, 256},
99 - {"brainpoolP256t1", NID_brainpoolP256t1, 256},
100 - {"brainpoolP384r1", NID_brainpoolP384r1, 384},
101 - {"brainpoolP384t1", NID_brainpoolP384t1, 384},
102 - {"brainpoolP512r1", NID_brainpoolP512r1, 512},
103 - {"brainpoolP512t1", NID_brainpoolP512t1, 512},
104 /* Other and ECDH only ones */
105 {"X25519", NID_X25519, 253},
106 {"X448", NID_X448, 448}
107 diff -up openssl-3.0.0-alpha13/test/ecdsatest.h.ec-curves openssl-3.0.0-alpha13/test/ecdsatest.h
108 --- openssl-3.0.0-alpha13/test/ecdsatest.h.ec-curves 2021-04-10 12:07:43.158013028 +0200
109 +++ openssl-3.0.0-alpha13/test/ecdsatest.h 2021-04-10 12:11:21.601828737 +0200
110 @@ -32,23 +32,6 @@ typedef struct {
111 } ecdsa_cavs_kat_t;
112
113 static const ecdsa_cavs_kat_t ecdsa_cavs_kats[] = {
114 - /* prime KATs from X9.62 */
115 - {NID_X9_62_prime192v1, NID_sha1,
116 - "616263", /* "abc" */
117 - "1a8d598fc15bf0fd89030b5cb1111aeb92ae8baf5ea475fb",
118 - "0462b12d60690cdcf330babab6e69763b471f994dd702d16a563bf5ec08069705ffff65e"
119 - "5ca5c0d69716dfcb3474373902",
120 - "fa6de29746bbeb7f8bb1e761f85f7dfb2983169d82fa2f4e",
121 - "885052380ff147b734c330c43d39b2c4a89f29b0f749fead",
122 - "e9ecc78106def82bf1070cf1d4d804c3cb390046951df686"},
123 - {NID_X9_62_prime239v1, NID_sha1,
124 - "616263", /* "abc" */
125 - "7ef7c6fabefffdea864206e80b0b08a9331ed93e698561b64ca0f7777f3d",
126 - "045b6dc53bc61a2548ffb0f671472de6c9521a9d2d2534e65abfcbd5fe0c707fd9f1ed2e"
127 - "65f09f6ce0893baf5e8e31e6ae82ea8c3592335be906d38dee",
128 - "656c7196bf87dcc5d1f1020906df2782360d36b2de7a17ece37d503784af",
129 - "2cb7f36803ebb9c427c58d8265f11fc5084747133078fc279de874fbecb0",
130 - "2eeae988104e9c2234a3c2beb1f53bfa5dc11ff36a875d1e3ccb1f7e45cf"},
131 /* prime KATs from NIST CAVP */
132 {NID_secp224r1, NID_sha224,
133 "699325d6fc8fbbb4981a6ded3c3a54ad2e4e3db8a5669201912064c64e700c139248cdc1"
134 diff -up openssl-3.0.0-alpha13/test/recipes/15-test_genec.t.ec-curves openssl-3.0.0-alpha13/test/recipes/15-test_genec.t
135 --- openssl-3.0.0-alpha13/test/recipes/15-test_genec.t.ec-curves 2021-04-10 11:59:37.453332668 +0200
136 +++ openssl-3.0.0-alpha13/test/recipes/15-test_genec.t 2021-04-10 12:03:43.363538976 +0200
137 @@ -41,45 +41,11 @@ plan skip_all => "This test is unsupport
138 if disabled("ec");
139
140 my @prime_curves = qw(
141 - secp112r1
142 - secp112r2
143 - secp128r1
144 - secp128r2
145 - secp160k1
146 - secp160r1
147 - secp160r2
148 - secp192k1
149 - secp224k1
150 secp224r1
151 secp256k1
152 secp384r1
153 secp521r1
154 - prime192v1
155 - prime192v2
156 - prime192v3
157 - prime239v1
158 - prime239v2
159 - prime239v3
160 prime256v1
161 - wap-wsg-idm-ecid-wtls6
162 - wap-wsg-idm-ecid-wtls7
163 - wap-wsg-idm-ecid-wtls8
164 - wap-wsg-idm-ecid-wtls9
165 - wap-wsg-idm-ecid-wtls12
166 - brainpoolP160r1
167 - brainpoolP160t1
168 - brainpoolP192r1
169 - brainpoolP192t1
170 - brainpoolP224r1
171 - brainpoolP224t1
172 - brainpoolP256r1
173 - brainpoolP256t1
174 - brainpoolP320r1
175 - brainpoolP320t1
176 - brainpoolP384r1
177 - brainpoolP384t1
178 - brainpoolP512r1
179 - brainpoolP512t1
180 );
181
182 my @binary_curves = qw(
183 @@ -136,7 +102,6 @@ push(@other_curves, 'SM2')
184 if !disabled("sm2");
185
186 my @curve_aliases = qw(
187 - P-192
188 P-224
189 P-256
190 P-384
191 diff -up openssl-3.0.0-alpha13/test/recipes/06-test_algorithmid.t.ec-curves openssl-3.0.0-alpha13/test/recipes/06-test_algorithmid.t
192 --- openssl-3.0.0-alpha13/test/recipes/06-test_algorithmid.t.ec-curves 2021-04-10 12:40:59.871858764 +0200
193 +++ openssl-3.0.0-alpha13/test/recipes/06-test_algorithmid.t 2021-04-10 12:41:41.140455070 +0200
194 @@ -33,7 +33,7 @@ my %certs_info =
195 'ee-cert-ec-named-explicit' => 'ca-cert-ec-explicit',
196 'ee-cert-ec-named-named' => 'ca-cert-ec-named',
197 # 'server-ed448-cert' => 'root-ed448-cert'
198 - 'server-ecdsa-brainpoolP256r1-cert' => 'rootcert',
199 + # 'server-ecdsa-brainpoolP256r1-cert' => 'rootcert',
200 )
201 )
202 );
203 diff -up openssl-3.0.0-alpha13/test/recipes/15-test_ec.t.ec-curves openssl-3.0.0-alpha13/test/recipes/15-test_ec.t
204 diff -up openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t.ec-curves openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t
205 diff -up openssl-3.0.0-alpha13/test/recipes/30-test_acvp.t.ec-curves openssl-3.0.0-alpha13/test/recipes/30-test_acvp.t
206 diff -up openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.ec-curves openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf
207 --- openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.ec-curves 2021-04-10 13:21:52.123040226 +0200
208 +++ openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf 2021-04-10 13:28:20.856023985 +0200
209 @@ -776,14 +776,12 @@ server = 22-ECDSA with brainpool-server
210 client = 22-ECDSA with brainpool-client
211
212 [22-ECDSA with brainpool-server]
213 -Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
214 +Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
215 CipherString = DEFAULT
216 -Groups = brainpoolP256r1
217 -PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
218 +PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
219
220 [22-ECDSA with brainpool-client]
221 CipherString = aECDSA
222 -Groups = brainpoolP256r1
223 MaxProtocol = TLSv1.2
224 RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
225 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
226 @@ -791,9 +789,6 @@ VerifyMode = Peer
227
228 [test-22]
229 ExpectedResult = Success
230 -ExpectedServerCANames = empty
231 -ExpectedServerCertType = brainpoolP256r1
232 -ExpectedServerSignType = EC
233
234
235 # ===========================================================
236 @@ -1741,9 +1736,9 @@ server = 53-TLS 1.3 ECDSA with brainpool
237 client = 53-TLS 1.3 ECDSA with brainpool-client
238
239 [53-TLS 1.3 ECDSA with brainpool-server]
240 -Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
241 +Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
242 CipherString = DEFAULT
243 -PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
244 +PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
245
246 [53-TLS 1.3 ECDSA with brainpool-client]
247 CipherString = DEFAULT
248 @@ -1754,7 +1749,7 @@ VerifyCAFile = ${ENV::TEST_CERTS_DIR}/ro
249 VerifyMode = Peer
250
251 [test-53]
252 -ExpectedResult = ServerFail
253 +ExpectedResult = Success
254
255
256 # ===========================================================
257 diff -up openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in.ec-curves openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in
258 --- openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in.ec-curves 2021-04-10 13:22:06.275221662 +0200
259 +++ openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in 2021-04-10 13:35:18.774623319 +0200
260 @@ -428,21 +428,21 @@ my @tests_non_fips = (
261 {
262 name => "ECDSA with brainpool",
263 server => {
264 - "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
265 - "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
266 - "Groups" => "brainpoolP256r1",
267 + "Certificate" => test_pem("server-ecdsa-cert.pem"),
268 + "PrivateKey" => test_pem("server-ecdsa-key.pem"),
269 + #"Groups" => "brainpoolP256r1",
270 },
271 client => {
272 "MaxProtocol" => "TLSv1.2",
273 "CipherString" => "aECDSA",
274 "RequestCAFile" => test_pem("root-cert.pem"),
275 - "Groups" => "brainpoolP256r1",
276 + #"Groups" => "brainpoolP256r1",
277 },
278 test => {
279 - "ExpectedServerCertType" =>, "brainpoolP256r1",
280 - "ExpectedServerSignType" =>, "EC",
281 + #"ExpectedServerCertType" =>, "brainpoolP256r1",
282 + #"ExpectedServerSignType" =>, "EC",
283 # Note: certificate_authorities not sent for TLS < 1.3
284 - "ExpectedServerCANames" =>, "empty",
285 + #"ExpectedServerCANames" =>, "empty",
286 "ExpectedResult" => "Success"
287 },
288 },
289 @@ -915,8 +915,8 @@ my @tests_tls_1_3_non_fips = (
290 {
291 name => "TLS 1.3 ECDSA with brainpool",
292 server => {
293 - "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
294 - "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
295 + "Certificate" => test_pem("server-ecdsa-cert.pem"),
296 + "PrivateKey" => test_pem("server-ecdsa-key.pem"),
297 },
298 client => {
299 "RequestCAFile" => test_pem("root-cert.pem"),
300 @@ -924,7 +924,7 @@ my @tests_tls_1_3_non_fips = (
301 "MaxProtocol" => "TLSv1.3"
302 },
303 test => {
304 - "ExpectedResult" => "ServerFail"
305 + "ExpectedResult" => "Success"
306 },
307 },
308 );
309 diff -up openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t.ec-curves openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t
310 --- openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t.ec-curves 2021-04-10 14:00:22.482782216 +0200
311 +++ openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t 2021-04-10 14:08:50.769727651 +0200
312 @@ -158,60 +158,6 @@ sub tsignverify {
313 $testtext);
314 }
315
316 -SKIP : {
317 - skip "FIPS EC tests because of no ec in this build", 1
318 - if disabled("ec");
319 -
320 - subtest EC => sub {
321 - my $testtext_prefix = 'EC';
322 - my $a_fips_curve = 'prime256v1';
323 - my $fips_key = $testtext_prefix.'.fips.priv.pem';
324 - my $fips_pub_key = $testtext_prefix.'.fips.pub.pem';
325 - my $a_nonfips_curve = 'brainpoolP256r1';
326 - my $nonfips_key = $testtext_prefix.'.nonfips.priv.pem';
327 - my $nonfips_pub_key = $testtext_prefix.'.nonfips.pub.pem';
328 - my $testtext = '';
329 - my $curvename = '';
330 -
331 - plan tests => 5 + $tsignverify_count;
332 -
333 - $ENV{OPENSSL_CONF} = $defaultconf;
334 - $curvename = $a_nonfips_curve;
335 - $testtext = $testtext_prefix.': '.
336 - 'Generate a key with a non-FIPS algorithm with the default provider';
337 - ok(run(app(['openssl', 'genpkey', '-algorithm', 'EC',
338 - '-pkeyopt', 'ec_paramgen_curve:'.$curvename,
339 - '-out', $nonfips_key])),
340 - $testtext);
341 -
342 - pubfrompriv($testtext_prefix, $nonfips_key, $nonfips_pub_key, "non-FIPS");
343 -
344 - $ENV{OPENSSL_CONF} = $fipsconf;
345 -
346 - $curvename = $a_fips_curve;
347 - $testtext = $testtext_prefix.': '.
348 - 'Generate a key with a FIPS algorithm';
349 - ok(run(app(['openssl', 'genpkey', '-algorithm', 'EC',
350 - '-pkeyopt', 'ec_paramgen_curve:'.$curvename,
351 - '-out', $fips_key])),
352 - $testtext);
353 -
354 - pubfrompriv($testtext_prefix, $fips_key, $fips_pub_key, "FIPS");
355 -
356 - $curvename = $a_nonfips_curve;
357 - $testtext = $testtext_prefix.': '.
358 - 'Generate a key with a non-FIPS algorithm'.
359 - ' (should fail)';
360 - ok(!run(app(['openssl', 'genpkey', '-algorithm', 'EC',
361 - '-pkeyopt', 'ec_paramgen_curve:'.$curvename,
362 - '-out', $testtext_prefix.'.'.$curvename.'.priv.pem'])),
363 - $testtext);
364 -
365 - tsignverify($testtext_prefix, $fips_key, $fips_pub_key, $nonfips_key,
366 - $nonfips_pub_key);
367 - };
368 -}
369 -
370 SKIP: {
371 skip "FIPS RSA tests because of no rsa in this build", 1
372 if disabled("rsa");
373 diff -up openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t.ec-curves openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t
374 --- openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t.ec-curves 2021-04-10 14:23:09.805468483 +0200
375 +++ openssl-3.0.0-alpha13/test/recipes/20-test_cli_fips.t 2021-04-10 14:23:33.002784265 +0200
376 @@ -26,7 +26,7 @@ use platform;
377 my $no_check = disabled("fips") || disabled('fips-securitychecks');
378 plan skip_all => "Test only supported in a fips build with security checks"
379 if $no_check;
380 -plan tests => 11;
381 +plan tests => 10;
382
383 my $fipsmodule = bldtop_file('providers', platform->dso('fips'));
384 my $fipsconf = srctop_file("test", "fips-and-base.cnf");
385 diff -up openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.ec-curves openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf
386 --- openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.ec-curves 2021-04-10 17:52:46.478721611 +0200
387 +++ openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf 2021-04-10 17:54:11.371688446 +0200
388 @@ -1710,20 +1710,18 @@ server = 52-TLS 1.3 ECDSA with brainpool
389 client = 52-TLS 1.3 ECDSA with brainpool but no suitable groups-client
390
391 [52-TLS 1.3 ECDSA with brainpool but no suitable groups-server]
392 -Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-cert.pem
393 +Certificate = ${ENV::TEST_CERTS_DIR}/server-ecdsa-cert.pem
394 CipherString = DEFAULT
395 -Groups = brainpoolP256r1
396 -PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-brainpoolP256r1-key.pem
397 +PrivateKey = ${ENV::TEST_CERTS_DIR}/server-ecdsa-key.pem
398
399 [52-TLS 1.3 ECDSA with brainpool but no suitable groups-client]
400 CipherString = aECDSA
401 -Groups = brainpoolP256r1
402 RequestCAFile = ${ENV::TEST_CERTS_DIR}/root-cert.pem
403 VerifyCAFile = ${ENV::TEST_CERTS_DIR}/rootcert.pem
404 VerifyMode = Peer
405
406 [test-52]
407 -ExpectedResult = ClientFail
408 +ExpectedResult = Success
409
410
411 # ===========================================================
412 diff -up openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in.ec-curves openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in
413 --- openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in.ec-curves 2021-04-10 17:53:03.317913390 +0200
414 +++ openssl-3.0.0-alpha13/test/ssl-tests/20-cert-select.cnf.in 2021-04-10 17:55:22.507498606 +0200
415 @@ -896,20 +896,20 @@ my @tests_tls_1_3_non_fips = (
416 {
417 name => "TLS 1.3 ECDSA with brainpool but no suitable groups",
418 server => {
419 - "Certificate" => test_pem("server-ecdsa-brainpoolP256r1-cert.pem"),
420 - "PrivateKey" => test_pem("server-ecdsa-brainpoolP256r1-key.pem"),
421 - "Groups" => "brainpoolP256r1",
422 + "Certificate" => test_pem("server-ecdsa-cert.pem"),
423 + "PrivateKey" => test_pem("server-ecdsa-key.pem"),
424 + #"Groups" => "brainpoolP256r1",
425 },
426 client => {
427 "CipherString" => "aECDSA",
428 "RequestCAFile" => test_pem("root-cert.pem"),
429 - "Groups" => "brainpoolP256r1",
430 + #"Groups" => "brainpoolP256r1",
431 },
432 test => {
433 #We only configured brainpoolP256r1 on the client side, but TLSv1.3
434 #is enabled and this group is not allowed in TLSv1.3. Therefore this
435 #should fail
436 - "ExpectedResult" => "ClientFail"
437 + "ExpectedResult" => "Success"
438 },
439 },
440 {
441 diff -up openssl-3.0.0-alpha13/crypto/evp/ec_support.c.ec-curves openssl-3.0.0-alpha13/crypto/evp/ec_support.c
442 --- openssl-3.0.0-alpha13/crypto/evp/ec_support.c.ec-curves 2021-04-11 11:13:14.236891844 +0200
443 +++ openssl-3.0.0-alpha13/crypto/evp/ec_support.c 2021-04-11 11:12:05.128098714 +0200
444 @@ -20,99 +20,13 @@ typedef struct ec_name2nid_st {
445 static const EC_NAME2NID curve_list[] = {
446 /* prime field curves */
447 /* secg curves */
448 - {"secp112r1", NID_secp112r1 },
449 - {"secp112r2", NID_secp112r2 },
450 - {"secp128r1", NID_secp128r1 },
451 - {"secp128r2", NID_secp128r2 },
452 - {"secp160k1", NID_secp160k1 },
453 - {"secp160r1", NID_secp160r1 },
454 - {"secp160r2", NID_secp160r2 },
455 - {"secp192k1", NID_secp192k1 },
456 {"secp224k1", NID_secp224k1 },
457 {"secp224r1", NID_secp224r1 },
458 {"secp256k1", NID_secp256k1 },
459 {"secp384r1", NID_secp384r1 },
460 {"secp521r1", NID_secp521r1 },
461 /* X9.62 curves */
462 - {"prime192v1", NID_X9_62_prime192v1 },
463 - {"prime192v2", NID_X9_62_prime192v2 },
464 - {"prime192v3", NID_X9_62_prime192v3 },
465 - {"prime239v1", NID_X9_62_prime239v1 },
466 - {"prime239v2", NID_X9_62_prime239v2 },
467 - {"prime239v3", NID_X9_62_prime239v3 },
468 {"prime256v1", NID_X9_62_prime256v1 },
469 - /* characteristic two field curves */
470 - /* NIST/SECG curves */
471 - {"sect113r1", NID_sect113r1 },
472 - {"sect113r2", NID_sect113r2 },
473 - {"sect131r1", NID_sect131r1 },
474 - {"sect131r2", NID_sect131r2 },
475 - {"sect163k1", NID_sect163k1 },
476 - {"sect163r1", NID_sect163r1 },
477 - {"sect163r2", NID_sect163r2 },
478 - {"sect193r1", NID_sect193r1 },
479 - {"sect193r2", NID_sect193r2 },
480 - {"sect233k1", NID_sect233k1 },
481 - {"sect233r1", NID_sect233r1 },
482 - {"sect239k1", NID_sect239k1 },
483 - {"sect283k1", NID_sect283k1 },
484 - {"sect283r1", NID_sect283r1 },
485 - {"sect409k1", NID_sect409k1 },
486 - {"sect409r1", NID_sect409r1 },
487 - {"sect571k1", NID_sect571k1 },
488 - {"sect571r1", NID_sect571r1 },
489 - /* X9.62 curves */
490 - {"c2pnb163v1", NID_X9_62_c2pnb163v1 },
491 - {"c2pnb163v2", NID_X9_62_c2pnb163v2 },
492 - {"c2pnb163v3", NID_X9_62_c2pnb163v3 },
493 - {"c2pnb176v1", NID_X9_62_c2pnb176v1 },
494 - {"c2tnb191v1", NID_X9_62_c2tnb191v1 },
495 - {"c2tnb191v2", NID_X9_62_c2tnb191v2 },
496 - {"c2tnb191v3", NID_X9_62_c2tnb191v3 },
497 - {"c2pnb208w1", NID_X9_62_c2pnb208w1 },
498 - {"c2tnb239v1", NID_X9_62_c2tnb239v1 },
499 - {"c2tnb239v2", NID_X9_62_c2tnb239v2 },
500 - {"c2tnb239v3", NID_X9_62_c2tnb239v3 },
501 - {"c2pnb272w1", NID_X9_62_c2pnb272w1 },
502 - {"c2pnb304w1", NID_X9_62_c2pnb304w1 },
503 - {"c2tnb359v1", NID_X9_62_c2tnb359v1 },
504 - {"c2pnb368w1", NID_X9_62_c2pnb368w1 },
505 - {"c2tnb431r1", NID_X9_62_c2tnb431r1 },
506 - /*
507 - * the WAP/WTLS curves [unlike SECG, spec has its own OIDs for curves
508 - * from X9.62]
509 - */
510 - {"wap-wsg-idm-ecid-wtls1", NID_wap_wsg_idm_ecid_wtls1 },
511 - {"wap-wsg-idm-ecid-wtls3", NID_wap_wsg_idm_ecid_wtls3 },
512 - {"wap-wsg-idm-ecid-wtls4", NID_wap_wsg_idm_ecid_wtls4 },
513 - {"wap-wsg-idm-ecid-wtls5", NID_wap_wsg_idm_ecid_wtls5 },
514 - {"wap-wsg-idm-ecid-wtls6", NID_wap_wsg_idm_ecid_wtls6 },
515 - {"wap-wsg-idm-ecid-wtls7", NID_wap_wsg_idm_ecid_wtls7 },
516 - {"wap-wsg-idm-ecid-wtls8", NID_wap_wsg_idm_ecid_wtls8 },
517 - {"wap-wsg-idm-ecid-wtls9", NID_wap_wsg_idm_ecid_wtls9 },
518 - {"wap-wsg-idm-ecid-wtls10", NID_wap_wsg_idm_ecid_wtls10 },
519 - {"wap-wsg-idm-ecid-wtls11", NID_wap_wsg_idm_ecid_wtls11 },
520 - {"wap-wsg-idm-ecid-wtls12", NID_wap_wsg_idm_ecid_wtls12 },
521 - /* IPSec curves */
522 - {"Oakley-EC2N-3", NID_ipsec3 },
523 - {"Oakley-EC2N-4", NID_ipsec4 },
524 - /* brainpool curves */
525 - {"brainpoolP160r1", NID_brainpoolP160r1 },
526 - {"brainpoolP160t1", NID_brainpoolP160t1 },
527 - {"brainpoolP192r1", NID_brainpoolP192r1 },
528 - {"brainpoolP192t1", NID_brainpoolP192t1 },
529 - {"brainpoolP224r1", NID_brainpoolP224r1 },
530 - {"brainpoolP224t1", NID_brainpoolP224t1 },
531 - {"brainpoolP256r1", NID_brainpoolP256r1 },
532 - {"brainpoolP256t1", NID_brainpoolP256t1 },
533 - {"brainpoolP320r1", NID_brainpoolP320r1 },
534 - {"brainpoolP320t1", NID_brainpoolP320t1 },
535 - {"brainpoolP384r1", NID_brainpoolP384r1 },
536 - {"brainpoolP384t1", NID_brainpoolP384t1 },
537 - {"brainpoolP512r1", NID_brainpoolP512r1 },
538 - {"brainpoolP512t1", NID_brainpoolP512t1 },
539 - /* SM2 curve */
540 - {"SM2", NID_sm2 },
541 };
542
543 const char *OSSL_EC_curve_nid2name(int nid)
544 diff -up openssl-3.0.0-alpha13/test/acvp_test.inc.ec-curves openssl-3.0.0-alpha13/test/acvp_test.inc
545 --- openssl-3.0.0-alpha13/test/acvp_test.inc.ec-curves 2021-04-11 13:46:57.286828933 +0200
546 +++ openssl-3.0.0-alpha13/test/acvp_test.inc 2021-04-11 13:48:01.356704526 +0200
547 @@ -212,15 +212,6 @@ static const unsigned char ecdsa_sigver_
548 };
549 static const struct ecdsa_sigver_st ecdsa_sigver_data[] = {
550 {
551 - "SHA-1",
552 - "P-192",
553 - ITM(ecdsa_sigver_msg0),
554 - ITM(ecdsa_sigver_pub0),
555 - ITM(ecdsa_sigver_r0),
556 - ITM(ecdsa_sigver_s0),
557 - PASS,
558 - },
559 - {
560 "SHA2-512",
561 "P-521",
562 ITM(ecdsa_sigver_msg1),
563 diff -up openssl-3.0.0-alpha13/test/recipes/65-test_cmp_protect.t.ec-curves openssl-3.0.0-alpha13/test/recipes/65-test_cmp_protect.t
564 --- openssl-3.0.0-alpha13/test/recipes/65-test_cmp_protect.t.ec-curves 2021-04-11 21:45:04.949948725 +0200
565 +++ openssl-3.0.0-alpha13/test/recipes/65-test_cmp_protect.t 2021-04-11 21:44:09.585283604 +0200
566 @@ -7,7 +7,6 @@
567 # this file except in compliance with the License. You can obtain a copy
568 # in the file LICENSE in the source distribution or at
569 # https://www.openssl.org/source/license.html
570 -
571 use strict;
572 use OpenSSL::Test qw/:DEFAULT data_file srctop_file srctop_dir bldtop_file bldtop_dir/;
573 use OpenSSL::Test::Utils;
574 @@ -27,7 +26,7 @@ plan skip_all => "This test is not suppo
575 plan skip_all => "This test is not supported in a shared library build on Windows"
576 if $^O eq 'MSWin32' && !disabled("shared");
577
578 -plan tests => 2 + ($no_fips ? 0 : 1); #fips test
579 +plan skip_all => 2 + ($no_fips ? 0 : 1); #fips test
580
581 my @basic_cmd = ("cmp_protect_test",
582 data_file("server.pem"),
583 diff -up openssl-3.0.0-alpha13/test/recipes/65-test_cmp_vfy.t.ec-curves openssl-3.0.0-alpha13/test/recipes/65-test_cmp_vfy.t
584 --- openssl-3.0.0-alpha13/test/recipes/65-test_cmp_vfy.t.ec-curves 2021-04-11 21:45:25.414194574 +0200
585 +++ openssl-3.0.0-alpha13/test/recipes/65-test_cmp_vfy.t 2021-04-11 21:44:40.786658440 +0200
586 @@ -7,7 +7,6 @@
587 # this file except in compliance with the License. You can obtain a copy
588 # in the file LICENSE in the source distribution or at
589 # https://www.openssl.org/source/license.html
590 -
591 use strict;
592 use OpenSSL::Test qw/:DEFAULT data_file srctop_file srctop_dir bldtop_file bldtop_dir/;
593 use OpenSSL::Test::Utils;
594 @@ -27,7 +26,7 @@ plan skip_all => "This test is not suppo
595 plan skip_all => "This test is not supported in a no-ec build"
596 if disabled("ec");
597
598 -plan tests => 2 + ($no_fips ? 0 : 1); #fips test
599 +plan skip_all => 2 + ($no_fips ? 0 : 1); #fips test
600
601 my @basic_cmd = ("cmp_vfy_test",
602 data_file("server.crt"), data_file("client.crt"),
603 diff -up openssl-3.0.0-alpha15/crypto/evp/ec_support.c.ec-curves openssl-3.0.0-alpha15/crypto/evp/ec_support.c
604 --- openssl-3.0.0-alpha15/crypto/evp/ec_support.c.ec-curves 2021-04-23 18:15:12.571691284 +0200
605 +++ openssl-3.0.0-alpha15/crypto/evp/ec_support.c 2021-04-23 18:16:00.803087403 +0200
606 @@ -28,7 +28,6 @@ static const EC_NAME2NID curve_list[] =
607 static const EC_NAME2NID curve_list[] = {
608 /* prime field curves */
609 /* secg curves */
610 - {"secp224k1", NID_secp224k1 },
611 {"secp224r1", NID_secp224r1 },
612 {"secp256k1", NID_secp256k1 },
613 {"secp384r1", NID_secp384r1 },
614 diff -up openssl-3.0.0-alpha15/apps/speed.c.ec-curves openssl-3.0.0-alpha15/apps/speed.c
615 --- openssl-3.0.0-alpha15/apps/speed.c.ec-curves 2021-04-26 14:25:44.049991942 +0200
616 +++ openssl-3.0.0-alpha15/apps/speed.c 2021-04-26 14:36:10.643570273 +0200
617 @@ -1439,8 +1439,8 @@ int speed_main(int argc, char **argv)
618 OPENSSL_assert(ec_curves[EC_NUM - 1].nid == NID_X448);
619 OPENSSL_assert(strcmp(ecdh_choices[EC_NUM - 1].name, "ecdhx448") == 0);
620
621 - OPENSSL_assert(ec_curves[ECDSA_NUM - 1].nid == NID_brainpoolP512t1);
622 - OPENSSL_assert(strcmp(ecdsa_choices[ECDSA_NUM - 1].name, "ecdsabrp512t1") == 0);
623 + OPENSSL_assert(ec_curves[ECDSA_NUM - 1].nid == NID_secp521r1);
624 + OPENSSL_assert(strcmp(ecdsa_choices[ECDSA_NUM - 1].name, "ecdsap521") == 0);
625
626 #ifndef OPENSSL_NO_SM2
627 OPENSSL_assert(sm2_curves[SM2_NUM - 1].nid == NID_sm2);
628 diff -up openssl-3.0.0-alpha16/test/evp_extra_test.c.ec-curves openssl-3.0.0-alpha16/test/evp_extra_test.c
629 --- openssl-3.0.0-alpha16/test/evp_extra_test.c.ec-curves 2021-05-10 14:44:28.932751551 +0200
630 +++ openssl-3.0.0-alpha16/test/evp_extra_test.c 2021-05-10 14:45:21.537238883 +0200
631 @@ -2701,13 +2701,12 @@ err:
632
633 #ifndef OPENSSL_NO_EC
634 static int ecpub_nids[] = {
635 - NID_brainpoolP256r1, NID_X9_62_prime256v1,
636 + NID_X9_62_prime256v1,
637 NID_secp384r1, NID_secp521r1,
638 # ifndef OPENSSL_NO_EC2M
639 NID_sect233k1, NID_sect233r1, NID_sect283r1,
640 NID_sect409k1, NID_sect409r1, NID_sect571k1, NID_sect571r1,
641 # endif
642 - NID_brainpoolP384r1, NID_brainpoolP512r1
643 };
644
645 static int test_ecpub(int idx)
646 diff -up openssl-3.0.0-alpha16/test/recipes/30-test_evp_data/evppkey_mismatch.txt.ec-curves openssl-3.0.0-alpha16/test/recipes/30-test_evp_data/evppkey_mismatch.txt
647 --- openssl-3.0.0-alpha16/test/recipes/30-test_evp_data/evppkey_mismatch.txt.ec-curves 2021-05-17 10:45:03.968368782 +0200
648 +++ openssl-3.0.0-alpha16/test/recipes/30-test_evp_data/evppkey_mismatch.txt 2021-05-17 10:45:54.211747865 +0200
649 @@ -31,12 +31,6 @@ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAELBUP
650 x/iUJAcsJxl9eLM7kg6VzbZk6ZDc8M/qDZTiqOavnQ5YBW5lMQSSW5/myQ==
651 -----END PUBLIC KEY-----
652
653 -PublicKey=KAS-ECC-CDH_K-163_C0-PUBLIC
654 ------BEGIN PUBLIC KEY-----
655 -MEAwEAYHKoZIzj0CAQYFK4EEAAEDLAAEBx+LKHfWAn2cGt5CRPLeoSaS7yPVBcFe
656 -53YiHHK4SzR844PzgGe4nD6a
657 ------END PUBLIC KEY-----
658 -
659 PrivateKey = RSA-2048
660 -----BEGIN PRIVATE KEY-----
661 MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDNAIHqeyrh6gbV
662 @@ -77,9 +71,3 @@ Result = KEYPAIR_TYPE_MISMATCH
663
664 PrivPubKeyPair = RSA-2048:P-256-PUBLIC
665 Result = KEYPAIR_TYPE_MISMATCH
666 -
667 -PrivPubKeyPair = RSA-2048:KAS-ECC-CDH_K-163_C0-PUBLIC
668 -Result = KEYPAIR_TYPE_MISMATCH
669 -
670 -PrivPubKeyPair = Alice-25519:KAS-ECC-CDH_K-163_C0-PUBLIC
671 -Result = KEYPAIR_TYPE_MISMATCH
672 diff -up openssl-3.0.0-alpha16/test/recipes/30-test_evp.t.ec-curves openssl-3.0.0-alpha16/test/recipes/30-test_evp.t
673 --- openssl-3.0.0-alpha16/test/recipes/30-test_evp.t.ec-curves 2021-05-17 10:49:28.050844977 +0200
674 +++ openssl-3.0.0-alpha16/test/recipes/30-test_evp.t 2021-05-17 10:53:53.480444576 +0200
675 @@ -111,7 +111,6 @@ my @defltfiles = qw(
676 evppkey_kdf_tls1_prf.txt
677 evppkey_rsa.txt
678 );
679 -push @defltfiles, qw(evppkey_brainpool.txt) unless $no_ec;
680 push @defltfiles, qw(evppkey_sm2.txt) unless $no_sm2;
681
682 plan tests =>
683 diff -up openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt.remove-ec openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt
684 --- openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt.remove-ec 2021-06-29 16:24:56.863303499 +0200
685 +++ openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt 2021-06-29 16:38:04.189996425 +0200
686 @@ -11,1949 +11,6 @@
687 # PrivPubKeyPair Sign Verify VerifyRecover
688 # and continue until a blank line. Lines starting with a pound sign are ignored.
689
690 -Title=c2pnb163v1 curve tests
691 -
692 -PrivateKey=ALICE_cf_c2pnb163v1
693 ------BEGIN PRIVATE KEY-----
694 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAEEHDAaAgEBBBUD1JfG8cLNP9418YW+hVhriqH6O5Y=
695 ------END PRIVATE KEY-----
696 -
697 -PublicKey=ALICE_cf_c2pnb163v1_PUB
698 ------BEGIN PUBLIC KEY-----
699 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAEDLAAEBXgoOgVlWTLQnrQZXgQuSBcIS3bQAlXQ+yJhS03B
700 -4G8rKQXbrc0mvWsF
701 ------END PUBLIC KEY-----
702 -
703 -Availablein = default
704 -PrivPubKeyPair=ALICE_cf_c2pnb163v1:ALICE_cf_c2pnb163v1_PUB
705 -
706 -PrivateKey=BOB_cf_c2pnb163v1
707 ------BEGIN PRIVATE KEY-----
708 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAEEHDAaAgEBBBUAc3EaoMmMORTzQhMkhPIXY+/jUSI=
709 ------END PRIVATE KEY-----
710 -
711 -PublicKey=BOB_cf_c2pnb163v1_PUB
712 ------BEGIN PUBLIC KEY-----
713 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAEDLAAEBn9J0jo39aFVZqhBsAKZ6bViAu6zBC8WaFGExnpZ
714 -KuBh8tP8VSTHPCHF
715 ------END PUBLIC KEY-----
716 -
717 -Availablein = default
718 -PrivPubKeyPair=BOB_cf_c2pnb163v1:BOB_cf_c2pnb163v1_PUB
719 -
720 -# ECDH Alice with Bob peer
721 -Availablein = default
722 -Derive=ALICE_cf_c2pnb163v1
723 -PeerKey=BOB_cf_c2pnb163v1_PUB
724 -SharedSecret=065dd38fb6de7f394778e1bf65d840a2c0e7219acd
725 -
726 -# ECDH Bob with Alice peer
727 -Availablein = default
728 -Derive=BOB_cf_c2pnb163v1
729 -PeerKey=ALICE_cf_c2pnb163v1_PUB
730 -SharedSecret=065dd38fb6de7f394778e1bf65d840a2c0e7219acd
731 -
732 -# ECC CDH Alice with Bob peer
733 -Availablein = default
734 -Derive=ALICE_cf_c2pnb163v1
735 -PeerKey=BOB_cf_c2pnb163v1_PUB
736 -Ctrl=ecdh_cofactor_mode:1
737 -SharedSecret=066fc46e8cc4327634dd127748020f2de6aab67585
738 -
739 -# ECC CDH Bob with Alice peer
740 -Availablein = default
741 -Derive=BOB_cf_c2pnb163v1
742 -PeerKey=ALICE_cf_c2pnb163v1_PUB
743 -Ctrl=ecdh_cofactor_mode:1
744 -SharedSecret=066fc46e8cc4327634dd127748020f2de6aab67585
745 -
746 -PublicKey=MALICE_cf_c2pnb163v1_PUB
747 ------BEGIN PUBLIC KEY-----
748 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAEDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8JxepS05nN
749 -/piKdhDD3dDKXUih
750 ------END PUBLIC KEY-----
751 -
752 -# ECC CDH Bob with Malice peer
753 -Availablein = default
754 -Derive=BOB_cf_c2pnb163v1
755 -PeerKey=MALICE_cf_c2pnb163v1_PUB
756 -Ctrl=ecdh_cofactor_mode:1
757 -Result=DERIVE_ERROR
758 -Reason=point at infinity
759 -
760 -# ECC CDH Alice with Malice peer
761 -Availablein = default
762 -Derive=ALICE_cf_c2pnb163v1
763 -PeerKey=MALICE_cf_c2pnb163v1_PUB
764 -Ctrl=ecdh_cofactor_mode:1
765 -Result=DERIVE_ERROR
766 -Reason=point at infinity
767 -
768 -Title=c2pnb163v2 curve tests
769 -
770 -PrivateKey=ALICE_cf_c2pnb163v2
771 ------BEGIN PRIVATE KEY-----
772 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAIEHDAaAgEBBBUA4KFv7c1dygtVbdp/g2z2TqLAHkI=
773 ------END PRIVATE KEY-----
774 -
775 -PublicKey=ALICE_cf_c2pnb163v2_PUB
776 ------BEGIN PUBLIC KEY-----
777 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAIDLAAEAVnlL7lMBaASwCIJaf9x2LgNPVmEAb43huHQlo3Q
778 -4PzawHXQoYm/qgDd
779 ------END PUBLIC KEY-----
780 -
781 -Availablein = default
782 -PrivPubKeyPair=ALICE_cf_c2pnb163v2:ALICE_cf_c2pnb163v2_PUB
783 -
784 -PrivateKey=BOB_cf_c2pnb163v2
785 ------BEGIN PRIVATE KEY-----
786 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAIEHDAaAgEBBBUCEdYqClRWIl2m+X34e+DB2iZSxmQ=
787 ------END PRIVATE KEY-----
788 -
789 -PublicKey=BOB_cf_c2pnb163v2_PUB
790 ------BEGIN PUBLIC KEY-----
791 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAIDLAAEAVWNIKn7/WMfzuNnd5ws9J0DI2CfBkEJizZHAFqy
792 -kBF3juAQuARgxuT6
793 ------END PUBLIC KEY-----
794 -
795 -Availablein = default
796 -PrivPubKeyPair=BOB_cf_c2pnb163v2:BOB_cf_c2pnb163v2_PUB
797 -
798 -# ECDH Alice with Bob peer
799 -Availablein = default
800 -Derive=ALICE_cf_c2pnb163v2
801 -PeerKey=BOB_cf_c2pnb163v2_PUB
802 -SharedSecret=0078ebb986d4f9b0aa0bc4af99e82c2bd24130f3f4
803 -
804 -# ECDH Bob with Alice peer
805 -Availablein = default
806 -Derive=BOB_cf_c2pnb163v2
807 -PeerKey=ALICE_cf_c2pnb163v2_PUB
808 -SharedSecret=0078ebb986d4f9b0aa0bc4af99e82c2bd24130f3f4
809 -
810 -# ECC CDH Alice with Bob peer
811 -Availablein = default
812 -Derive=ALICE_cf_c2pnb163v2
813 -PeerKey=BOB_cf_c2pnb163v2_PUB
814 -Ctrl=ecdh_cofactor_mode:1
815 -SharedSecret=069a80bcd45987fd1c874cd9dc5453207a09b61d41
816 -
817 -# ECC CDH Bob with Alice peer
818 -Availablein = default
819 -Derive=BOB_cf_c2pnb163v2
820 -PeerKey=ALICE_cf_c2pnb163v2_PUB
821 -Ctrl=ecdh_cofactor_mode:1
822 -SharedSecret=069a80bcd45987fd1c874cd9dc5453207a09b61d41
823 -
824 -PublicKey=MALICE_cf_c2pnb163v2_PUB
825 ------BEGIN PUBLIC KEY-----
826 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAIDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAABuVBl1V5uysY
827 -n6HANPEoMoK+7Sv0
828 ------END PUBLIC KEY-----
829 -
830 -# ECC CDH Bob with Malice peer
831 -Availablein = default
832 -Derive=BOB_cf_c2pnb163v2
833 -PeerKey=MALICE_cf_c2pnb163v2_PUB
834 -Ctrl=ecdh_cofactor_mode:1
835 -Result=DERIVE_ERROR
836 -Reason=point at infinity
837 -
838 -# ECC CDH Alice with Malice peer
839 -Availablein = default
840 -Derive=ALICE_cf_c2pnb163v2
841 -PeerKey=MALICE_cf_c2pnb163v2_PUB
842 -Ctrl=ecdh_cofactor_mode:1
843 -Result=DERIVE_ERROR
844 -Reason=point at infinity
845 -
846 -Title=c2pnb163v3 curve tests
847 -
848 -PrivateKey=ALICE_cf_c2pnb163v3
849 ------BEGIN PRIVATE KEY-----
850 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAMEHDAaAgEBBBUBItB0y/QeJ+cCh9yoHf0zqLVyMZc=
851 ------END PRIVATE KEY-----
852 -
853 -PublicKey=ALICE_cf_c2pnb163v3_PUB
854 ------BEGIN PUBLIC KEY-----
855 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAMDLAAEBx1HRyjuBMjt+vlbWaQbKOpNvWKFAslzEbPv6MpK
856 -YnObLnq34LRuWznb
857 ------END PUBLIC KEY-----
858 -
859 -Availablein = default
860 -PrivPubKeyPair=ALICE_cf_c2pnb163v3:ALICE_cf_c2pnb163v3_PUB
861 -
862 -PrivateKey=BOB_cf_c2pnb163v3
863 ------BEGIN PRIVATE KEY-----
864 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAMEHDAaAgEBBBUAXVHUHeP8Ioz7IqXOWbjaUXEHE5M=
865 ------END PRIVATE KEY-----
866 -
867 -PublicKey=BOB_cf_c2pnb163v3_PUB
868 ------BEGIN PUBLIC KEY-----
869 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAMDLAAEAqXF7rsAZ40Z1PT4TeeC45RKTxP4AJBAdfuknJ/J
870 -DZnBLhxBwtqnfUpA
871 ------END PUBLIC KEY-----
872 -
873 -Availablein = default
874 -PrivPubKeyPair=BOB_cf_c2pnb163v3:BOB_cf_c2pnb163v3_PUB
875 -
876 -# ECDH Alice with Bob peer
877 -Availablein = default
878 -Derive=ALICE_cf_c2pnb163v3
879 -PeerKey=BOB_cf_c2pnb163v3_PUB
880 -SharedSecret=07fd2ffe9b18973c51caeadbc2154b97a9a0390be9
881 -
882 -# ECDH Bob with Alice peer
883 -Availablein = default
884 -Derive=BOB_cf_c2pnb163v3
885 -PeerKey=ALICE_cf_c2pnb163v3_PUB
886 -SharedSecret=07fd2ffe9b18973c51caeadbc2154b97a9a0390be9
887 -
888 -# ECC CDH Alice with Bob peer
889 -Availablein = default
890 -Derive=ALICE_cf_c2pnb163v3
891 -PeerKey=BOB_cf_c2pnb163v3_PUB
892 -Ctrl=ecdh_cofactor_mode:1
893 -SharedSecret=06f7daf1c963594e1a13f9f17b62aaab2934872c16
894 -
895 -# ECC CDH Bob with Alice peer
896 -Availablein = default
897 -Derive=BOB_cf_c2pnb163v3
898 -PeerKey=ALICE_cf_c2pnb163v3_PUB
899 -Ctrl=ecdh_cofactor_mode:1
900 -SharedSecret=06f7daf1c963594e1a13f9f17b62aaab2934872c16
901 -
902 -PublicKey=MALICE_cf_c2pnb163v3_PUB
903 ------BEGIN PUBLIC KEY-----
904 -MEMwEwYHKoZIzj0CAQYIKoZIzj0DAAMDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7jRlUg9oaLK
905 -LwAuHF8g5Y0JjJnI
906 ------END PUBLIC KEY-----
907 -
908 -# ECC CDH Bob with Malice peer
909 -Availablein = default
910 -Derive=BOB_cf_c2pnb163v3
911 -PeerKey=MALICE_cf_c2pnb163v3_PUB
912 -Ctrl=ecdh_cofactor_mode:1
913 -Result=DERIVE_ERROR
914 -Reason=point at infinity
915 -
916 -# ECC CDH Alice with Malice peer
917 -Availablein = default
918 -Derive=ALICE_cf_c2pnb163v3
919 -PeerKey=MALICE_cf_c2pnb163v3_PUB
920 -Ctrl=ecdh_cofactor_mode:1
921 -Result=DERIVE_ERROR
922 -Reason=point at infinity
923 -
924 -Title=c2pnb176v1 curve tests
925 -
926 -PrivateKey=ALICE_cf_c2pnb176v1
927 ------BEGIN PRIVATE KEY-----
928 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAQEHDAaAgEBBBUAaZ1jV1jM9meV5iiNGPU/WMSfWOM=
929 ------END PRIVATE KEY-----
930 -
931 -PublicKey=ALICE_cf_c2pnb176v1_PUB
932 ------BEGIN PUBLIC KEY-----
933 -MEUwEwYHKoZIzj0CAQYIKoZIzj0DAAQDLgAEPjME7IV6Tuz2P++wIT60hRxTkk0M0PNgvqYcUoCI
934 -iw3girDLhNzOu3IQ8Ac=
935 ------END PUBLIC KEY-----
936 -
937 -Availablein = default
938 -PrivPubKeyPair=ALICE_cf_c2pnb176v1:ALICE_cf_c2pnb176v1_PUB
939 -
940 -PrivateKey=BOB_cf_c2pnb176v1
941 ------BEGIN PRIVATE KEY-----
942 -MDYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAQEHDAaAgEBBBUAreyYbcF+ONIf64KmeSzV82OI/50=
943 ------END PRIVATE KEY-----
944 -
945 -PublicKey=BOB_cf_c2pnb176v1_PUB
946 ------BEGIN PUBLIC KEY-----
947 -MEUwEwYHKoZIzj0CAQYIKoZIzj0DAAQDLgAEpJn1IDmFj5LceLGfY2wlhI1VHq5vJ+qNIAOXVZhX
948 -uMtp6pzy63rCEK53bgs=
949 ------END PUBLIC KEY-----
950 -
951 -Availablein = default
952 -PrivPubKeyPair=BOB_cf_c2pnb176v1:BOB_cf_c2pnb176v1_PUB
953 -
954 -# ECDH Alice with Bob peer
955 -Availablein = default
956 -Derive=ALICE_cf_c2pnb176v1
957 -PeerKey=BOB_cf_c2pnb176v1_PUB
958 -SharedSecret=3a8021848ee0b2c1c377404267a515225781c181e6ab
959 -
960 -# ECDH Bob with Alice peer
961 -Availablein = default
962 -Derive=BOB_cf_c2pnb176v1
963 -PeerKey=ALICE_cf_c2pnb176v1_PUB
964 -SharedSecret=3a8021848ee0b2c1c377404267a515225781c181e6ab
965 -
966 -# ECC CDH Alice with Bob peer
967 -Availablein = default
968 -Derive=ALICE_cf_c2pnb176v1
969 -PeerKey=BOB_cf_c2pnb176v1_PUB
970 -Ctrl=ecdh_cofactor_mode:1
971 -SharedSecret=b06cdc633b56e813d63326c69d2cfa335352279540ac
972 -
973 -# ECC CDH Bob with Alice peer
974 -Availablein = default
975 -Derive=BOB_cf_c2pnb176v1
976 -PeerKey=ALICE_cf_c2pnb176v1_PUB
977 -Ctrl=ecdh_cofactor_mode:1
978 -SharedSecret=b06cdc633b56e813d63326c69d2cfa335352279540ac
979 -
980 -PublicKey=MALICE_cf_c2pnb176v1_PUB
981 ------BEGIN PUBLIC KEY-----
982 -MEUwEwYHKoZIzj0CAQYIKoZIzj0DAAQDLgAE4ePri2opCoAUJIUQnaQlvDaxZd9bsdKnjWSvh+FL
983 -zXV3l5j8K3pow+GJBE4=
984 ------END PUBLIC KEY-----
985 -
986 -# ECC CDH Bob with Malice peer
987 -Availablein = default
988 -Derive=BOB_cf_c2pnb176v1
989 -PeerKey=MALICE_cf_c2pnb176v1_PUB
990 -Ctrl=ecdh_cofactor_mode:1
991 -Result=DERIVE_ERROR
992 -Reason=point at infinity
993 -
994 -# ECC CDH Alice with Malice peer
995 -Availablein = default
996 -Derive=ALICE_cf_c2pnb176v1
997 -PeerKey=MALICE_cf_c2pnb176v1_PUB
998 -Ctrl=ecdh_cofactor_mode:1
999 -Result=DERIVE_ERROR
1000 -Reason=point at infinity
1001 -
1002 -Title=c2pnb208w1 curve tests
1003 -
1004 -PrivateKey=ALICE_cf_c2pnb208w1
1005 ------BEGIN PRIVATE KEY-----
1006 -MDoCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAoEIDAeAgEBBBkAiENroXMYNbK/7DQQwCpbXk00gnVd
1007 -XF2k
1008 ------END PRIVATE KEY-----
1009 -
1010 -PublicKey=ALICE_cf_c2pnb208w1_PUB
1011 ------BEGIN PUBLIC KEY-----
1012 -ME0wEwYHKoZIzj0CAQYIKoZIzj0DAAoDNgAEL+IHOL2IfeLRiE6Wqsc0Frqjq7t/JnBmhN1lMB9Y
1013 -Yj3+Btcne4CPWf8KvfGjAdMs6JKP4A==
1014 ------END PUBLIC KEY-----
1015 -
1016 -Availablein = default
1017 -PrivPubKeyPair=ALICE_cf_c2pnb208w1:ALICE_cf_c2pnb208w1_PUB
1018 -
1019 -PrivateKey=BOB_cf_c2pnb208w1
1020 ------BEGIN PRIVATE KEY-----
1021 -MDoCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAoEIDAeAgEBBBkAY1GZLynO/IDWwOOjEWUE7k+I/MkP
1022 -cJot
1023 ------END PRIVATE KEY-----
1024 -
1025 -PublicKey=BOB_cf_c2pnb208w1_PUB
1026 ------BEGIN PUBLIC KEY-----
1027 -ME0wEwYHKoZIzj0CAQYIKoZIzj0DAAoDNgAENBvdzCDOIvu9zo7reJq1ummhR+0jaDc+EoSlW984
1028 -cl9FTi/JJznwC+RNgwVfJ1WKJun1YA==
1029 ------END PUBLIC KEY-----
1030 -
1031 -Availablein = default
1032 -PrivPubKeyPair=BOB_cf_c2pnb208w1:BOB_cf_c2pnb208w1_PUB
1033 -
1034 -# ECDH Alice with Bob peer
1035 -Availablein = default
1036 -Derive=ALICE_cf_c2pnb208w1
1037 -PeerKey=BOB_cf_c2pnb208w1_PUB
1038 -SharedSecret=ba32bf80c0f7ab53cb083f267a902a1ad6396eb283237fad91cd
1039 -
1040 -# ECDH Bob with Alice peer
1041 -Availablein = default
1042 -Derive=BOB_cf_c2pnb208w1
1043 -PeerKey=ALICE_cf_c2pnb208w1_PUB
1044 -SharedSecret=ba32bf80c0f7ab53cb083f267a902a1ad6396eb283237fad91cd
1045 -
1046 -# ECC CDH Alice with Bob peer
1047 -Availablein = default
1048 -Derive=ALICE_cf_c2pnb208w1
1049 -PeerKey=BOB_cf_c2pnb208w1_PUB
1050 -Ctrl=ecdh_cofactor_mode:1
1051 -SharedSecret=f09f5fc8bf20677558bc65939bf1b7fbbbe2579702729304258b
1052 -
1053 -# ECC CDH Bob with Alice peer
1054 -Availablein = default
1055 -Derive=BOB_cf_c2pnb208w1
1056 -PeerKey=ALICE_cf_c2pnb208w1_PUB
1057 -Ctrl=ecdh_cofactor_mode:1
1058 -SharedSecret=f09f5fc8bf20677558bc65939bf1b7fbbbe2579702729304258b
1059 -
1060 -PublicKey=MALICE_cf_c2pnb208w1_PUB
1061 ------BEGIN PUBLIC KEY-----
1062 -ME0wEwYHKoZIzj0CAQYIKoZIzj0DAAoDNgAEfuWB9pBZQin+VnmqgYVpbUpKxSQsnXxNqiDtVwqJ
1063 -oPkHxRWnu5e7qI2idMcqaKDeeniUaA==
1064 ------END PUBLIC KEY-----
1065 -
1066 -# ECC CDH Bob with Malice peer
1067 -Availablein = default
1068 -Derive=BOB_cf_c2pnb208w1
1069 -PeerKey=MALICE_cf_c2pnb208w1_PUB
1070 -Ctrl=ecdh_cofactor_mode:1
1071 -Result=DERIVE_ERROR
1072 -Reason=point at infinity
1073 -
1074 -# ECC CDH Alice with Malice peer
1075 -Availablein = default
1076 -Derive=ALICE_cf_c2pnb208w1
1077 -PeerKey=MALICE_cf_c2pnb208w1_PUB
1078 -Ctrl=ecdh_cofactor_mode:1
1079 -Result=DERIVE_ERROR
1080 -Reason=point at infinity
1081 -
1082 -Title=c2pnb272w1 curve tests
1083 -
1084 -PrivateKey=ALICE_cf_c2pnb272w1
1085 ------BEGIN PRIVATE KEY-----
1086 -MEICAQAwEwYHKoZIzj0CAQYIKoZIzj0DABAEKDAmAgEBBCEA0SoHwKAgKb7WQ+s0w1iNBemDZ3+f
1087 -StHU67fpP7YoF8U=
1088 ------END PRIVATE KEY-----
1089 -
1090 -PublicKey=ALICE_cf_c2pnb272w1_PUB
1091 ------BEGIN PUBLIC KEY-----
1092 -MF0wEwYHKoZIzj0CAQYIKoZIzj0DABADRgAE0IH60bGi46FDzEprGZ8EBK5uMMcVke/txeBRNGHQ
1093 -DzG68r3EMLZkOfE1+g04MN7HgY7zt3jMYb8ImyLRmvqR2abjs6c=
1094 ------END PUBLIC KEY-----
1095 -
1096 -Availablein = default
1097 -PrivPubKeyPair=ALICE_cf_c2pnb272w1:ALICE_cf_c2pnb272w1_PUB
1098 -
1099 -PrivateKey=BOB_cf_c2pnb272w1
1100 ------BEGIN PRIVATE KEY-----
1101 -MEICAQAwEwYHKoZIzj0CAQYIKoZIzj0DABAEKDAmAgEBBCEAFqB5GbPJ4d+X7ye7m05l/OirDqfn
1102 -MOsOJ6xObBph3zQ=
1103 ------END PRIVATE KEY-----
1104 -
1105 -PublicKey=BOB_cf_c2pnb272w1_PUB
1106 ------BEGIN PUBLIC KEY-----
1107 -MF0wEwYHKoZIzj0CAQYIKoZIzj0DABADRgAEIeIkcMHAuOgvHt2Wp52vVe0DYPNnUX79t/mLSx03
1108 -cUlDmcxL7vIXdx9hB4OmQBYbm+YLDNfTFGAIlDfr2tELpVVPWPo=
1109 ------END PUBLIC KEY-----
1110 -
1111 -Availablein = default
1112 -PrivPubKeyPair=BOB_cf_c2pnb272w1:BOB_cf_c2pnb272w1_PUB
1113 -
1114 -# ECDH Alice with Bob peer
1115 -Availablein = default
1116 -Derive=ALICE_cf_c2pnb272w1
1117 -PeerKey=BOB_cf_c2pnb272w1_PUB
1118 -SharedSecret=cfebd65006520a40f081d8940edf0ebb8e54491ba1499d9f3c63deecee84ddc07142
1119 -
1120 -# ECDH Bob with Alice peer
1121 -Availablein = default
1122 -Derive=BOB_cf_c2pnb272w1
1123 -PeerKey=ALICE_cf_c2pnb272w1_PUB
1124 -SharedSecret=cfebd65006520a40f081d8940edf0ebb8e54491ba1499d9f3c63deecee84ddc07142
1125 -
1126 -# ECC CDH Alice with Bob peer
1127 -Availablein = default
1128 -Derive=ALICE_cf_c2pnb272w1
1129 -PeerKey=BOB_cf_c2pnb272w1_PUB
1130 -Ctrl=ecdh_cofactor_mode:1
1131 -SharedSecret=756fc20b27352ac74e5135359c63d375d2732c6d02f25cd526155bac0882a9211dd4
1132 -
1133 -# ECC CDH Bob with Alice peer
1134 -Availablein = default
1135 -Derive=BOB_cf_c2pnb272w1
1136 -PeerKey=ALICE_cf_c2pnb272w1_PUB
1137 -Ctrl=ecdh_cofactor_mode:1
1138 -SharedSecret=756fc20b27352ac74e5135359c63d375d2732c6d02f25cd526155bac0882a9211dd4
1139 -
1140 -PublicKey=MALICE_cf_c2pnb272w1_PUB
1141 ------BEGIN PUBLIC KEY-----
1142 -MF0wEwYHKoZIzj0CAQYIKoZIzj0DABADRgAEvID3AM7qzpKDnOLFY00+E7EKZz/vS/pXgsUA3bWN
1143 -oJF8ElXFXv59s/SykQBCTHPqzmUbVmrXmtD44Kt1wUBRJfuwxy4=
1144 ------END PUBLIC KEY-----
1145 -
1146 -# ECC CDH Bob with Malice peer
1147 -Availablein = default
1148 -Derive=BOB_cf_c2pnb272w1
1149 -PeerKey=MALICE_cf_c2pnb272w1_PUB
1150 -Ctrl=ecdh_cofactor_mode:1
1151 -Result=DERIVE_ERROR
1152 -Reason=point at infinity
1153 -
1154 -# ECC CDH Alice with Malice peer
1155 -Availablein = default
1156 -Derive=ALICE_cf_c2pnb272w1
1157 -PeerKey=MALICE_cf_c2pnb272w1_PUB
1158 -Ctrl=ecdh_cofactor_mode:1
1159 -Result=DERIVE_ERROR
1160 -Reason=point at infinity
1161 -
1162 -Title=c2pnb304w1 curve tests
1163 -
1164 -PrivateKey=ALICE_cf_c2pnb304w1
1165 ------BEGIN PRIVATE KEY-----
1166 -MEYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DABEELDAqAgEBBCUAqJxh50ZIUXOJ1HE3cVkech9OTTPJ
1167 -8jy/v5cFcO0X6dykHgnZ
1168 ------END PRIVATE KEY-----
1169 -
1170 -PublicKey=ALICE_cf_c2pnb304w1_PUB
1171 ------BEGIN PUBLIC KEY-----
1172 -MGUwEwYHKoZIzj0CAQYIKoZIzj0DABEDTgAEvoaqRX6qiNQiFH1BhgLCPTpYszoRhmlLirkvlw/Q
1173 -iXBlfQ7U4g+iRR/kmu2RlwwOHgNNL+mWcvLkFfS8Kr4jzv1EY1Ecx96n21l0YQ==
1174 ------END PUBLIC KEY-----
1175 -
1176 -Availablein = default
1177 -PrivPubKeyPair=ALICE_cf_c2pnb304w1:ALICE_cf_c2pnb304w1_PUB
1178 -
1179 -PrivateKey=BOB_cf_c2pnb304w1
1180 ------BEGIN PRIVATE KEY-----
1181 -MEYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DABEELDAqAgEBBCUAOScHepX+IwqC8TjyAJI1bkR3cYYt
1182 -X9BbqYM9GQfVNSLHntTg
1183 ------END PRIVATE KEY-----
1184 -
1185 -PublicKey=BOB_cf_c2pnb304w1_PUB
1186 ------BEGIN PUBLIC KEY-----
1187 -MGUwEwYHKoZIzj0CAQYIKoZIzj0DABEDTgAEYuAq/6Yw5HxMeMohlWmwl+ZK4ZQucfr1tWDKwhDb
1188 -kAOUO2P/Q/H+uelM3VVwxeu6A1kaX7K0UZpNa96NRBwI4aevc+vOxCgYkGt9BA==
1189 ------END PUBLIC KEY-----
1190 -
1191 -Availablein = default
1192 -PrivPubKeyPair=BOB_cf_c2pnb304w1:BOB_cf_c2pnb304w1_PUB
1193 -
1194 -# ECDH Alice with Bob peer
1195 -Availablein = default
1196 -Derive=ALICE_cf_c2pnb304w1
1197 -PeerKey=BOB_cf_c2pnb304w1_PUB
1198 -SharedSecret=bfddf9f923210e8231a702e3a1c987cf27661de1bc243c1890e437d67d9f49c6ccfadc035d9d
1199 -
1200 -# ECDH Bob with Alice peer
1201 -Availablein = default
1202 -Derive=BOB_cf_c2pnb304w1
1203 -PeerKey=ALICE_cf_c2pnb304w1_PUB
1204 -SharedSecret=bfddf9f923210e8231a702e3a1c987cf27661de1bc243c1890e437d67d9f49c6ccfadc035d9d
1205 -
1206 -# ECC CDH Alice with Bob peer
1207 -Availablein = default
1208 -Derive=ALICE_cf_c2pnb304w1
1209 -PeerKey=BOB_cf_c2pnb304w1_PUB
1210 -Ctrl=ecdh_cofactor_mode:1
1211 -SharedSecret=0c7afb3143f93ef2166c05437a1757a62c916ff1751c6d456dd7f2356dcbc75df48015eb5ce8
1212 -
1213 -# ECC CDH Bob with Alice peer
1214 -Availablein = default
1215 -Derive=BOB_cf_c2pnb304w1
1216 -PeerKey=ALICE_cf_c2pnb304w1_PUB
1217 -Ctrl=ecdh_cofactor_mode:1
1218 -SharedSecret=0c7afb3143f93ef2166c05437a1757a62c916ff1751c6d456dd7f2356dcbc75df48015eb5ce8
1219 -
1220 -PublicKey=MALICE_cf_c2pnb304w1_PUB
1221 ------BEGIN PUBLIC KEY-----
1222 -MGUwEwYHKoZIzj0CAQYIKoZIzj0DABEDTgAEBZ5FuthQt0mxTJ8NQWN2J37kYT8ySD893IXEmXYP
1223 -fMTr+CSNkf/sfF/13GEdVGnHmBgCH61sPWG69RgzdjRPprZFZxXjubIWYkp0DQ==
1224 ------END PUBLIC KEY-----
1225 -
1226 -# ECC CDH Bob with Malice peer
1227 -Availablein = default
1228 -Derive=BOB_cf_c2pnb304w1
1229 -PeerKey=MALICE_cf_c2pnb304w1_PUB
1230 -Ctrl=ecdh_cofactor_mode:1
1231 -Result=DERIVE_ERROR
1232 -Reason=point at infinity
1233 -
1234 -# ECC CDH Alice with Malice peer
1235 -Availablein = default
1236 -Derive=ALICE_cf_c2pnb304w1
1237 -PeerKey=MALICE_cf_c2pnb304w1_PUB
1238 -Ctrl=ecdh_cofactor_mode:1
1239 -Result=DERIVE_ERROR
1240 -Reason=point at infinity
1241 -
1242 -Title=c2pnb368w1 curve tests
1243 -
1244 -PrivateKey=ALICE_cf_c2pnb368w1
1245 ------BEGIN PRIVATE KEY-----
1246 -ME4CAQAwEwYHKoZIzj0CAQYIKoZIzj0DABMENDAyAgEBBC0AXeSTXsHb2PEH12tZL8w2q6evA2mi
1247 -KfLLIa1c29BTmM//oWdKpqeuvwMIBto=
1248 ------END PRIVATE KEY-----
1249 -
1250 -PublicKey=ALICE_cf_c2pnb368w1_PUB
1251 ------BEGIN PUBLIC KEY-----
1252 -MHUwEwYHKoZIzj0CAQYIKoZIzj0DABMDXgAEmEBXcvMgnHwJW7wAKM4cqboco6zF01J9ntUwoACI
1253 -euvf3cpPXBvxUawJXfO9FwFRQabDRagGP99Walidd2JW8nWDWZgZMKj15Wh+4bp2dZHc2tPIIHHd
1254 -3makbwQ=
1255 ------END PUBLIC KEY-----
1256 -
1257 -Availablein = default
1258 -PrivPubKeyPair=ALICE_cf_c2pnb368w1:ALICE_cf_c2pnb368w1_PUB
1259 -
1260 -PrivateKey=BOB_cf_c2pnb368w1
1261 ------BEGIN PRIVATE KEY-----
1262 -ME4CAQAwEwYHKoZIzj0CAQYIKoZIzj0DABMENDAyAgEBBC0Aq1R9M/mCMbJMj6VBUpBkS4HXywEz
1263 -Qun6d6uXgyU4LZRszA7Dz9+eKbXEMsk=
1264 ------END PRIVATE KEY-----
1265 -
1266 -PublicKey=BOB_cf_c2pnb368w1_PUB
1267 ------BEGIN PUBLIC KEY-----
1268 -MHUwEwYHKoZIzj0CAQYIKoZIzj0DABMDXgAEJOSnsaXA9wb5p8CGLPvYI47Yf3IdZSbWQ3Sn6G2v
1269 -At+zYlpzGax1oJ1CW8fGA0Gu0RnvAfDeW9vgrtzshH1Vy/Ni6a7LPho99PtUP2nzUBnv+hfhFSra
1270 -gqfRaOs=
1271 ------END PUBLIC KEY-----
1272 -
1273 -Availablein = default
1274 -PrivPubKeyPair=BOB_cf_c2pnb368w1:BOB_cf_c2pnb368w1_PUB
1275 -
1276 -# ECDH Alice with Bob peer
1277 -Availablein = default
1278 -Derive=ALICE_cf_c2pnb368w1
1279 -PeerKey=BOB_cf_c2pnb368w1_PUB
1280 -SharedSecret=008d20ede3961be3b01051d6fdae63db43865664804d432293a2edb13dcc8be0fe5b0c655297a84b9067a29c2a6f
1281 -
1282 -# ECDH Bob with Alice peer
1283 -Availablein = default
1284 -Derive=BOB_cf_c2pnb368w1
1285 -PeerKey=ALICE_cf_c2pnb368w1_PUB
1286 -SharedSecret=008d20ede3961be3b01051d6fdae63db43865664804d432293a2edb13dcc8be0fe5b0c655297a84b9067a29c2a6f
1287 -
1288 -# ECC CDH Alice with Bob peer
1289 -Availablein = default
1290 -Derive=ALICE_cf_c2pnb368w1
1291 -PeerKey=BOB_cf_c2pnb368w1_PUB
1292 -Ctrl=ecdh_cofactor_mode:1
1293 -SharedSecret=df32ddeeffa029aeadabad000a79c3154a0ddd0aeacf4e3de426f5c10096eff8912038c64d4c899131dcd4df2561
1294 -
1295 -# ECC CDH Bob with Alice peer
1296 -Availablein = default
1297 -Derive=BOB_cf_c2pnb368w1
1298 -PeerKey=ALICE_cf_c2pnb368w1_PUB
1299 -Ctrl=ecdh_cofactor_mode:1
1300 -SharedSecret=df32ddeeffa029aeadabad000a79c3154a0ddd0aeacf4e3de426f5c10096eff8912038c64d4c899131dcd4df2561
1301 -
1302 -PublicKey=MALICE_cf_c2pnb368w1_PUB
1303 ------BEGIN PUBLIC KEY-----
1304 -MHUwEwYHKoZIzj0CAQYIKoZIzj0DABMDXgAEWDn/U9rymClM/a0Q1mawHjQjvpxSehRWstSE+2Sd
1305 -ubcZowJ+rw5LsEZteQyeVrCpKYUiIBmIVuFb2LDjtNLIJD1lr8C+vdco24ciLS9RzF/Dc9X+tcIj
1306 -726e1BE=
1307 ------END PUBLIC KEY-----
1308 -
1309 -# ECC CDH Bob with Malice peer
1310 -Availablein = default
1311 -Derive=BOB_cf_c2pnb368w1
1312 -PeerKey=MALICE_cf_c2pnb368w1_PUB
1313 -Ctrl=ecdh_cofactor_mode:1
1314 -Result=DERIVE_ERROR
1315 -Reason=point at infinity
1316 -
1317 -# ECC CDH Alice with Malice peer
1318 -Availablein = default
1319 -Derive=ALICE_cf_c2pnb368w1
1320 -PeerKey=MALICE_cf_c2pnb368w1_PUB
1321 -Ctrl=ecdh_cofactor_mode:1
1322 -Result=DERIVE_ERROR
1323 -Reason=point at infinity
1324 -
1325 -Title=c2tnb191v1 curve tests
1326 -
1327 -PrivateKey=ALICE_cf_c2tnb191v1
1328 ------BEGIN PRIVATE KEY-----
1329 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAUEHzAdAgEBBBgXyG7A4BvSmjKEl3aU+FQUt02p9U7x
1330 -Jk4=
1331 ------END PRIVATE KEY-----
1332 -
1333 -PublicKey=ALICE_cf_c2tnb191v1_PUB
1334 ------BEGIN PUBLIC KEY-----
1335 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAUDMgAEG9iuZmnhz2H/YQKmVUaO//fm7hvV+CP5c2iszpR3
1336 -7lRimqLWHPyvKgcP+PRCIUom
1337 ------END PUBLIC KEY-----
1338 -
1339 -Availablein = default
1340 -PrivPubKeyPair=ALICE_cf_c2tnb191v1:ALICE_cf_c2tnb191v1_PUB
1341 -
1342 -PrivateKey=BOB_cf_c2tnb191v1
1343 ------BEGIN PRIVATE KEY-----
1344 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAUEHzAdAgEBBBg4+2hv9x9HxFy0c2c1XESDdgOamHu0
1345 -MTU=
1346 ------END PRIVATE KEY-----
1347 -
1348 -PublicKey=BOB_cf_c2tnb191v1_PUB
1349 ------BEGIN PUBLIC KEY-----
1350 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAUDMgAEdO/4ii8gi8eQfBrv3XmsOETwIfT8OIpBW/kUoHD+
1351 -adqalcB6SIWOfoJReDLcpxAD
1352 ------END PUBLIC KEY-----
1353 -
1354 -Availablein = default
1355 -PrivPubKeyPair=BOB_cf_c2tnb191v1:BOB_cf_c2tnb191v1_PUB
1356 -
1357 -# ECDH Alice with Bob peer
1358 -Availablein = default
1359 -Derive=ALICE_cf_c2tnb191v1
1360 -PeerKey=BOB_cf_c2tnb191v1_PUB
1361 -SharedSecret=2ee8a85151c397600984285307c14f0ea0e4c2071d753a99
1362 -
1363 -# ECDH Bob with Alice peer
1364 -Availablein = default
1365 -Derive=BOB_cf_c2tnb191v1
1366 -PeerKey=ALICE_cf_c2tnb191v1_PUB
1367 -SharedSecret=2ee8a85151c397600984285307c14f0ea0e4c2071d753a99
1368 -
1369 -# ECC CDH Alice with Bob peer
1370 -Availablein = default
1371 -Derive=ALICE_cf_c2tnb191v1
1372 -PeerKey=BOB_cf_c2tnb191v1_PUB
1373 -Ctrl=ecdh_cofactor_mode:1
1374 -SharedSecret=334051dfd62237e69e280ce2fab979bd77260f8dfe4df989
1375 -
1376 -# ECC CDH Bob with Alice peer
1377 -Availablein = default
1378 -Derive=BOB_cf_c2tnb191v1
1379 -PeerKey=ALICE_cf_c2tnb191v1_PUB
1380 -Ctrl=ecdh_cofactor_mode:1
1381 -SharedSecret=334051dfd62237e69e280ce2fab979bd77260f8dfe4df989
1382 -
1383 -PublicKey=MALICE_cf_c2tnb191v1_PUB
1384 ------BEGIN PUBLIC KEY-----
1385 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAUDMgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcPEwZ1wj
1386 -iNoFyzyANZl8IDB0fF1RmZD6
1387 ------END PUBLIC KEY-----
1388 -
1389 -# ECC CDH Bob with Malice peer
1390 -Availablein = default
1391 -Derive=BOB_cf_c2tnb191v1
1392 -PeerKey=MALICE_cf_c2tnb191v1_PUB
1393 -Ctrl=ecdh_cofactor_mode:1
1394 -Result=DERIVE_ERROR
1395 -Reason=point at infinity
1396 -
1397 -# ECC CDH Alice with Malice peer
1398 -Availablein = default
1399 -Derive=ALICE_cf_c2tnb191v1
1400 -PeerKey=MALICE_cf_c2tnb191v1_PUB
1401 -Ctrl=ecdh_cofactor_mode:1
1402 -Result=DERIVE_ERROR
1403 -Reason=point at infinity
1404 -
1405 -Title=c2tnb191v2 curve tests
1406 -
1407 -PrivateKey=ALICE_cf_c2tnb191v2
1408 ------BEGIN PRIVATE KEY-----
1409 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAYEHzAdAgEBBBgQZHIQIPrAsbJqq4ZX3JdMrZAkaIGP
1410 -jbo=
1411 ------END PRIVATE KEY-----
1412 -
1413 -PublicKey=ALICE_cf_c2tnb191v2_PUB
1414 ------BEGIN PUBLIC KEY-----
1415 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAYDMgAEAyQdwZYRIiv7O4/WRLDKJ249TM8dr2Y+Oz8rSxCI
1416 -UVvJT/Jv9m462J6Iz1XOohhP
1417 ------END PUBLIC KEY-----
1418 -
1419 -Availablein = default
1420 -PrivPubKeyPair=ALICE_cf_c2tnb191v2:ALICE_cf_c2tnb191v2_PUB
1421 -
1422 -PrivateKey=BOB_cf_c2tnb191v2
1423 ------BEGIN PRIVATE KEY-----
1424 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAYEHzAdAgEBBBgThhW6d5QDaqM8yhm16q6Pu/VFBpf7
1425 -wcs=
1426 ------END PRIVATE KEY-----
1427 -
1428 -PublicKey=BOB_cf_c2tnb191v2_PUB
1429 ------BEGIN PUBLIC KEY-----
1430 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAYDMgAEBVkB4O6fFvGzMHv4BF51muFA0npOGKoOdKbIIMQY
1431 -JBIoz1RNNXTcgdpguLcrvcPJ
1432 ------END PUBLIC KEY-----
1433 -
1434 -Availablein = default
1435 -PrivPubKeyPair=BOB_cf_c2tnb191v2:BOB_cf_c2tnb191v2_PUB
1436 -
1437 -# ECDH Alice with Bob peer
1438 -Availablein = default
1439 -Derive=ALICE_cf_c2tnb191v2
1440 -PeerKey=BOB_cf_c2tnb191v2_PUB
1441 -SharedSecret=711f90cb2aaea65e939065cbd1896affe1d490ba14571400
1442 -
1443 -# ECDH Bob with Alice peer
1444 -Availablein = default
1445 -Derive=BOB_cf_c2tnb191v2
1446 -PeerKey=ALICE_cf_c2tnb191v2_PUB
1447 -SharedSecret=711f90cb2aaea65e939065cbd1896affe1d490ba14571400
1448 -
1449 -# ECC CDH Alice with Bob peer
1450 -Availablein = default
1451 -Derive=ALICE_cf_c2tnb191v2
1452 -PeerKey=BOB_cf_c2tnb191v2_PUB
1453 -Ctrl=ecdh_cofactor_mode:1
1454 -SharedSecret=1740db5b771fa2889d3ec7c1ba8eeffa7741f0ee62433dce
1455 -
1456 -# ECC CDH Bob with Alice peer
1457 -Availablein = default
1458 -Derive=BOB_cf_c2tnb191v2
1459 -PeerKey=ALICE_cf_c2tnb191v2_PUB
1460 -Ctrl=ecdh_cofactor_mode:1
1461 -SharedSecret=1740db5b771fa2889d3ec7c1ba8eeffa7741f0ee62433dce
1462 -
1463 -PublicKey=MALICE_cf_c2tnb191v2_PUB
1464 ------BEGIN PUBLIC KEY-----
1465 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAYDMgAEA3yPV6Ilx7PU7dWIDzgKzFV07LNsn1EhMyLQaa5U
1466 -2vqunpWef+/CaO2pFBcwwW+x
1467 ------END PUBLIC KEY-----
1468 -
1469 -# ECC CDH Bob with Malice peer
1470 -Availablein = default
1471 -Derive=BOB_cf_c2tnb191v2
1472 -PeerKey=MALICE_cf_c2tnb191v2_PUB
1473 -Ctrl=ecdh_cofactor_mode:1
1474 -Result=DERIVE_ERROR
1475 -Reason=point at infinity
1476 -
1477 -# ECC CDH Alice with Malice peer
1478 -Availablein = default
1479 -Derive=ALICE_cf_c2tnb191v2
1480 -PeerKey=MALICE_cf_c2tnb191v2_PUB
1481 -Ctrl=ecdh_cofactor_mode:1
1482 -Result=DERIVE_ERROR
1483 -Reason=point at infinity
1484 -
1485 -Title=c2tnb191v3 curve tests
1486 -
1487 -PrivateKey=ALICE_cf_c2tnb191v3
1488 ------BEGIN PRIVATE KEY-----
1489 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAcEHzAdAgEBBBgTPjf06B01Jq59qU1iczNuA29WfW+b
1490 -erU=
1491 ------END PRIVATE KEY-----
1492 -
1493 -PublicKey=ALICE_cf_c2tnb191v3_PUB
1494 ------BEGIN PUBLIC KEY-----
1495 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAcDMgAEL4NGEUX2CXY18MyoH1inKq5kde9RGr25ODm/0BEX
1496 -HWsGvDE2HC+6pL2BMl3MRCty
1497 ------END PUBLIC KEY-----
1498 -
1499 -Availablein = default
1500 -PrivPubKeyPair=ALICE_cf_c2tnb191v3:ALICE_cf_c2tnb191v3_PUB
1501 -
1502 -PrivateKey=BOB_cf_c2tnb191v3
1503 ------BEGIN PRIVATE KEY-----
1504 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAcEHzAdAgEBBBgUC2bC465JTXYLUaaET/r5n7X85gRH
1505 -iSQ=
1506 ------END PRIVATE KEY-----
1507 -
1508 -PublicKey=BOB_cf_c2tnb191v3_PUB
1509 ------BEGIN PUBLIC KEY-----
1510 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAcDMgAEPKekNkT9mQ8KRCTR2RwCFkhNvsjL+/mLHYzbMrYe
1511 -QFIb5QwXAdbg2tEOl7yj9qkk
1512 ------END PUBLIC KEY-----
1513 -
1514 -Availablein = default
1515 -PrivPubKeyPair=BOB_cf_c2tnb191v3:BOB_cf_c2tnb191v3_PUB
1516 -
1517 -# ECDH Alice with Bob peer
1518 -Availablein = default
1519 -Derive=ALICE_cf_c2tnb191v3
1520 -PeerKey=BOB_cf_c2tnb191v3_PUB
1521 -SharedSecret=196200f7ea06c43c35516b995cf4a4dd4151dbd0ed998561
1522 -
1523 -# ECDH Bob with Alice peer
1524 -Availablein = default
1525 -Derive=BOB_cf_c2tnb191v3
1526 -PeerKey=ALICE_cf_c2tnb191v3_PUB
1527 -SharedSecret=196200f7ea06c43c35516b995cf4a4dd4151dbd0ed998561
1528 -
1529 -# ECC CDH Alice with Bob peer
1530 -Availablein = default
1531 -Derive=ALICE_cf_c2tnb191v3
1532 -PeerKey=BOB_cf_c2tnb191v3_PUB
1533 -Ctrl=ecdh_cofactor_mode:1
1534 -SharedSecret=311939377670a8a1ed1ee17f9dd182167da00c5a19e2e109
1535 -
1536 -# ECC CDH Bob with Alice peer
1537 -Availablein = default
1538 -Derive=BOB_cf_c2tnb191v3
1539 -PeerKey=ALICE_cf_c2tnb191v3_PUB
1540 -Ctrl=ecdh_cofactor_mode:1
1541 -SharedSecret=311939377670a8a1ed1ee17f9dd182167da00c5a19e2e109
1542 -
1543 -PublicKey=MALICE_cf_c2tnb191v3_PUB
1544 ------BEGIN PUBLIC KEY-----
1545 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAAcDMgAESvPjWlLnANK2j38hHZ0uqueaniovkhwwdJZjrmUk
1546 -n5vQBTxUzkIkMjL33v6Lr3z7
1547 ------END PUBLIC KEY-----
1548 -
1549 -# ECC CDH Bob with Malice peer
1550 -Availablein = default
1551 -Derive=BOB_cf_c2tnb191v3
1552 -PeerKey=MALICE_cf_c2tnb191v3_PUB
1553 -Ctrl=ecdh_cofactor_mode:1
1554 -Result=DERIVE_ERROR
1555 -Reason=point at infinity
1556 -
1557 -# ECC CDH Alice with Malice peer
1558 -Availablein = default
1559 -Derive=ALICE_cf_c2tnb191v3
1560 -PeerKey=MALICE_cf_c2tnb191v3_PUB
1561 -Ctrl=ecdh_cofactor_mode:1
1562 -Result=DERIVE_ERROR
1563 -Reason=point at infinity
1564 -
1565 -Title=c2tnb239v1 curve tests
1566 -
1567 -PrivateKey=ALICE_cf_c2tnb239v1
1568 ------BEGIN PRIVATE KEY-----
1569 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAsEJTAjAgEBBB4fMJDhCEiuEf/RF6oGjHVcNwN+wCYG
1570 -rJMnJLIXiCI=
1571 ------END PRIVATE KEY-----
1572 -
1573 -PublicKey=ALICE_cf_c2tnb239v1_PUB
1574 ------BEGIN PUBLIC KEY-----
1575 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAAsDPgAEUgG/uMWy4k0R/kbVJEapF6r5ik4Q9WPsDXAd0856
1576 -dVL8PvBXgixk2tKfyY1xUVebcEVlgdZP1pN1Xyvi
1577 ------END PUBLIC KEY-----
1578 -
1579 -Availablein = default
1580 -PrivPubKeyPair=ALICE_cf_c2tnb239v1:ALICE_cf_c2tnb239v1_PUB
1581 -
1582 -PrivateKey=BOB_cf_c2tnb239v1
1583 ------BEGIN PRIVATE KEY-----
1584 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAsEJTAjAgEBBB4JLDwVJQw3+00FiZBDWFErd7PXnchH
1585 -sfpZeV3i5FM=
1586 ------END PRIVATE KEY-----
1587 -
1588 -PublicKey=BOB_cf_c2tnb239v1_PUB
1589 ------BEGIN PUBLIC KEY-----
1590 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAAsDPgAEcwKt31cWaoFUd7QxYSdwgMDOqEhjPbD3Z9AfR3tc
1591 -G77/MY5z1oQegqImBog645vtPWI8lZd1zcl6QYRS
1592 ------END PUBLIC KEY-----
1593 -
1594 -Availablein = default
1595 -PrivPubKeyPair=BOB_cf_c2tnb239v1:BOB_cf_c2tnb239v1_PUB
1596 -
1597 -# ECDH Alice with Bob peer
1598 -Availablein = default
1599 -Derive=ALICE_cf_c2tnb239v1
1600 -PeerKey=BOB_cf_c2tnb239v1_PUB
1601 -SharedSecret=413ea943cdf40c45795c77aeea7099b81cc42566067924d1fdbae42ddf99
1602 -
1603 -# ECDH Bob with Alice peer
1604 -Availablein = default
1605 -Derive=BOB_cf_c2tnb239v1
1606 -PeerKey=ALICE_cf_c2tnb239v1_PUB
1607 -SharedSecret=413ea943cdf40c45795c77aeea7099b81cc42566067924d1fdbae42ddf99
1608 -
1609 -# ECC CDH Alice with Bob peer
1610 -Availablein = default
1611 -Derive=ALICE_cf_c2tnb239v1
1612 -PeerKey=BOB_cf_c2tnb239v1_PUB
1613 -Ctrl=ecdh_cofactor_mode:1
1614 -SharedSecret=1f1e5a6084492e895c35d76a5d2b4a3fafbd96c4b2230ea71cc1c711fa38
1615 -
1616 -# ECC CDH Bob with Alice peer
1617 -Availablein = default
1618 -Derive=BOB_cf_c2tnb239v1
1619 -PeerKey=ALICE_cf_c2tnb239v1_PUB
1620 -Ctrl=ecdh_cofactor_mode:1
1621 -SharedSecret=1f1e5a6084492e895c35d76a5d2b4a3fafbd96c4b2230ea71cc1c711fa38
1622 -
1623 -PublicKey=MALICE_cf_c2tnb239v1_PUB
1624 ------BEGIN PUBLIC KEY-----
1625 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAAsDPgAEJFn89FF7xaa5m+XGxWKFwCH+Mu4rbxwi6lvhuEuT
1626 -Itl/OAosALFh8xpt+N5gmKtUdhpjyok2udC4B/mY
1627 ------END PUBLIC KEY-----
1628 -
1629 -# ECC CDH Bob with Malice peer
1630 -Availablein = default
1631 -Derive=BOB_cf_c2tnb239v1
1632 -PeerKey=MALICE_cf_c2tnb239v1_PUB
1633 -Ctrl=ecdh_cofactor_mode:1
1634 -Result=DERIVE_ERROR
1635 -Reason=point at infinity
1636 -
1637 -# ECC CDH Alice with Malice peer
1638 -Availablein = default
1639 -Derive=ALICE_cf_c2tnb239v1
1640 -PeerKey=MALICE_cf_c2tnb239v1_PUB
1641 -Ctrl=ecdh_cofactor_mode:1
1642 -Result=DERIVE_ERROR
1643 -Reason=point at infinity
1644 -
1645 -Title=c2tnb239v2 curve tests
1646 -
1647 -PrivateKey=ALICE_cf_c2tnb239v2
1648 ------BEGIN PRIVATE KEY-----
1649 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAwEJTAjAgEBBB4KU4YKdzFOkl6M1biHkxtVGD2uNXr6
1650 -GbEcp4PbJKU=
1651 ------END PRIVATE KEY-----
1652 -
1653 -PublicKey=ALICE_cf_c2tnb239v2_PUB
1654 ------BEGIN PUBLIC KEY-----
1655 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAAwDPgAEKzpycflUrsyqVV/+fzvC2+AuX3r0b0Syn8acvn78
1656 -VnKA9mZKwPLWhnMJcLyzarIzc/6/UcfYGNmTyUlG
1657 ------END PUBLIC KEY-----
1658 -
1659 -Availablein = default
1660 -PrivPubKeyPair=ALICE_cf_c2tnb239v2:ALICE_cf_c2tnb239v2_PUB
1661 -
1662 -PrivateKey=BOB_cf_c2tnb239v2
1663 ------BEGIN PRIVATE KEY-----
1664 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAAwEJTAjAgEBBB4HZQLKGKBpIKiyTq6XYZWQNph1oGP+
1665 -JLwCwn7lYx0=
1666 ------END PRIVATE KEY-----
1667 -
1668 -PublicKey=BOB_cf_c2tnb239v2_PUB
1669 ------BEGIN PUBLIC KEY-----
1670 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAAwDPgAETPSkhMs3JW3BG66FSfCov76JKdcRiBhMCW453Wku
1671 -N7yBxBmWjeclHhnXIzfc4qM4qf9n3KzMSXejPVYg
1672 ------END PUBLIC KEY-----
1673 -
1674 -Availablein = default
1675 -PrivPubKeyPair=BOB_cf_c2tnb239v2:BOB_cf_c2tnb239v2_PUB
1676 -
1677 -# ECDH Alice with Bob peer
1678 -Availablein = default
1679 -Derive=ALICE_cf_c2tnb239v2
1680 -PeerKey=BOB_cf_c2tnb239v2_PUB
1681 -SharedSecret=2e738f14795b2e19ee791c1bf30c5e462ca6c6ed0ec5c6c6402d0730cf4c
1682 -
1683 -# ECDH Bob with Alice peer
1684 -Availablein = default
1685 -Derive=BOB_cf_c2tnb239v2
1686 -PeerKey=ALICE_cf_c2tnb239v2_PUB
1687 -SharedSecret=2e738f14795b2e19ee791c1bf30c5e462ca6c6ed0ec5c6c6402d0730cf4c
1688 -
1689 -# ECC CDH Alice with Bob peer
1690 -Availablein = default
1691 -Derive=ALICE_cf_c2tnb239v2
1692 -PeerKey=BOB_cf_c2tnb239v2_PUB
1693 -Ctrl=ecdh_cofactor_mode:1
1694 -SharedSecret=7662d8b94d3f0d20eb8e112ca8b7d5699d81f35902df5b77561977df3946
1695 -
1696 -# ECC CDH Bob with Alice peer
1697 -Availablein = default
1698 -Derive=BOB_cf_c2tnb239v2
1699 -PeerKey=ALICE_cf_c2tnb239v2_PUB
1700 -Ctrl=ecdh_cofactor_mode:1
1701 -SharedSecret=7662d8b94d3f0d20eb8e112ca8b7d5699d81f35902df5b77561977df3946
1702 -
1703 -PublicKey=MALICE_cf_c2tnb239v2_PUB
1704 ------BEGIN PUBLIC KEY-----
1705 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAAwDPgAES8fLc5mtVI0HqgKRJ7mN8MU1B0FBkiim6jCHYJf3
1706 -JYUX3Gn3Ai11cHie+nVb3z51jSkpDQENHESTv5K2
1707 ------END PUBLIC KEY-----
1708 -
1709 -# ECC CDH Bob with Malice peer
1710 -Availablein = default
1711 -Derive=BOB_cf_c2tnb239v2
1712 -PeerKey=MALICE_cf_c2tnb239v2_PUB
1713 -Ctrl=ecdh_cofactor_mode:1
1714 -Result=DERIVE_ERROR
1715 -Reason=point at infinity
1716 -
1717 -# ECC CDH Alice with Malice peer
1718 -Availablein = default
1719 -Derive=ALICE_cf_c2tnb239v2
1720 -PeerKey=MALICE_cf_c2tnb239v2_PUB
1721 -Ctrl=ecdh_cofactor_mode:1
1722 -Result=DERIVE_ERROR
1723 -Reason=point at infinity
1724 -
1725 -Title=c2tnb239v3 curve tests
1726 -
1727 -PrivateKey=ALICE_cf_c2tnb239v3
1728 ------BEGIN PRIVATE KEY-----
1729 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAA0EJTAjAgEBBB4BZZXtcMw5GrpgHJLx4D8z7M6ocWdv
1730 -rDl2fV9ObC8=
1731 ------END PRIVATE KEY-----
1732 -
1733 -PublicKey=ALICE_cf_c2tnb239v3_PUB
1734 ------BEGIN PUBLIC KEY-----
1735 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAA0DPgAEOu2HIAUX+r6IbRlrPUJUBDL814dR++maVAAkUIjD
1736 -H33ewqcI9ZLtpvuR8P8hgRNUTXlh1GWgrB6F21Eo
1737 ------END PUBLIC KEY-----
1738 -
1739 -Availablein = default
1740 -PrivPubKeyPair=ALICE_cf_c2tnb239v3:ALICE_cf_c2tnb239v3_PUB
1741 -
1742 -PrivateKey=BOB_cf_c2tnb239v3
1743 ------BEGIN PRIVATE KEY-----
1744 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAA0EJTAjAgEBBB4BDxw3SA54y6uYOW1n4yZaUK22J9ef
1745 -XG3HcQX+4i0=
1746 ------END PRIVATE KEY-----
1747 -
1748 -PublicKey=BOB_cf_c2tnb239v3_PUB
1749 ------BEGIN PUBLIC KEY-----
1750 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAA0DPgAEVaEi76wyzlpzkkSElf4SmGZ7kf1ghHMP82HkGk7K
1751 -BC10zUyppoSOAr0eX4pHAkDUF1m/KGoJa7QcJJww
1752 ------END PUBLIC KEY-----
1753 -
1754 -Availablein = default
1755 -PrivPubKeyPair=BOB_cf_c2tnb239v3:BOB_cf_c2tnb239v3_PUB
1756 -
1757 -# ECDH Alice with Bob peer
1758 -Availablein = default
1759 -Derive=ALICE_cf_c2tnb239v3
1760 -PeerKey=BOB_cf_c2tnb239v3_PUB
1761 -SharedSecret=6a756022ec2ea89b0fa757824909707102acf3b7da39dc625c6252eb4c48
1762 -
1763 -# ECDH Bob with Alice peer
1764 -Availablein = default
1765 -Derive=BOB_cf_c2tnb239v3
1766 -PeerKey=ALICE_cf_c2tnb239v3_PUB
1767 -SharedSecret=6a756022ec2ea89b0fa757824909707102acf3b7da39dc625c6252eb4c48
1768 -
1769 -# ECC CDH Alice with Bob peer
1770 -Availablein = default
1771 -Derive=ALICE_cf_c2tnb239v3
1772 -PeerKey=BOB_cf_c2tnb239v3_PUB
1773 -Ctrl=ecdh_cofactor_mode:1
1774 -SharedSecret=3240e19dd8c290e5e1749df60ad0166dd9dbfad645e518b4948e14f774ce
1775 -
1776 -# ECC CDH Bob with Alice peer
1777 -Availablein = default
1778 -Derive=BOB_cf_c2tnb239v3
1779 -PeerKey=ALICE_cf_c2tnb239v3_PUB
1780 -Ctrl=ecdh_cofactor_mode:1
1781 -SharedSecret=3240e19dd8c290e5e1749df60ad0166dd9dbfad645e518b4948e14f774ce
1782 -
1783 -PublicKey=MALICE_cf_c2tnb239v3_PUB
1784 ------BEGIN PUBLIC KEY-----
1785 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAA0DPgAELe/znC87/2ucKX7mXUUyiUvg67slWRdH+WHDct9d
1786 -LcXDyB342ZN1nm0NCAmBMcLjohX0Zza0ji3YNjT1
1787 ------END PUBLIC KEY-----
1788 -
1789 -# ECC CDH Bob with Malice peer
1790 -Availablein = default
1791 -Derive=BOB_cf_c2tnb239v3
1792 -PeerKey=MALICE_cf_c2tnb239v3_PUB
1793 -Ctrl=ecdh_cofactor_mode:1
1794 -Result=DERIVE_ERROR
1795 -Reason=point at infinity
1796 -
1797 -# ECC CDH Alice with Malice peer
1798 -Availablein = default
1799 -Derive=ALICE_cf_c2tnb239v3
1800 -PeerKey=MALICE_cf_c2tnb239v3_PUB
1801 -Ctrl=ecdh_cofactor_mode:1
1802 -Result=DERIVE_ERROR
1803 -Reason=point at infinity
1804 -
1805 -Title=c2tnb359v1 curve tests
1806 -
1807 -PrivateKey=ALICE_cf_c2tnb359v1
1808 ------BEGIN PRIVATE KEY-----
1809 -ME4CAQAwEwYHKoZIzj0CAQYIKoZIzj0DABIENDAyAgEBBC0Afea/a1NrRf6rRRr/UDsI559ADTFP
1810 -Bd5HaS33laTZkCdNLITw1UUrESUIOiU=
1811 ------END PRIVATE KEY-----
1812 -
1813 -PublicKey=ALICE_cf_c2tnb359v1_PUB
1814 ------BEGIN PUBLIC KEY-----
1815 -MHMwEwYHKoZIzj0CAQYIKoZIzj0DABIDXAAEZMJU3QF9UJJp2m6qyCnhPuVlPKPHtav3DCgH27SY
1816 -RLMN7C4rRmqiJakD11QtOforOgbPW5r/v7t4TUWIlq8jV7kapJNtxQtg/S87L0NQGgHBq/lnJL8x
1817 -fN3Y
1818 ------END PUBLIC KEY-----
1819 -
1820 -Availablein = default
1821 -PrivPubKeyPair=ALICE_cf_c2tnb359v1:ALICE_cf_c2tnb359v1_PUB
1822 -
1823 -PrivateKey=BOB_cf_c2tnb359v1
1824 ------BEGIN PRIVATE KEY-----
1825 -ME4CAQAwEwYHKoZIzj0CAQYIKoZIzj0DABIENDAyAgEBBC0Aaw+yr7Atz8CXjLsbI5msXLqxFoMr
1826 -esHVfU53i6ucCsnPTWSDWSb5CePtI9g=
1827 ------END PRIVATE KEY-----
1828 -
1829 -PublicKey=BOB_cf_c2tnb359v1_PUB
1830 ------BEGIN PUBLIC KEY-----
1831 -MHMwEwYHKoZIzj0CAQYIKoZIzj0DABIDXAAEUQde0iyDHbsFJZ459d4zUhsrJYAkqndmEBRwSlg5
1832 -ZNX8SSS79Zf2HsQl+LWIZyzeYzoHobKXufChw9/H4ThS58VwV5/0hoE929PIgJ1MSEqr5LvJXi+b
1833 -R8fe
1834 ------END PUBLIC KEY-----
1835 -
1836 -Availablein = default
1837 -PrivPubKeyPair=BOB_cf_c2tnb359v1:BOB_cf_c2tnb359v1_PUB
1838 -
1839 -# ECDH Alice with Bob peer
1840 -Availablein = default
1841 -Derive=ALICE_cf_c2tnb359v1
1842 -PeerKey=BOB_cf_c2tnb359v1_PUB
1843 -SharedSecret=623a71122b5acad467d40d97ef8d8fd46541d8c41d7de6ba181c24e2714c1bc35bcefcf089af69c406eedecc12
1844 -
1845 -# ECDH Bob with Alice peer
1846 -Availablein = default
1847 -Derive=BOB_cf_c2tnb359v1
1848 -PeerKey=ALICE_cf_c2tnb359v1_PUB
1849 -SharedSecret=623a71122b5acad467d40d97ef8d8fd46541d8c41d7de6ba181c24e2714c1bc35bcefcf089af69c406eedecc12
1850 -
1851 -# ECC CDH Alice with Bob peer
1852 -Availablein = default
1853 -Derive=ALICE_cf_c2tnb359v1
1854 -PeerKey=BOB_cf_c2tnb359v1_PUB
1855 -Ctrl=ecdh_cofactor_mode:1
1856 -SharedSecret=1c9c4cea3251dace2cb763eabf60f106cc1b03f2491e6f20d7bea78e062f8f14c4e82e4d43786eefa44d33f7e9
1857 -
1858 -# ECC CDH Bob with Alice peer
1859 -Availablein = default
1860 -Derive=BOB_cf_c2tnb359v1
1861 -PeerKey=ALICE_cf_c2tnb359v1_PUB
1862 -Ctrl=ecdh_cofactor_mode:1
1863 -SharedSecret=1c9c4cea3251dace2cb763eabf60f106cc1b03f2491e6f20d7bea78e062f8f14c4e82e4d43786eefa44d33f7e9
1864 -
1865 -PublicKey=MALICE_cf_c2tnb359v1_PUB
1866 ------BEGIN PUBLIC KEY-----
1867 -MHMwEwYHKoZIzj0CAQYIKoZIzj0DABIDXAAEDW1DxeJfyPPnxX4WiLM5ZnX9AypqqeKj7FTHxanl
1868 -++A6FgVFjUCatt8Sr4xnSc3zDE0kh6f/wS9SbtCAi74i8HAX5SJiccCMPRkw6kBuHZgiG8EmFJ53
1869 -OEQw
1870 ------END PUBLIC KEY-----
1871 -
1872 -# ECC CDH Bob with Malice peer
1873 -Availablein = default
1874 -Derive=BOB_cf_c2tnb359v1
1875 -PeerKey=MALICE_cf_c2tnb359v1_PUB
1876 -Ctrl=ecdh_cofactor_mode:1
1877 -Result=DERIVE_ERROR
1878 -Reason=point at infinity
1879 -
1880 -# ECC CDH Alice with Malice peer
1881 -Availablein = default
1882 -Derive=ALICE_cf_c2tnb359v1
1883 -PeerKey=MALICE_cf_c2tnb359v1_PUB
1884 -Ctrl=ecdh_cofactor_mode:1
1885 -Result=DERIVE_ERROR
1886 -Reason=point at infinity
1887 -
1888 -Title=c2tnb431r1 curve tests
1889 -
1890 -PrivateKey=ALICE_cf_c2tnb431r1
1891 ------BEGIN PRIVATE KEY-----
1892 -MFYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DABQEPDA6AgEBBDUAG1rgUnH3+PSxqlzt9+QTWv7PrYxz
1893 -Qgqj5A2Mqi0LbdixVDciVSSgrU6keVu72oCmHVP+OQ==
1894 ------END PRIVATE KEY-----
1895 -
1896 -PublicKey=ALICE_cf_c2tnb431r1_PUB
1897 ------BEGIN PUBLIC KEY-----
1898 -MIGFMBMGByqGSM49AgEGCCqGSM49AwAUA24ABFcQEDic9pYxtxStk/oBxafqyUux1kvEOOwR4FxJ
1899 -pGEMTh8B+YfkWuq+IDY5zSqNKtg7cRlAFX2dlHhRSvNxrN3DJCrhe/TQq8SIYawcqEQnM39F8hHM
1900 -7VQJLEsBpJ/WUonwMJXknjgfONP7GA==
1901 ------END PUBLIC KEY-----
1902 -
1903 -Availablein = default
1904 -PrivPubKeyPair=ALICE_cf_c2tnb431r1:ALICE_cf_c2tnb431r1_PUB
1905 -
1906 -PrivateKey=BOB_cf_c2tnb431r1
1907 ------BEGIN PRIVATE KEY-----
1908 -MFYCAQAwEwYHKoZIzj0CAQYIKoZIzj0DABQEPDA6AgEBBDUBOsZrpI6hTgImR8DBhKOOrh2SvcT/
1909 -VwmzYnbuCRrtr/zwIQcqKKI1ztlrl+kxFxJfk5L7UQ==
1910 ------END PRIVATE KEY-----
1911 -
1912 -PublicKey=BOB_cf_c2tnb431r1_PUB
1913 ------BEGIN PUBLIC KEY-----
1914 -MIGFMBMGByqGSM49AgEGCCqGSM49AwAUA24ABHeTG6xjbsKKxn4oYQt9qUM9LrSPZfY11XsBmROc
1915 -fb9kEbBLU+QixSbYZOrqPasesDV9dApDXF+w6EfIeNyJEK5Lk+aXamrn7fRMUAQ2m7+Odp87GgA+
1916 -8Cg6YpgbK314SK5STziqoZwzEISJ9w==
1917 ------END PUBLIC KEY-----
1918 -
1919 -Availablein = default
1920 -PrivPubKeyPair=BOB_cf_c2tnb431r1:BOB_cf_c2tnb431r1_PUB
1921 -
1922 -# ECDH Alice with Bob peer
1923 -Availablein = default
1924 -Derive=ALICE_cf_c2tnb431r1
1925 -PeerKey=BOB_cf_c2tnb431r1_PUB
1926 -SharedSecret=1c9a64de0b706f0e562d5144ceeb4806ce8782865dc0e3fab694967955bd40afc79bf9241ef4a173fbf9baeac0d416392fb13bdc6978
1927 -
1928 -# ECDH Bob with Alice peer
1929 -Availablein = default
1930 -Derive=BOB_cf_c2tnb431r1
1931 -PeerKey=ALICE_cf_c2tnb431r1_PUB
1932 -SharedSecret=1c9a64de0b706f0e562d5144ceeb4806ce8782865dc0e3fab694967955bd40afc79bf9241ef4a173fbf9baeac0d416392fb13bdc6978
1933 -
1934 -# ECC CDH Alice with Bob peer
1935 -Availablein = default
1936 -Derive=ALICE_cf_c2tnb431r1
1937 -PeerKey=BOB_cf_c2tnb431r1_PUB
1938 -Ctrl=ecdh_cofactor_mode:1
1939 -SharedSecret=059e2ea2d0d8bad5005a9401196ebb1633377c7ded8ec58a0398cf1d0f42ea82614f68cb836ecfc33612b8a705b4c3b7b4ed12eb6e22
1940 -
1941 -# ECC CDH Bob with Alice peer
1942 -Availablein = default
1943 -Derive=BOB_cf_c2tnb431r1
1944 -PeerKey=ALICE_cf_c2tnb431r1_PUB
1945 -Ctrl=ecdh_cofactor_mode:1
1946 -SharedSecret=059e2ea2d0d8bad5005a9401196ebb1633377c7ded8ec58a0398cf1d0f42ea82614f68cb836ecfc33612b8a705b4c3b7b4ed12eb6e22
1947 -
1948 -PublicKey=MALICE_cf_c2tnb431r1_PUB
1949 ------BEGIN PUBLIC KEY-----
1950 -MIGFMBMGByqGSM49AgEGCCqGSM49AwAUA24ABA/cHJ1bNJ2l3GcrT67WEoU0w/Ajy28T9X4XLv8a
1951 -5EpnkembeFlRG8ILplDcZimE8kjNQWynAk+NbJRsIU/XLzcm7VXkkqEkx/yCQ/TOcbeB3qrpzWYr
1952 -F3Cls9x60wuFYNc9d6eIe4B+puz9IQ==
1953 ------END PUBLIC KEY-----
1954 -
1955 -# ECC CDH Bob with Malice peer
1956 -Availablein = default
1957 -Derive=BOB_cf_c2tnb431r1
1958 -PeerKey=MALICE_cf_c2tnb431r1_PUB
1959 -Ctrl=ecdh_cofactor_mode:1
1960 -Result=DERIVE_ERROR
1961 -Reason=point at infinity
1962 -
1963 -# ECC CDH Alice with Malice peer
1964 -Availablein = default
1965 -Derive=ALICE_cf_c2tnb431r1
1966 -PeerKey=MALICE_cf_c2tnb431r1_PUB
1967 -Ctrl=ecdh_cofactor_mode:1
1968 -Result=DERIVE_ERROR
1969 -Reason=point at infinity
1970 -
1971 -Title=prime192v2 curve tests
1972 -
1973 -PrivateKey=ALICE_cf_prime192v2
1974 ------BEGIN PRIVATE KEY-----
1975 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQIEHzAdAgEBBBh6rcgPFDmA2P4CGSrC7ii9DAjepljX
1976 -sMM=
1977 ------END PRIVATE KEY-----
1978 -
1979 -PublicKey=ALICE_cf_prime192v2_PUB
1980 ------BEGIN PUBLIC KEY-----
1981 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQIDMgAET6wOPoDU3BeU7VKozsGEvDeJs//9Z/aNEcbbLQ0d
1982 -g5IzsS/XMJzifjCJZgNsb7mi
1983 ------END PUBLIC KEY-----
1984 -
1985 -Availablein = default
1986 -PrivPubKeyPair=ALICE_cf_prime192v2:ALICE_cf_prime192v2_PUB
1987 -
1988 -PrivateKey=BOB_cf_prime192v2
1989 ------BEGIN PRIVATE KEY-----
1990 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQIEHzAdAgEBBBja4R9iZuiu95XEuM1558ArTwNnAl7M
1991 -xqI=
1992 ------END PRIVATE KEY-----
1993 -
1994 -PublicKey=BOB_cf_prime192v2_PUB
1995 ------BEGIN PUBLIC KEY-----
1996 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQIDMgAEcgWNAOL4pZCmouZl+be+rC0yLAJkm2YuPWs+FX2u
1997 -Y6OU1aHkkspZTC1uUVWjchy5
1998 ------END PUBLIC KEY-----
1999 -
2000 -Availablein = default
2001 -PrivPubKeyPair=BOB_cf_prime192v2:BOB_cf_prime192v2_PUB
2002 -
2003 -# ECDH Alice with Bob peer
2004 -Availablein = default
2005 -Derive=ALICE_cf_prime192v2
2006 -PeerKey=BOB_cf_prime192v2_PUB
2007 -SharedSecret=ae2ff9f1f9f24e6d281dc78993d9f71913e1e105965000a1
2008 -
2009 -# ECDH Bob with Alice peer
2010 -Availablein = default
2011 -Derive=BOB_cf_prime192v2
2012 -PeerKey=ALICE_cf_prime192v2_PUB
2013 -SharedSecret=ae2ff9f1f9f24e6d281dc78993d9f71913e1e105965000a1
2014 -
2015 -Title=prime192v3 curve tests
2016 -
2017 -PrivateKey=ALICE_cf_prime192v3
2018 ------BEGIN PRIVATE KEY-----
2019 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQMEHzAdAgEBBBij5blPQRKM1/9c57YDZXIIue80MDqx
2020 -Igw=
2021 ------END PRIVATE KEY-----
2022 -
2023 -PublicKey=ALICE_cf_prime192v3_PUB
2024 ------BEGIN PUBLIC KEY-----
2025 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQMDMgAE1+mLeiT/jjHO71IL/C/ZcnF6+yj9FV6eqfuPdHAi
2026 -MsDRFCB6/h8TcCUFuospu5l0
2027 ------END PUBLIC KEY-----
2028 -
2029 -Availablein = default
2030 -PrivPubKeyPair=ALICE_cf_prime192v3:ALICE_cf_prime192v3_PUB
2031 -
2032 -PrivateKey=BOB_cf_prime192v3
2033 ------BEGIN PRIVATE KEY-----
2034 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQMEHzAdAgEBBBhgFP4fFLtm/yk5tsosBUBKTg370FOu
2035 -92g=
2036 ------END PRIVATE KEY-----
2037 -
2038 -PublicKey=BOB_cf_prime192v3_PUB
2039 ------BEGIN PUBLIC KEY-----
2040 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQMDMgAEv35bOz0xqLeJqpZdZ8LyiUgsJMBEtN2UMJm8blX2
2041 -vMWAgEeLhzar86BUlS7dZwS7
2042 ------END PUBLIC KEY-----
2043 -
2044 -Availablein = default
2045 -PrivPubKeyPair=BOB_cf_prime192v3:BOB_cf_prime192v3_PUB
2046 -
2047 -# ECDH Alice with Bob peer
2048 -Availablein = default
2049 -Derive=ALICE_cf_prime192v3
2050 -PeerKey=BOB_cf_prime192v3_PUB
2051 -SharedSecret=9e562ecbe29c510a13b0daea822ec864c2a9684d2a382812
2052 -
2053 -# ECDH Bob with Alice peer
2054 -Availablein = default
2055 -Derive=BOB_cf_prime192v3
2056 -PeerKey=ALICE_cf_prime192v3_PUB
2057 -SharedSecret=9e562ecbe29c510a13b0daea822ec864c2a9684d2a382812
2058 -
2059 -Title=prime239v1 curve tests
2060 -
2061 -PrivateKey=ALICE_cf_prime239v1
2062 ------BEGIN PRIVATE KEY-----
2063 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQQEJTAjAgEBBB5nH2mt/GUx+I/60NlcuQlrdupDXwMY
2064 -SF/w+SUTNqY=
2065 ------END PRIVATE KEY-----
2066 -
2067 -PublicKey=ALICE_cf_prime239v1_PUB
2068 ------BEGIN PUBLIC KEY-----
2069 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQQDPgAEMqQLCgDR9njkq9QELuOu+J/9YGcxJHULdvxHImLW
2070 -RXqBUM5Xea+Qk2SKIpWcogxr2zFeQyeLj2bQysuo
2071 ------END PUBLIC KEY-----
2072 -
2073 -Availablein = default
2074 -PrivPubKeyPair=ALICE_cf_prime239v1:ALICE_cf_prime239v1_PUB
2075 -
2076 -PrivateKey=BOB_cf_prime239v1
2077 ------BEGIN PRIVATE KEY-----
2078 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQQEJTAjAgEBBB5RZgYV+j+zhwI12zCzB+mdPofMx0kB
2079 -jZ9gplgXxzk=
2080 ------END PRIVATE KEY-----
2081 -
2082 -PublicKey=BOB_cf_prime239v1_PUB
2083 ------BEGIN PUBLIC KEY-----
2084 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQQDPgAEBR5m/kllh025oO4GvqALkjRliVv7q4x8ro/tkYnT
2085 -L2U4hkT6xUeRu9QC4KOz7KUVH+nBbQASL4XQg/3C
2086 ------END PUBLIC KEY-----
2087 -
2088 -Availablein = default
2089 -PrivPubKeyPair=BOB_cf_prime239v1:BOB_cf_prime239v1_PUB
2090 -
2091 -# ECDH Alice with Bob peer
2092 -Availablein = default
2093 -Derive=ALICE_cf_prime239v1
2094 -PeerKey=BOB_cf_prime239v1_PUB
2095 -SharedSecret=196b1d0206d4f87c313c266bfb12c90dd1f1f64b89bfc16518086b9801b8
2096 -
2097 -# ECDH Bob with Alice peer
2098 -Availablein = default
2099 -Derive=BOB_cf_prime239v1
2100 -PeerKey=ALICE_cf_prime239v1_PUB
2101 -SharedSecret=196b1d0206d4f87c313c266bfb12c90dd1f1f64b89bfc16518086b9801b8
2102 -
2103 -Title=prime239v2 curve tests
2104 -
2105 -PrivateKey=ALICE_cf_prime239v2
2106 ------BEGIN PRIVATE KEY-----
2107 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQUEJTAjAgEBBB5uLCwofbD2Suc/iIRhXJsPqZ4me87h
2108 -+tFevsg1pPE=
2109 ------END PRIVATE KEY-----
2110 -
2111 -PublicKey=ALICE_cf_prime239v2_PUB
2112 ------BEGIN PUBLIC KEY-----
2113 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQUDPgAETH77jXHBItV673gTNK/HTFldo4VxPiscbideUgKd
2114 -CWjdVsXebgAZbqQwf0h9QWcIgM7K7ODdW5kCuZ1G
2115 ------END PUBLIC KEY-----
2116 -
2117 -Availablein = default
2118 -PrivPubKeyPair=ALICE_cf_prime239v2:ALICE_cf_prime239v2_PUB
2119 -
2120 -PrivateKey=BOB_cf_prime239v2
2121 ------BEGIN PRIVATE KEY-----
2122 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQUEJTAjAgEBBB5nlF+ouuw3Ljkgy3pHkCN+/JoHAMyT
2123 -KY0wlvJdo/w=
2124 ------END PRIVATE KEY-----
2125 -
2126 -PublicKey=BOB_cf_prime239v2_PUB
2127 ------BEGIN PUBLIC KEY-----
2128 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQUDPgAELUQYo0UH8HbK/RMD2jVphBU+iB4OTOfvaaTlHq06
2129 -dcJ8a9a+mAQKhb1OZVEq1n4nQsgRiI1rPxugVERM
2130 ------END PUBLIC KEY-----
2131 -
2132 -Availablein = default
2133 -PrivPubKeyPair=BOB_cf_prime239v2:BOB_cf_prime239v2_PUB
2134 -
2135 -# ECDH Alice with Bob peer
2136 -Availablein = default
2137 -Derive=ALICE_cf_prime239v2
2138 -PeerKey=BOB_cf_prime239v2_PUB
2139 -SharedSecret=1d18ca6366bceba3c1477daa0e08202088abcf14fc2b8fbf98ba95858fcf
2140 -
2141 -# ECDH Bob with Alice peer
2142 -Availablein = default
2143 -Derive=BOB_cf_prime239v2
2144 -PeerKey=ALICE_cf_prime239v2_PUB
2145 -SharedSecret=1d18ca6366bceba3c1477daa0e08202088abcf14fc2b8fbf98ba95858fcf
2146 -
2147 -Title=prime239v3 curve tests
2148 -
2149 -PrivateKey=ALICE_cf_prime239v3
2150 ------BEGIN PRIVATE KEY-----
2151 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQYEJTAjAgEBBB5J95JRhBDTzlyAPAfu6T2Pb9vK0NKu
2152 -Y9AfhA2G+mI=
2153 ------END PRIVATE KEY-----
2154 -
2155 -PublicKey=ALICE_cf_prime239v3_PUB
2156 ------BEGIN PUBLIC KEY-----
2157 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQYDPgAEZEN48pqgLF08Yjj/8BLM2Nr5ZhpYxyBurbzKRuBb
2158 -GLpzZLteJN9vZjN7ouNpMxLVUFQxTOwpsvUw86Lk
2159 ------END PUBLIC KEY-----
2160 -
2161 -Availablein = default
2162 -PrivPubKeyPair=ALICE_cf_prime239v3:ALICE_cf_prime239v3_PUB
2163 -
2164 -PrivateKey=BOB_cf_prime239v3
2165 ------BEGIN PRIVATE KEY-----
2166 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQYEJTAjAgEBBB5Z7rMZML1xeryBaYYr+QuMiQxHT44I
2167 -d9bmIVvG3dM=
2168 ------END PRIVATE KEY-----
2169 -
2170 -PublicKey=BOB_cf_prime239v3_PUB
2171 ------BEGIN PUBLIC KEY-----
2172 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQYDPgAEQUWKqohAPAoIYEZOvc1QwSlcB+gW0febaNxGOy47
2173 -LaIWdsNM7GJVP9xpdSwm/L+Dip/oH4E59f3SiOAd
2174 ------END PUBLIC KEY-----
2175 -
2176 -Availablein = default
2177 -PrivPubKeyPair=BOB_cf_prime239v3:BOB_cf_prime239v3_PUB
2178 -
2179 -# ECDH Alice with Bob peer
2180 -Availablein = default
2181 -Derive=ALICE_cf_prime239v3
2182 -PeerKey=BOB_cf_prime239v3_PUB
2183 -SharedSecret=4dcc2c67c5993162ed71ebb33077bbb85395b0d3eec2311aa404e45901a0
2184 -
2185 -# ECDH Bob with Alice peer
2186 -Availablein = default
2187 -Derive=BOB_cf_prime239v3
2188 -PeerKey=ALICE_cf_prime239v3_PUB
2189 -SharedSecret=4dcc2c67c5993162ed71ebb33077bbb85395b0d3eec2311aa404e45901a0
2190 -
2191 -Title=secp112r1 curve tests
2192 -
2193 -PrivateKey=ALICE_cf_secp112r1
2194 ------BEGIN PRIVATE KEY-----
2195 -MCwCAQAwEAYHKoZIzj0CAQYFK4EEAAYEFTATAgEBBA6zC5ZzEIIdvY4Q7DS0uw==
2196 ------END PRIVATE KEY-----
2197 -
2198 -PublicKey=ALICE_cf_secp112r1_PUB
2199 ------BEGIN PUBLIC KEY-----
2200 -MDIwEAYHKoZIzj0CAQYFK4EEAAYDHgAEYIawfjH3qRrJJWwuG3Ys5ZhDJsmdWi34aHgKAA==
2201 ------END PUBLIC KEY-----
2202 -
2203 -Availablein = default
2204 -PrivPubKeyPair=ALICE_cf_secp112r1:ALICE_cf_secp112r1_PUB
2205 -
2206 -PrivateKey=BOB_cf_secp112r1
2207 ------BEGIN PRIVATE KEY-----
2208 -MCwCAQAwEAYHKoZIzj0CAQYFK4EEAAYEFTATAgEBBA6WPx4YxBODium8BKDw0A==
2209 ------END PRIVATE KEY-----
2210 -
2211 -PublicKey=BOB_cf_secp112r1_PUB
2212 ------BEGIN PUBLIC KEY-----
2213 -MDIwEAYHKoZIzj0CAQYFK4EEAAYDHgAEchh3iQdPN1rrzrpdZRQ95G6tvdwEBQ+gfu1tvA==
2214 ------END PUBLIC KEY-----
2215 -
2216 -Availablein = default
2217 -PrivPubKeyPair=BOB_cf_secp112r1:BOB_cf_secp112r1_PUB
2218 -
2219 -# ECDH Alice with Bob peer
2220 -Availablein = default
2221 -Derive=ALICE_cf_secp112r1
2222 -PeerKey=BOB_cf_secp112r1_PUB
2223 -SharedSecret=4ddd1d504b444d4be67ba2e4610a
2224 -
2225 -# ECDH Bob with Alice peer
2226 -Availablein = default
2227 -Derive=BOB_cf_secp112r1
2228 -PeerKey=ALICE_cf_secp112r1_PUB
2229 -SharedSecret=4ddd1d504b444d4be67ba2e4610a
2230 -
2231 -Title=secp112r2 curve tests
2232 -
2233 -PrivateKey=ALICE_cf_secp112r2
2234 ------BEGIN PRIVATE KEY-----
2235 -MCwCAQAwEAYHKoZIzj0CAQYFK4EEAAcEFTATAgEBBA4GcvIx97ePHdAiH0Z9EA==
2236 ------END PRIVATE KEY-----
2237 -
2238 -PublicKey=ALICE_cf_secp112r2_PUB
2239 ------BEGIN PUBLIC KEY-----
2240 -MDIwEAYHKoZIzj0CAQYFK4EEAAcDHgAEHK9uNAILHBmPZdKKh79/nzYE0HbvC//rA7i0Xw==
2241 ------END PUBLIC KEY-----
2242 -
2243 -Availablein = default
2244 -PrivPubKeyPair=ALICE_cf_secp112r2:ALICE_cf_secp112r2_PUB
2245 -
2246 -PrivateKey=BOB_cf_secp112r2
2247 ------BEGIN PRIVATE KEY-----
2248 -MCwCAQAwEAYHKoZIzj0CAQYFK4EEAAcEFTATAgEBBA4WzpVFZnZv9mvtpnYNyw==
2249 ------END PRIVATE KEY-----
2250 -
2251 -PublicKey=BOB_cf_secp112r2_PUB
2252 ------BEGIN PUBLIC KEY-----
2253 -MDIwEAYHKoZIzj0CAQYFK4EEAAcDHgAEUzBLNQupqUpGgmZl9JVjKBpwusl52rFg5OVFJA==
2254 ------END PUBLIC KEY-----
2255 -
2256 -Availablein = default
2257 -PrivPubKeyPair=BOB_cf_secp112r2:BOB_cf_secp112r2_PUB
2258 -
2259 -# ECDH Alice with Bob peer
2260 -Availablein = default
2261 -Derive=ALICE_cf_secp112r2
2262 -PeerKey=BOB_cf_secp112r2_PUB
2263 -SharedSecret=a6d05c7ba5128a9685c705b5030b
2264 -
2265 -# ECDH Bob with Alice peer
2266 -Availablein = default
2267 -Derive=BOB_cf_secp112r2
2268 -PeerKey=ALICE_cf_secp112r2_PUB
2269 -SharedSecret=a6d05c7ba5128a9685c705b5030b
2270 -
2271 -# ECC CDH Alice with Bob peer
2272 -Availablein = default
2273 -Derive=ALICE_cf_secp112r2
2274 -PeerKey=BOB_cf_secp112r2_PUB
2275 -Ctrl=ecdh_cofactor_mode:1
2276 -SharedSecret=04f3280e92c269d794aa779efcef
2277 -
2278 -# ECC CDH Bob with Alice peer
2279 -Availablein = default
2280 -Derive=BOB_cf_secp112r2
2281 -PeerKey=ALICE_cf_secp112r2_PUB
2282 -Ctrl=ecdh_cofactor_mode:1
2283 -SharedSecret=04f3280e92c269d794aa779efcef
2284 -
2285 -PublicKey=MALICE_cf_secp112r2_PUB
2286 ------BEGIN PUBLIC KEY-----
2287 -MDIwEAYHKoZIzj0CAQYFK4EEAAcDHgAEsf2N4SfUZWtXPrUTmEyr71I/JSn8VtzQsFHuqQ==
2288 ------END PUBLIC KEY-----
2289 -
2290 -# ECC CDH Bob with Malice peer
2291 -Availablein = default
2292 -Derive=BOB_cf_secp112r2
2293 -PeerKey=MALICE_cf_secp112r2_PUB
2294 -Ctrl=ecdh_cofactor_mode:1
2295 -Result=DERIVE_ERROR
2296 -Reason=point at infinity
2297 -
2298 -# ECC CDH Alice with Malice peer
2299 -Availablein = default
2300 -Derive=ALICE_cf_secp112r2
2301 -PeerKey=MALICE_cf_secp112r2_PUB
2302 -Ctrl=ecdh_cofactor_mode:1
2303 -Result=DERIVE_ERROR
2304 -Reason=point at infinity
2305 -
2306 -Title=secp128r1 curve tests
2307 -
2308 -PrivateKey=ALICE_cf_secp128r1
2309 ------BEGIN PRIVATE KEY-----
2310 -MC4CAQAwEAYHKoZIzj0CAQYFK4EEABwEFzAVAgEBBBB+RX18d0+gKpdcKbJJTrEZ
2311 ------END PRIVATE KEY-----
2312 -
2313 -PublicKey=ALICE_cf_secp128r1_PUB
2314 ------BEGIN PUBLIC KEY-----
2315 -MDYwEAYHKoZIzj0CAQYFK4EEABwDIgAEG0XMAdrAZOPUW6L9ADU8XK8sZr7dtIcDinSWU1zSV9s=
2316 ------END PUBLIC KEY-----
2317 -
2318 -Availablein = default
2319 -PrivPubKeyPair=ALICE_cf_secp128r1:ALICE_cf_secp128r1_PUB
2320 -
2321 -PrivateKey=BOB_cf_secp128r1
2322 ------BEGIN PRIVATE KEY-----
2323 -MC4CAQAwEAYHKoZIzj0CAQYFK4EEABwEFzAVAgEBBBB/J9/eClt9mimGwOcOsjJF
2324 ------END PRIVATE KEY-----
2325 -
2326 -PublicKey=BOB_cf_secp128r1_PUB
2327 ------BEGIN PUBLIC KEY-----
2328 -MDYwEAYHKoZIzj0CAQYFK4EEABwDIgAE82nknsOS+u8mybP0KJqQhvm83gbPNTZOcvm0ZDVR5sU=
2329 ------END PUBLIC KEY-----
2330 -
2331 -Availablein = default
2332 -PrivPubKeyPair=BOB_cf_secp128r1:BOB_cf_secp128r1_PUB
2333 -
2334 -# ECDH Alice with Bob peer
2335 -Availablein = default
2336 -Derive=ALICE_cf_secp128r1
2337 -PeerKey=BOB_cf_secp128r1_PUB
2338 -SharedSecret=5020f1b759da1f737a61a29a268d7669
2339 -
2340 -# ECDH Bob with Alice peer
2341 -Availablein = default
2342 -Derive=BOB_cf_secp128r1
2343 -PeerKey=ALICE_cf_secp128r1_PUB
2344 -SharedSecret=5020f1b759da1f737a61a29a268d7669
2345 -
2346 -Title=secp128r2 curve tests
2347 -
2348 -PrivateKey=ALICE_cf_secp128r2
2349 ------BEGIN PRIVATE KEY-----
2350 -MC4CAQAwEAYHKoZIzj0CAQYFK4EEAB0EFzAVAgEBBBALPaUYCnPgNiLhez93Z1Gi
2351 ------END PRIVATE KEY-----
2352 -
2353 -PublicKey=ALICE_cf_secp128r2_PUB
2354 ------BEGIN PUBLIC KEY-----
2355 -MDYwEAYHKoZIzj0CAQYFK4EEAB0DIgAEOKiPRGtZXwxmvTr35NmUkNsAGGk9RKNA4D5BE9ZrjZQ=
2356 ------END PUBLIC KEY-----
2357 -
2358 -Availablein = default
2359 -PrivPubKeyPair=ALICE_cf_secp128r2:ALICE_cf_secp128r2_PUB
2360 -
2361 -PrivateKey=BOB_cf_secp128r2
2362 ------BEGIN PRIVATE KEY-----
2363 -MC4CAQAwEAYHKoZIzj0CAQYFK4EEAB0EFzAVAgEBBBARg3vb436QgyHdyt6l/b6G
2364 ------END PRIVATE KEY-----
2365 -
2366 -PublicKey=BOB_cf_secp128r2_PUB
2367 ------BEGIN PUBLIC KEY-----
2368 -MDYwEAYHKoZIzj0CAQYFK4EEAB0DIgAELph7h27BYjIINC2EddcpIOxKbdz8Xe7h3Az1ZuR9bAI=
2369 ------END PUBLIC KEY-----
2370 -
2371 -Availablein = default
2372 -PrivPubKeyPair=BOB_cf_secp128r2:BOB_cf_secp128r2_PUB
2373 -
2374 -# ECDH Alice with Bob peer
2375 -Availablein = default
2376 -Derive=ALICE_cf_secp128r2
2377 -PeerKey=BOB_cf_secp128r2_PUB
2378 -SharedSecret=8f4d8c75141e9b084328222440eb5dfa
2379 -
2380 -# ECDH Bob with Alice peer
2381 -Availablein = default
2382 -Derive=BOB_cf_secp128r2
2383 -PeerKey=ALICE_cf_secp128r2_PUB
2384 -SharedSecret=8f4d8c75141e9b084328222440eb5dfa
2385 -
2386 -# ECC CDH Alice with Bob peer
2387 -Availablein = default
2388 -Derive=ALICE_cf_secp128r2
2389 -PeerKey=BOB_cf_secp128r2_PUB
2390 -Ctrl=ecdh_cofactor_mode:1
2391 -SharedSecret=baaa0c16e16eef291001475d638e4830
2392 -
2393 -# ECC CDH Bob with Alice peer
2394 -Availablein = default
2395 -Derive=BOB_cf_secp128r2
2396 -PeerKey=ALICE_cf_secp128r2_PUB
2397 -Ctrl=ecdh_cofactor_mode:1
2398 -SharedSecret=baaa0c16e16eef291001475d638e4830
2399 -
2400 -PublicKey=MALICE_cf_secp128r2_PUB
2401 ------BEGIN PUBLIC KEY-----
2402 -MDYwEAYHKoZIzj0CAQYFK4EEAB0DIgAE6h6RzJIp6HLR6RDOPtyzGDurkuE9aAaZqHosPTnkLxQ=
2403 ------END PUBLIC KEY-----
2404 -
2405 -# ECC CDH Bob with Malice peer
2406 -Availablein = default
2407 -Derive=BOB_cf_secp128r2
2408 -PeerKey=MALICE_cf_secp128r2_PUB
2409 -Ctrl=ecdh_cofactor_mode:1
2410 -Result=DERIVE_ERROR
2411 -Reason=point at infinity
2412 -
2413 -# ECC CDH Alice with Malice peer
2414 -Availablein = default
2415 -Derive=ALICE_cf_secp128r2
2416 -PeerKey=MALICE_cf_secp128r2_PUB
2417 -Ctrl=ecdh_cofactor_mode:1
2418 -Result=DERIVE_ERROR
2419 -Reason=point at infinity
2420 -
2421 -Title=secp160k1 curve tests
2422 -
2423 -PrivateKey=ALICE_cf_secp160k1
2424 ------BEGIN PRIVATE KEY-----
2425 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAkEHDAaAgEBBBUAlxTBO50KwFwWKPtk1rutu68m+zI=
2426 ------END PRIVATE KEY-----
2427 -
2428 -PublicKey=ALICE_cf_secp160k1_PUB
2429 ------BEGIN PUBLIC KEY-----
2430 -MD4wEAYHKoZIzj0CAQYFK4EEAAkDKgAEcVWIjtPZn1cHckclpn5jKDCphQUVHxFN5tSeFG9wsJZT
2431 -EvqPyLS64w==
2432 ------END PUBLIC KEY-----
2433 -
2434 -Availablein = default
2435 -PrivPubKeyPair=ALICE_cf_secp160k1:ALICE_cf_secp160k1_PUB
2436 -
2437 -PrivateKey=BOB_cf_secp160k1
2438 ------BEGIN PRIVATE KEY-----
2439 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAkEHDAaAgEBBBUAdrPkoNkRVUloiuwzruQszSUuwpY=
2440 ------END PRIVATE KEY-----
2441 -
2442 -PublicKey=BOB_cf_secp160k1_PUB
2443 ------BEGIN PUBLIC KEY-----
2444 -MD4wEAYHKoZIzj0CAQYFK4EEAAkDKgAESGN41cAj8Fg4pAJM7FUKHiawbCR0b9unMpZWxqOKeW1/
2445 -bxT/CqEkyw==
2446 ------END PUBLIC KEY-----
2447 -
2448 -Availablein = default
2449 -PrivPubKeyPair=BOB_cf_secp160k1:BOB_cf_secp160k1_PUB
2450 -
2451 -# ECDH Alice with Bob peer
2452 -Availablein = default
2453 -Derive=ALICE_cf_secp160k1
2454 -PeerKey=BOB_cf_secp160k1_PUB
2455 -SharedSecret=b738a0bf17f3271a9a155bfdfe2f0f1d51494d42
2456 -
2457 -# ECDH Bob with Alice peer
2458 -Availablein = default
2459 -Derive=BOB_cf_secp160k1
2460 -PeerKey=ALICE_cf_secp160k1_PUB
2461 -SharedSecret=b738a0bf17f3271a9a155bfdfe2f0f1d51494d42
2462 -
2463 -Title=secp160r1 curve tests
2464 -
2465 -PrivateKey=ALICE_cf_secp160r1
2466 ------BEGIN PRIVATE KEY-----
2467 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAgEHDAaAgEBBBUAR6m1+jIBuJnSKx9fHmyAYhsnYe8=
2468 ------END PRIVATE KEY-----
2469 -
2470 -PublicKey=ALICE_cf_secp160r1_PUB
2471 ------BEGIN PUBLIC KEY-----
2472 -MD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEO78GZuBaCfJjHK97c9N21z+4mm37b5x7/Hr3Xc4pUbtb
2473 -OoNj/A+W9w==
2474 ------END PUBLIC KEY-----
2475 -
2476 -Availablein = default
2477 -PrivPubKeyPair=ALICE_cf_secp160r1:ALICE_cf_secp160r1_PUB
2478 -
2479 -PrivateKey=BOB_cf_secp160r1
2480 ------BEGIN PRIVATE KEY-----
2481 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAgEHDAaAgEBBBUATqvd54Jj7TbnrLAd2dMYCpExLws=
2482 ------END PRIVATE KEY-----
2483 -
2484 -PublicKey=BOB_cf_secp160r1_PUB
2485 ------BEGIN PUBLIC KEY-----
2486 -MD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEBKDbBSPTwmb00MFvMtJMxQ2YDmcPOZHE8YbVr5hp8s5J
2487 -Jwy17FaNNg==
2488 ------END PUBLIC KEY-----
2489 -
2490 -Availablein = default
2491 -PrivPubKeyPair=BOB_cf_secp160r1:BOB_cf_secp160r1_PUB
2492 -
2493 -# ECDH Alice with Bob peer
2494 -Availablein = default
2495 -Derive=ALICE_cf_secp160r1
2496 -PeerKey=BOB_cf_secp160r1_PUB
2497 -SharedSecret=1912ea7b9bb1de5b8d3cef83e7a6e7a917816541
2498 -
2499 -# ECDH Bob with Alice peer
2500 -Availablein = default
2501 -Derive=BOB_cf_secp160r1
2502 -PeerKey=ALICE_cf_secp160r1_PUB
2503 -SharedSecret=1912ea7b9bb1de5b8d3cef83e7a6e7a917816541
2504 -
2505 -Title=secp160r2 curve tests
2506 -
2507 -PrivateKey=ALICE_cf_secp160r2
2508 ------BEGIN PRIVATE KEY-----
2509 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAB4EHDAaAgEBBBUA3IsVg4R4paXaPATDHvzfnvM+vjQ=
2510 ------END PRIVATE KEY-----
2511 -
2512 -PublicKey=ALICE_cf_secp160r2_PUB
2513 ------BEGIN PUBLIC KEY-----
2514 -MD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAE4V+25YCpVkKF6NF/UPc1SYxohYWcf3qT3JDoPRhnm/rj
2515 -mSqCCA6gUw==
2516 ------END PUBLIC KEY-----
2517 -
2518 -Availablein = default
2519 -PrivPubKeyPair=ALICE_cf_secp160r2:ALICE_cf_secp160r2_PUB
2520 -
2521 -PrivateKey=BOB_cf_secp160r2
2522 ------BEGIN PRIVATE KEY-----
2523 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAB4EHDAaAgEBBBUAYT/5C7UpD17DnZm4ObswmGFMI1Q=
2524 ------END PRIVATE KEY-----
2525 -
2526 -PublicKey=BOB_cf_secp160r2_PUB
2527 ------BEGIN PUBLIC KEY-----
2528 -MD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEB7YVzBmzhnIdouvN/nb8VMXCqO8dkhmebyVzoD0oAzuH
2529 -nN+SfWr6aQ==
2530 ------END PUBLIC KEY-----
2531 -
2532 -Availablein = default
2533 -PrivPubKeyPair=BOB_cf_secp160r2:BOB_cf_secp160r2_PUB
2534 -
2535 -# ECDH Alice with Bob peer
2536 -Availablein = default
2537 -Derive=ALICE_cf_secp160r2
2538 -PeerKey=BOB_cf_secp160r2_PUB
2539 -SharedSecret=ccb9cae5c9487ff60c487bd1b39a62eb4680e9b6
2540 -
2541 -# ECDH Bob with Alice peer
2542 -Availablein = default
2543 -Derive=BOB_cf_secp160r2
2544 -PeerKey=ALICE_cf_secp160r2_PUB
2545 -SharedSecret=ccb9cae5c9487ff60c487bd1b39a62eb4680e9b6
2546 -
2547 -Title=secp192k1 curve tests
2548 -
2549 -PrivateKey=ALICE_cf_secp192k1
2550 ------BEGIN PRIVATE KEY-----
2551 -MDYCAQAwEAYHKoZIzj0CAQYFK4EEAB8EHzAdAgEBBBikVZrCZQB7ZtkhNfQYpjKHZ9KxXgooJ90=
2552 ------END PRIVATE KEY-----
2553 -
2554 -PublicKey=ALICE_cf_secp192k1_PUB
2555 ------BEGIN PUBLIC KEY-----
2556 -MEYwEAYHKoZIzj0CAQYFK4EEAB8DMgAEyV4EzMZglBXtYdn38hNTrCGflAsJprMkxkOlw58chZ25
2557 -6EAu7gVvYDTpnRkymKyH
2558 ------END PUBLIC KEY-----
2559 -
2560 -Availablein = default
2561 -PrivPubKeyPair=ALICE_cf_secp192k1:ALICE_cf_secp192k1_PUB
2562 -
2563 -PrivateKey=BOB_cf_secp192k1
2564 ------BEGIN PRIVATE KEY-----
2565 -MDYCAQAwEAYHKoZIzj0CAQYFK4EEAB8EHzAdAgEBBBiJQ/PunKGk9QPUyqIBGMgHKKg+yxJr5io=
2566 ------END PRIVATE KEY-----
2567 -
2568 -PublicKey=BOB_cf_secp192k1_PUB
2569 ------BEGIN PUBLIC KEY-----
2570 -MEYwEAYHKoZIzj0CAQYFK4EEAB8DMgAE990Tnmh9QQQHVHuLpfrAsgjvB9R2MJXzhBZN1WvtxLqF
2571 -OZ2oFMP0Kfcr7HbI7a5j
2572 ------END PUBLIC KEY-----
2573 -
2574 -Availablein = default
2575 -PrivPubKeyPair=BOB_cf_secp192k1:BOB_cf_secp192k1_PUB
2576 -
2577 -# ECDH Alice with Bob peer
2578 -Availablein = default
2579 -Derive=ALICE_cf_secp192k1
2580 -PeerKey=BOB_cf_secp192k1_PUB
2581 -SharedSecret=a46a6bfb279d4dc30cffac585d1fbec905dbe46aca5e3c9d
2582 -
2583 -# ECDH Bob with Alice peer
2584 -Availablein = default
2585 -Derive=BOB_cf_secp192k1
2586 -PeerKey=ALICE_cf_secp192k1_PUB
2587 -SharedSecret=a46a6bfb279d4dc30cffac585d1fbec905dbe46aca5e3c9d
2588 -
2589 -Title=secp224k1 curve tests
2590 -
2591 -PrivateKey=ALICE_cf_secp224k1
2592 ------BEGIN PRIVATE KEY-----
2593 -MDsCAQAwEAYHKoZIzj0CAQYFK4EEACAEJDAiAgEBBB0AZPk3TzxGhX7TljBBhJDLBfulAMp6Bh3W
2594 -w40Qyg==
2595 ------END PRIVATE KEY-----
2596 -
2597 -PublicKey=ALICE_cf_secp224k1_PUB
2598 ------BEGIN PUBLIC KEY-----
2599 -ME4wEAYHKoZIzj0CAQYFK4EEACADOgAE4o7LGdJDixqJZ5imnqaX4IeE55NG4W0HEe72LVC7pmn2
2600 -e3m7uC92ZQhduF9lJli4dXD5en/1wkE=
2601 ------END PUBLIC KEY-----
2602 -
2603 -Availablein = default
2604 -PrivPubKeyPair=ALICE_cf_secp224k1:ALICE_cf_secp224k1_PUB
2605 -
2606 -PrivateKey=BOB_cf_secp224k1
2607 ------BEGIN PRIVATE KEY-----
2608 -MDsCAQAwEAYHKoZIzj0CAQYFK4EEACAEJDAiAgEBBB0AdQ02GguRy3yHOjLkpoWb27QA/L1abfWe
2609 -q2xUfA==
2610 ------END PRIVATE KEY-----
2611 -
2612 -PublicKey=BOB_cf_secp224k1_PUB
2613 ------BEGIN PUBLIC KEY-----
2614 -ME4wEAYHKoZIzj0CAQYFK4EEACADOgAEzp00m0DaADn1mGiDCT7K1LZnoj/vCxHPowUDC9yQd17K
2615 -KpJM5sGILrTkkgxqtt5pBeYE1NC1QUQ=
2616 ------END PUBLIC KEY-----
2617 -
2618 -Availablein = default
2619 -PrivPubKeyPair=BOB_cf_secp224k1:BOB_cf_secp224k1_PUB
2620 -
2621 -# ECDH Alice with Bob peer
2622 -Availablein = default
2623 -Derive=ALICE_cf_secp224k1
2624 -PeerKey=BOB_cf_secp224k1_PUB
2625 -SharedSecret=6f7b9d16c9c1d3a5c84b6028f2a4fed9ae8e02455e678a27243bcc48
2626 -
2627 -# ECDH Bob with Alice peer
2628 -Availablein = default
2629 -Derive=BOB_cf_secp224k1
2630 -PeerKey=ALICE_cf_secp224k1_PUB
2631 -SharedSecret=6f7b9d16c9c1d3a5c84b6028f2a4fed9ae8e02455e678a27243bcc48
2632 -
2633 Title=secp256k1 curve tests
2634
2635 PrivateKey=ALICE_cf_secp256k1
2636 @@ -1998,1323 +55,6 @@ Derive=BOB_cf_secp256k1
2637 PeerKey=ALICE_cf_secp256k1_PUB
2638 SharedSecret=a4745cc4d19cabb9e5cb0abdd5c604cab2846a4638ad844ed9175f3cadda2da1
2639
2640 -Title=sect113r1 curve tests
2641 -
2642 -PrivateKey=ALICE_cf_sect113r1
2643 ------BEGIN PRIVATE KEY-----
2644 -MC0CAQAwEAYHKoZIzj0CAQYFK4EEAAQEFjAUAgEBBA8ALw9CgsuNBkkhhUHE8bQ=
2645 ------END PRIVATE KEY-----
2646 -
2647 -PublicKey=ALICE_cf_sect113r1_PUB
2648 ------BEGIN PUBLIC KEY-----
2649 -MDQwEAYHKoZIzj0CAQYFK4EEAAQDIAAEASO9jcamlg1pRE7JffrTAe9kyRZO2xrymHXoGdnA
2650 ------END PUBLIC KEY-----
2651 -
2652 -Availablein = default
2653 -PrivPubKeyPair=ALICE_cf_sect113r1:ALICE_cf_sect113r1_PUB
2654 -
2655 -PrivateKey=BOB_cf_sect113r1
2656 ------BEGIN PRIVATE KEY-----
2657 -MC0CAQAwEAYHKoZIzj0CAQYFK4EEAAQEFjAUAgEBBA8A/9qbs8sTFNkjS9/4CuM=
2658 ------END PRIVATE KEY-----
2659 -
2660 -PublicKey=BOB_cf_sect113r1_PUB
2661 ------BEGIN PUBLIC KEY-----
2662 -MDQwEAYHKoZIzj0CAQYFK4EEAAQDIAAEATykaf/cvJzLOUto1EbbAEz/3++nut6q0dcJOQeV
2663 ------END PUBLIC KEY-----
2664 -
2665 -Availablein = default
2666 -PrivPubKeyPair=BOB_cf_sect113r1:BOB_cf_sect113r1_PUB
2667 -
2668 -# ECDH Alice with Bob peer
2669 -Availablein = default
2670 -Derive=ALICE_cf_sect113r1
2671 -PeerKey=BOB_cf_sect113r1_PUB
2672 -SharedSecret=01ed16f1948dcb368a54004237842d
2673 -
2674 -# ECDH Bob with Alice peer
2675 -Availablein = default
2676 -Derive=BOB_cf_sect113r1
2677 -PeerKey=ALICE_cf_sect113r1_PUB
2678 -SharedSecret=01ed16f1948dcb368a54004237842d
2679 -
2680 -# ECC CDH Alice with Bob peer
2681 -Availablein = default
2682 -Derive=ALICE_cf_sect113r1
2683 -PeerKey=BOB_cf_sect113r1_PUB
2684 -Ctrl=ecdh_cofactor_mode:1
2685 -SharedSecret=012e5f3e348c2a8a88d9590a639219
2686 -
2687 -# ECC CDH Bob with Alice peer
2688 -Availablein = default
2689 -Derive=BOB_cf_sect113r1
2690 -PeerKey=ALICE_cf_sect113r1_PUB
2691 -Ctrl=ecdh_cofactor_mode:1
2692 -SharedSecret=012e5f3e348c2a8a88d9590a639219
2693 -
2694 -PublicKey=MALICE_cf_sect113r1_PUB
2695 ------BEGIN PUBLIC KEY-----
2696 -MDQwEAYHKoZIzj0CAQYFK4EEAAQDIAAEAAAAAAAAAAAAAAAAAAAAAd+TqiBXnTd/lyA/OFsR
2697 ------END PUBLIC KEY-----
2698 -
2699 -# ECC CDH Bob with Malice peer
2700 -Availablein = default
2701 -Derive=BOB_cf_sect113r1
2702 -PeerKey=MALICE_cf_sect113r1_PUB
2703 -Ctrl=ecdh_cofactor_mode:1
2704 -Result=DERIVE_ERROR
2705 -Reason=point at infinity
2706 -
2707 -# ECC CDH Alice with Malice peer
2708 -Availablein = default
2709 -Derive=ALICE_cf_sect113r1
2710 -PeerKey=MALICE_cf_sect113r1_PUB
2711 -Ctrl=ecdh_cofactor_mode:1
2712 -Result=DERIVE_ERROR
2713 -Reason=point at infinity
2714 -
2715 -Title=sect113r2 curve tests
2716 -
2717 -PrivateKey=ALICE_cf_sect113r2
2718 ------BEGIN PRIVATE KEY-----
2719 -MC0CAQAwEAYHKoZIzj0CAQYFK4EEAAUEFjAUAgEBBA8AvovirHrqTxoKJ3l+7y0=
2720 ------END PRIVATE KEY-----
2721 -
2722 -PublicKey=ALICE_cf_sect113r2_PUB
2723 ------BEGIN PUBLIC KEY-----
2724 -MDQwEAYHKoZIzj0CAQYFK4EEAAUDIAAEAFvQ4JgQTS8kjGeVfuITAS81qNcOQvt3PYa1HuCk
2725 ------END PUBLIC KEY-----
2726 -
2727 -Availablein = default
2728 -PrivPubKeyPair=ALICE_cf_sect113r2:ALICE_cf_sect113r2_PUB
2729 -
2730 -PrivateKey=BOB_cf_sect113r2
2731 ------BEGIN PRIVATE KEY-----
2732 -MC0CAQAwEAYHKoZIzj0CAQYFK4EEAAUEFjAUAgEBBA8ArUjgvp/goxRYb4WuQ80=
2733 ------END PRIVATE KEY-----
2734 -
2735 -PublicKey=BOB_cf_sect113r2_PUB
2736 ------BEGIN PUBLIC KEY-----
2737 -MDQwEAYHKoZIzj0CAQYFK4EEAAUDIAAEAUoS3of8y28meYu/NoI5AVdhJZCuDjMqFHTriWY4
2738 ------END PUBLIC KEY-----
2739 -
2740 -Availablein = default
2741 -PrivPubKeyPair=BOB_cf_sect113r2:BOB_cf_sect113r2_PUB
2742 -
2743 -# ECDH Alice with Bob peer
2744 -Availablein = default
2745 -Derive=ALICE_cf_sect113r2
2746 -PeerKey=BOB_cf_sect113r2_PUB
2747 -SharedSecret=0057a287ba1ea05cb4735e673647e1
2748 -
2749 -# ECDH Bob with Alice peer
2750 -Availablein = default
2751 -Derive=BOB_cf_sect113r2
2752 -PeerKey=ALICE_cf_sect113r2_PUB
2753 -SharedSecret=0057a287ba1ea05cb4735e673647e1
2754 -
2755 -# ECC CDH Alice with Bob peer
2756 -Availablein = default
2757 -Derive=ALICE_cf_sect113r2
2758 -PeerKey=BOB_cf_sect113r2_PUB
2759 -Ctrl=ecdh_cofactor_mode:1
2760 -SharedSecret=00fec2454e46732aca42b22b6d4f13
2761 -
2762 -# ECC CDH Bob with Alice peer
2763 -Availablein = default
2764 -Derive=BOB_cf_sect113r2
2765 -PeerKey=ALICE_cf_sect113r2_PUB
2766 -Ctrl=ecdh_cofactor_mode:1
2767 -SharedSecret=00fec2454e46732aca42b22b6d4f13
2768 -
2769 -PublicKey=MALICE_cf_sect113r2_PUB
2770 ------BEGIN PUBLIC KEY-----
2771 -MDQwEAYHKoZIzj0CAQYFK4EEAAUDIAAEAAAAAAAAAAAAAAAAAAAAAR3dbPHrhFekzJ7Azskr
2772 ------END PUBLIC KEY-----
2773 -
2774 -# ECC CDH Bob with Malice peer
2775 -Availablein = default
2776 -Derive=BOB_cf_sect113r2
2777 -PeerKey=MALICE_cf_sect113r2_PUB
2778 -Ctrl=ecdh_cofactor_mode:1
2779 -Result=DERIVE_ERROR
2780 -Reason=point at infinity
2781 -
2782 -# ECC CDH Alice with Malice peer
2783 -Availablein = default
2784 -Derive=ALICE_cf_sect113r2
2785 -PeerKey=MALICE_cf_sect113r2_PUB
2786 -Ctrl=ecdh_cofactor_mode:1
2787 -Result=DERIVE_ERROR
2788 -Reason=point at infinity
2789 -
2790 -Title=sect131r1 curve tests
2791 -
2792 -PrivateKey=ALICE_cf_sect131r1
2793 ------BEGIN PRIVATE KEY-----
2794 -MC8CAQAwEAYHKoZIzj0CAQYFK4EEABYEGDAWAgEBBBEA5C6zHMQM7pXPZ6cJz72Niw==
2795 ------END PRIVATE KEY-----
2796 -
2797 -PublicKey=ALICE_cf_sect131r1_PUB
2798 ------BEGIN PUBLIC KEY-----
2799 -MDgwEAYHKoZIzj0CAQYFK4EEABYDJAAEBXCuXD6wOOif91GUlJNKXf8FBNw8crgqi5aEJEZbCdBJ
2800 -Ag==
2801 ------END PUBLIC KEY-----
2802 -
2803 -Availablein = default
2804 -PrivPubKeyPair=ALICE_cf_sect131r1:ALICE_cf_sect131r1_PUB
2805 -
2806 -PrivateKey=BOB_cf_sect131r1
2807 ------BEGIN PRIVATE KEY-----
2808 -MC8CAQAwEAYHKoZIzj0CAQYFK4EEABYEGDAWAgEBBBEDYZmjiokBJ/SnTv8sskBR3A==
2809 ------END PRIVATE KEY-----
2810 -
2811 -PublicKey=BOB_cf_sect131r1_PUB
2812 ------BEGIN PUBLIC KEY-----
2813 -MDgwEAYHKoZIzj0CAQYFK4EEABYDJAAEB8vGy3OQXwWKcJUSSJbCtpMBjFgJeZxzAaI420+B1B+1
2814 -5A==
2815 ------END PUBLIC KEY-----
2816 -
2817 -Availablein = default
2818 -PrivPubKeyPair=BOB_cf_sect131r1:BOB_cf_sect131r1_PUB
2819 -
2820 -# ECDH Alice with Bob peer
2821 -Availablein = default
2822 -Derive=ALICE_cf_sect131r1
2823 -PeerKey=BOB_cf_sect131r1_PUB
2824 -SharedSecret=05346248f77f81fff50cc656e119976871
2825 -
2826 -# ECDH Bob with Alice peer
2827 -Availablein = default
2828 -Derive=BOB_cf_sect131r1
2829 -PeerKey=ALICE_cf_sect131r1_PUB
2830 -SharedSecret=05346248f77f81fff50cc656e119976871
2831 -
2832 -# ECC CDH Alice with Bob peer
2833 -Availablein = default
2834 -Derive=ALICE_cf_sect131r1
2835 -PeerKey=BOB_cf_sect131r1_PUB
2836 -Ctrl=ecdh_cofactor_mode:1
2837 -SharedSecret=01f151ae26efa507acc2597356baf7e8ab
2838 -
2839 -# ECC CDH Bob with Alice peer
2840 -Availablein = default
2841 -Derive=BOB_cf_sect131r1
2842 -PeerKey=ALICE_cf_sect131r1_PUB
2843 -Ctrl=ecdh_cofactor_mode:1
2844 -SharedSecret=01f151ae26efa507acc2597356baf7e8ab
2845 -
2846 -PublicKey=MALICE_cf_sect131r1_PUB
2847 ------BEGIN PUBLIC KEY-----
2848 -MDgwEAYHKoZIzj0CAQYFK4EEABYDJAAEAAAAAAAAAAAAAAAAAAAAAAABfiJEFG0vRzEGxk2BxjmK
2849 -zw==
2850 ------END PUBLIC KEY-----
2851 -
2852 -# ECC CDH Bob with Malice peer
2853 -Availablein = default
2854 -Derive=BOB_cf_sect131r1
2855 -PeerKey=MALICE_cf_sect131r1_PUB
2856 -Ctrl=ecdh_cofactor_mode:1
2857 -Result=DERIVE_ERROR
2858 -Reason=point at infinity
2859 -
2860 -# ECC CDH Alice with Malice peer
2861 -Availablein = default
2862 -Derive=ALICE_cf_sect131r1
2863 -PeerKey=MALICE_cf_sect131r1_PUB
2864 -Ctrl=ecdh_cofactor_mode:1
2865 -Result=DERIVE_ERROR
2866 -Reason=point at infinity
2867 -
2868 -Title=sect131r2 curve tests
2869 -
2870 -PrivateKey=ALICE_cf_sect131r2
2871 ------BEGIN PRIVATE KEY-----
2872 -MC8CAQAwEAYHKoZIzj0CAQYFK4EEABcEGDAWAgEBBBEBnZRUKAQetk5kyUwhIaAyxg==
2873 ------END PRIVATE KEY-----
2874 -
2875 -PublicKey=ALICE_cf_sect131r2_PUB
2876 ------BEGIN PUBLIC KEY-----
2877 -MDgwEAYHKoZIzj0CAQYFK4EEABcDJAAEA5+Y20L8q989I4jnKknZ7hcGlQ6RUIGni9RahT88kB/d
2878 -dw==
2879 ------END PUBLIC KEY-----
2880 -
2881 -Availablein = default
2882 -PrivPubKeyPair=ALICE_cf_sect131r2:ALICE_cf_sect131r2_PUB
2883 -
2884 -PrivateKey=BOB_cf_sect131r2
2885 ------BEGIN PRIVATE KEY-----
2886 -MC8CAQAwEAYHKoZIzj0CAQYFK4EEABcEGDAWAgEBBBEBnafx9vcMeoCqj/1YNuflzw==
2887 ------END PRIVATE KEY-----
2888 -
2889 -PublicKey=BOB_cf_sect131r2_PUB
2890 ------BEGIN PUBLIC KEY-----
2891 -MDgwEAYHKoZIzj0CAQYFK4EEABcDJAAEB2G2uNkhQNjjl0/Ov6UYpxoFaWNXO+qy7poV6cdrFN7z
2892 -pA==
2893 ------END PUBLIC KEY-----
2894 -
2895 -Availablein = default
2896 -PrivPubKeyPair=BOB_cf_sect131r2:BOB_cf_sect131r2_PUB
2897 -
2898 -# ECDH Alice with Bob peer
2899 -Availablein = default
2900 -Derive=ALICE_cf_sect131r2
2901 -PeerKey=BOB_cf_sect131r2_PUB
2902 -SharedSecret=058d8a8be33068ed8c1dc9f551ef2c3f3c
2903 -
2904 -# ECDH Bob with Alice peer
2905 -Availablein = default
2906 -Derive=BOB_cf_sect131r2
2907 -PeerKey=ALICE_cf_sect131r2_PUB
2908 -SharedSecret=058d8a8be33068ed8c1dc9f551ef2c3f3c
2909 -
2910 -# ECC CDH Alice with Bob peer
2911 -Availablein = default
2912 -Derive=ALICE_cf_sect131r2
2913 -PeerKey=BOB_cf_sect131r2_PUB
2914 -Ctrl=ecdh_cofactor_mode:1
2915 -SharedSecret=037b16d85f27c2c878ef96c79a536f89a5
2916 -
2917 -# ECC CDH Bob with Alice peer
2918 -Availablein = default
2919 -Derive=BOB_cf_sect131r2
2920 -PeerKey=ALICE_cf_sect131r2_PUB
2921 -Ctrl=ecdh_cofactor_mode:1
2922 -SharedSecret=037b16d85f27c2c878ef96c79a536f89a5
2923 -
2924 -PublicKey=MALICE_cf_sect131r2_PUB
2925 ------BEGIN PUBLIC KEY-----
2926 -MDgwEAYHKoZIzj0CAQYFK4EEABcDJAAEAAAAAAAAAAAAAAAAAAAAAAAGG5fiIbgziwBZHVzTYqCY
2927 -1w==
2928 ------END PUBLIC KEY-----
2929 -
2930 -# ECC CDH Bob with Malice peer
2931 -Availablein = default
2932 -Derive=BOB_cf_sect131r2
2933 -PeerKey=MALICE_cf_sect131r2_PUB
2934 -Ctrl=ecdh_cofactor_mode:1
2935 -Result=DERIVE_ERROR
2936 -Reason=point at infinity
2937 -
2938 -# ECC CDH Alice with Malice peer
2939 -Availablein = default
2940 -Derive=ALICE_cf_sect131r2
2941 -PeerKey=MALICE_cf_sect131r2_PUB
2942 -Ctrl=ecdh_cofactor_mode:1
2943 -Result=DERIVE_ERROR
2944 -Reason=point at infinity
2945 -
2946 -Title=sect163r1 curve tests
2947 -
2948 -PrivateKey=ALICE_cf_sect163r1
2949 ------BEGIN PRIVATE KEY-----
2950 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAIEHDAaAgEBBBUAlbn4x1UGJnAimsXufB/UvUaxU5U=
2951 ------END PRIVATE KEY-----
2952 -
2953 -PublicKey=ALICE_cf_sect163r1_PUB
2954 ------BEGIN PUBLIC KEY-----
2955 -MEAwEAYHKoZIzj0CAQYFK4EEAAIDLAAEA0f195HCcD4D+7wWyl3QuPkRovG/ATy5l7fpMl4BNIg/
2956 -sbtEXluCzANF
2957 ------END PUBLIC KEY-----
2958 -
2959 -Availablein = default
2960 -PrivPubKeyPair=ALICE_cf_sect163r1:ALICE_cf_sect163r1_PUB
2961 -
2962 -PrivateKey=BOB_cf_sect163r1
2963 ------BEGIN PRIVATE KEY-----
2964 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAIEHDAaAgEBBBUAoStq6Fjb7nB2PNL6WrzKKqhCGdE=
2965 ------END PRIVATE KEY-----
2966 -
2967 -PublicKey=BOB_cf_sect163r1_PUB
2968 ------BEGIN PUBLIC KEY-----
2969 -MEAwEAYHKoZIzj0CAQYFK4EEAAIDLAAEAul/oBKr9B5MsPHWGF+q07j0JC+WAxj1JzfcIXR98n+r
2970 -9FHWU5LC5pDM
2971 ------END PUBLIC KEY-----
2972 -
2973 -Availablein = default
2974 -PrivPubKeyPair=BOB_cf_sect163r1:BOB_cf_sect163r1_PUB
2975 -
2976 -# ECDH Alice with Bob peer
2977 -Availablein = default
2978 -Derive=ALICE_cf_sect163r1
2979 -PeerKey=BOB_cf_sect163r1_PUB
2980 -SharedSecret=06135eef489fe613c0d8bd522a2a640ff7ae6fb73d
2981 -
2982 -# ECDH Bob with Alice peer
2983 -Availablein = default
2984 -Derive=BOB_cf_sect163r1
2985 -PeerKey=ALICE_cf_sect163r1_PUB
2986 -SharedSecret=06135eef489fe613c0d8bd522a2a640ff7ae6fb73d
2987 -
2988 -# ECC CDH Alice with Bob peer
2989 -Availablein = default
2990 -Derive=ALICE_cf_sect163r1
2991 -PeerKey=BOB_cf_sect163r1_PUB
2992 -Ctrl=ecdh_cofactor_mode:1
2993 -SharedSecret=0580f5e8efb242a19ae1023acbcab8702c799751e7
2994 -
2995 -# ECC CDH Bob with Alice peer
2996 -Availablein = default
2997 -Derive=BOB_cf_sect163r1
2998 -PeerKey=ALICE_cf_sect163r1_PUB
2999 -Ctrl=ecdh_cofactor_mode:1
3000 -SharedSecret=0580f5e8efb242a19ae1023acbcab8702c799751e7
3001 -
3002 -PublicKey=MALICE_cf_sect163r1_PUB
3003 ------BEGIN PUBLIC KEY-----
3004 -MEAwEAYHKoZIzj0CAQYFK4EEAAIDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJkXolVuGFa8fqmk
3005 -cs0Bv7iJuVg1
3006 ------END PUBLIC KEY-----
3007 -
3008 -# ECC CDH Bob with Malice peer
3009 -Availablein = default
3010 -Derive=BOB_cf_sect163r1
3011 -PeerKey=MALICE_cf_sect163r1_PUB
3012 -Ctrl=ecdh_cofactor_mode:1
3013 -Result=DERIVE_ERROR
3014 -Reason=point at infinity
3015 -
3016 -# ECC CDH Alice with Malice peer
3017 -Availablein = default
3018 -Derive=ALICE_cf_sect163r1
3019 -PeerKey=MALICE_cf_sect163r1_PUB
3020 -Ctrl=ecdh_cofactor_mode:1
3021 -Result=DERIVE_ERROR
3022 -Reason=point at infinity
3023 -
3024 -Title=sect193r1 curve tests
3025 -
3026 -PrivateKey=ALICE_cf_sect193r1
3027 ------BEGIN PRIVATE KEY-----
3028 -MDcCAQAwEAYHKoZIzj0CAQYFK4EEABgEIDAeAgEBBBkACmcvidKWLtPFB2xqg76F8VhM1Njzrkgo
3029 ------END PRIVATE KEY-----
3030 -
3031 -PublicKey=ALICE_cf_sect193r1_PUB
3032 ------BEGIN PUBLIC KEY-----
3033 -MEgwEAYHKoZIzj0CAQYFK4EEABgDNAAEAeqP0VQobenduwtf4MPmlYQVDjUmxKq50QFHnaBfzwXY
3034 -1TYShZZgBr0R6a5dUGCbiF0=
3035 ------END PUBLIC KEY-----
3036 -
3037 -Availablein = default
3038 -PrivPubKeyPair=ALICE_cf_sect193r1:ALICE_cf_sect193r1_PUB
3039 -
3040 -PrivateKey=BOB_cf_sect193r1
3041 ------BEGIN PRIVATE KEY-----
3042 -MDcCAQAwEAYHKoZIzj0CAQYFK4EEABgEIDAeAgEBBBkAKlSknQ66vpuLjC1mbQyfHOTdJ5Kw5jMh
3043 ------END PRIVATE KEY-----
3044 -
3045 -PublicKey=BOB_cf_sect193r1_PUB
3046 ------BEGIN PUBLIC KEY-----
3047 -MEgwEAYHKoZIzj0CAQYFK4EEABgDNAAEAaFZVIeqfV9wbPydaBSJKSWJjVyFVSB/QQB5rHonYQmK
3048 -f40zok8PJS6ratIcZwk/n20=
3049 ------END PUBLIC KEY-----
3050 -
3051 -Availablein = default
3052 -PrivPubKeyPair=BOB_cf_sect193r1:BOB_cf_sect193r1_PUB
3053 -
3054 -# ECDH Alice with Bob peer
3055 -Availablein = default
3056 -Derive=ALICE_cf_sect193r1
3057 -PeerKey=BOB_cf_sect193r1_PUB
3058 -SharedSecret=012b8849991814f8c7ed9d40cf9dc204c3a83e0b10675543a5
3059 -
3060 -# ECDH Bob with Alice peer
3061 -Availablein = default
3062 -Derive=BOB_cf_sect193r1
3063 -PeerKey=ALICE_cf_sect193r1_PUB
3064 -SharedSecret=012b8849991814f8c7ed9d40cf9dc204c3a83e0b10675543a5
3065 -
3066 -# ECC CDH Alice with Bob peer
3067 -Availablein = default
3068 -Derive=ALICE_cf_sect193r1
3069 -PeerKey=BOB_cf_sect193r1_PUB
3070 -Ctrl=ecdh_cofactor_mode:1
3071 -SharedSecret=0110180a18844859c52f6f012909522a2d87b5ab143bc80a55
3072 -
3073 -# ECC CDH Bob with Alice peer
3074 -Availablein = default
3075 -Derive=BOB_cf_sect193r1
3076 -PeerKey=ALICE_cf_sect193r1_PUB
3077 -Ctrl=ecdh_cofactor_mode:1
3078 -SharedSecret=0110180a18844859c52f6f012909522a2d87b5ab143bc80a55
3079 -
3080 -PublicKey=MALICE_cf_sect193r1_PUB
3081 ------BEGIN PUBLIC KEY-----
3082 -MEgwEAYHKoZIzj0CAQYFK4EEABgDNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHeX7PX3e5n
3083 -zROUg6/STkLp1D+L51L9+wY=
3084 ------END PUBLIC KEY-----
3085 -
3086 -# ECC CDH Bob with Malice peer
3087 -Availablein = default
3088 -Derive=BOB_cf_sect193r1
3089 -PeerKey=MALICE_cf_sect193r1_PUB
3090 -Ctrl=ecdh_cofactor_mode:1
3091 -Result=DERIVE_ERROR
3092 -Reason=point at infinity
3093 -
3094 -# ECC CDH Alice with Malice peer
3095 -Availablein = default
3096 -Derive=ALICE_cf_sect193r1
3097 -PeerKey=MALICE_cf_sect193r1_PUB
3098 -Ctrl=ecdh_cofactor_mode:1
3099 -Result=DERIVE_ERROR
3100 -Reason=point at infinity
3101 -
3102 -Title=sect193r2 curve tests
3103 -
3104 -PrivateKey=ALICE_cf_sect193r2
3105 ------BEGIN PRIVATE KEY-----
3106 -MDcCAQAwEAYHKoZIzj0CAQYFK4EEABkEIDAeAgEBBBkAhjkv8lXK/nPp3Qc4IwL/29JUKWi2VBMp
3107 ------END PRIVATE KEY-----
3108 -
3109 -PublicKey=ALICE_cf_sect193r2_PUB
3110 ------BEGIN PUBLIC KEY-----
3111 -MEgwEAYHKoZIzj0CAQYFK4EEABkDNAAEAIn7oSu3adu4ChNXniHKkMIv9gT24rpzzwAeCTDPIkUT
3112 -kJ+Tit6e4RpgkB/dph4V+uI=
3113 ------END PUBLIC KEY-----
3114 -
3115 -Availablein = default
3116 -PrivPubKeyPair=ALICE_cf_sect193r2:ALICE_cf_sect193r2_PUB
3117 -
3118 -PrivateKey=BOB_cf_sect193r2
3119 ------BEGIN PRIVATE KEY-----
3120 -MDcCAQAwEAYHKoZIzj0CAQYFK4EEABkEIDAeAgEBBBkAwGkR3qSQdfh7Q6KbJ4lH5FShGsX8o/jD
3121 ------END PRIVATE KEY-----
3122 -
3123 -PublicKey=BOB_cf_sect193r2_PUB
3124 ------BEGIN PUBLIC KEY-----
3125 -MEgwEAYHKoZIzj0CAQYFK4EEABkDNAAEAFdSLKI0tlwZDpkndutOLsnHii1aJO8snwEJ0m/AZgMp
3126 -xiDevOQ/xE9SpMX25W7YqkU=
3127 ------END PUBLIC KEY-----
3128 -
3129 -Availablein = default
3130 -PrivPubKeyPair=BOB_cf_sect193r2:BOB_cf_sect193r2_PUB
3131 -
3132 -# ECDH Alice with Bob peer
3133 -Availablein = default
3134 -Derive=ALICE_cf_sect193r2
3135 -PeerKey=BOB_cf_sect193r2_PUB
3136 -SharedSecret=01e2f66a63c24c1de8a399c484228a5ad5b6d911c6e5e83ae3
3137 -
3138 -# ECDH Bob with Alice peer
3139 -Availablein = default
3140 -Derive=BOB_cf_sect193r2
3141 -PeerKey=ALICE_cf_sect193r2_PUB
3142 -SharedSecret=01e2f66a63c24c1de8a399c484228a5ad5b6d911c6e5e83ae3
3143 -
3144 -# ECC CDH Alice with Bob peer
3145 -Availablein = default
3146 -Derive=ALICE_cf_sect193r2
3147 -PeerKey=BOB_cf_sect193r2_PUB
3148 -Ctrl=ecdh_cofactor_mode:1
3149 -SharedSecret=00bc82d393bd74406683aea003977a86a109f444a833652e43
3150 -
3151 -# ECC CDH Bob with Alice peer
3152 -Availablein = default
3153 -Derive=BOB_cf_sect193r2
3154 -PeerKey=ALICE_cf_sect193r2_PUB
3155 -Ctrl=ecdh_cofactor_mode:1
3156 -SharedSecret=00bc82d393bd74406683aea003977a86a109f444a833652e43
3157 -
3158 -PublicKey=MALICE_cf_sect193r2_PUB
3159 ------BEGIN PUBLIC KEY-----
3160 -MEgwEAYHKoZIzj0CAQYFK4EEABkDNAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFfdLEkrvsO
3161 -Y7+6QpEvOay9A4MJCUZfZmI=
3162 ------END PUBLIC KEY-----
3163 -
3164 -# ECC CDH Bob with Malice peer
3165 -Availablein = default
3166 -Derive=BOB_cf_sect193r2
3167 -PeerKey=MALICE_cf_sect193r2_PUB
3168 -Ctrl=ecdh_cofactor_mode:1
3169 -Result=DERIVE_ERROR
3170 -Reason=point at infinity
3171 -
3172 -# ECC CDH Alice with Malice peer
3173 -Availablein = default
3174 -Derive=ALICE_cf_sect193r2
3175 -PeerKey=MALICE_cf_sect193r2_PUB
3176 -Ctrl=ecdh_cofactor_mode:1
3177 -Result=DERIVE_ERROR
3178 -Reason=point at infinity
3179 -
3180 -Title=sect239k1 curve tests
3181 -
3182 -PrivateKey=ALICE_cf_sect239k1
3183 ------BEGIN PRIVATE KEY-----
3184 -MDwCAQAwEAYHKoZIzj0CAQYFK4EEAAMEJTAjAgEBBB4G4nbQDUtTnkrPOvDGIlhH9XdjirUSbTI5
3185 -5z6lf7o=
3186 ------END PRIVATE KEY-----
3187 -
3188 -PublicKey=ALICE_cf_sect239k1_PUB
3189 ------BEGIN PUBLIC KEY-----
3190 -MFIwEAYHKoZIzj0CAQYFK4EEAAMDPgAEf5paOMjzcnpVAPMQnIkikE4K2jne3ubX2TD1P3aedknF
3191 -lUr6tOU4BsiUQJACF90rQ9/KdeR5mYvYHzvI
3192 ------END PUBLIC KEY-----
3193 -
3194 -Availablein = default
3195 -PrivPubKeyPair=ALICE_cf_sect239k1:ALICE_cf_sect239k1_PUB
3196 -
3197 -PrivateKey=BOB_cf_sect239k1
3198 ------BEGIN PRIVATE KEY-----
3199 -MDwCAQAwEAYHKoZIzj0CAQYFK4EEAAMEJTAjAgEBBB4e0F0NpepAF+iNrEtoZeo4TrQFspkUNLcx
3200 -Ly4Klfg=
3201 ------END PRIVATE KEY-----
3202 -
3203 -PublicKey=BOB_cf_sect239k1_PUB
3204 ------BEGIN PUBLIC KEY-----
3205 -MFIwEAYHKoZIzj0CAQYFK4EEAAMDPgAEKnjJ4RHe+EiElXMrF4ou7VGy1pn0ZiO17FouF31Zbvjc
3206 -TcbhfE6ziXM8sekQJBwcwRKQ9+G/Qzq/2A9x
3207 ------END PUBLIC KEY-----
3208 -
3209 -Availablein = default
3210 -PrivPubKeyPair=BOB_cf_sect239k1:BOB_cf_sect239k1_PUB
3211 -
3212 -# ECDH Alice with Bob peer
3213 -Availablein = default
3214 -Derive=ALICE_cf_sect239k1
3215 -PeerKey=BOB_cf_sect239k1_PUB
3216 -SharedSecret=0ef54c7b7dbf55d4278e7a6924dc4833c63ec708e820d501cacdfb4935d5
3217 -
3218 -# ECDH Bob with Alice peer
3219 -Availablein = default
3220 -Derive=BOB_cf_sect239k1
3221 -PeerKey=ALICE_cf_sect239k1_PUB
3222 -SharedSecret=0ef54c7b7dbf55d4278e7a6924dc4833c63ec708e820d501cacdfb4935d5
3223 -
3224 -# ECC CDH Alice with Bob peer
3225 -Availablein = default
3226 -Derive=ALICE_cf_sect239k1
3227 -PeerKey=BOB_cf_sect239k1_PUB
3228 -Ctrl=ecdh_cofactor_mode:1
3229 -SharedSecret=592e4b33ac99624fe7f2f879cf52f12a70f189c5d90785db26a12e0a46c0
3230 -
3231 -# ECC CDH Bob with Alice peer
3232 -Availablein = default
3233 -Derive=BOB_cf_sect239k1
3234 -PeerKey=ALICE_cf_sect239k1_PUB
3235 -Ctrl=ecdh_cofactor_mode:1
3236 -SharedSecret=592e4b33ac99624fe7f2f879cf52f12a70f189c5d90785db26a12e0a46c0
3237 -
3238 -PublicKey=MALICE_cf_sect239k1_PUB
3239 ------BEGIN PUBLIC KEY-----
3240 -MFIwEAYHKoZIzj0CAQYFK4EEAAMDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
3241 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
3242 ------END PUBLIC KEY-----
3243 -
3244 -# ECC CDH Bob with Malice peer
3245 -Availablein = default
3246 -Derive=BOB_cf_sect239k1
3247 -PeerKey=MALICE_cf_sect239k1_PUB
3248 -Ctrl=ecdh_cofactor_mode:1
3249 -Result=DERIVE_ERROR
3250 -Reason=point at infinity
3251 -
3252 -# ECC CDH Alice with Malice peer
3253 -Availablein = default
3254 -Derive=ALICE_cf_sect239k1
3255 -PeerKey=MALICE_cf_sect239k1_PUB
3256 -Ctrl=ecdh_cofactor_mode:1
3257 -Result=DERIVE_ERROR
3258 -Reason=point at infinity
3259 -
3260 -Title=wap-wsg-idm-ecid-wtls10 curve tests
3261 -
3262 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls10
3263 ------BEGIN PRIVATE KEY-----
3264 -MDsCAQAwEAYHKoZIzj0CAQYFZysBBAoEJDAiAgEBBB1zvDMHGgcytka5KvlvQvJzTA4l2ts2NzBp
3265 -SJiGyw==
3266 ------END PRIVATE KEY-----
3267 -
3268 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3269 ------BEGIN PUBLIC KEY-----
3270 -MFIwEAYHKoZIzj0CAQYFZysBBAoDPgAEAZkrhWBz/Q4GB8DY4Ia114ew6H7Eg7ri2uxwxd3rAZs5
3271 -/ShvunNyndjCt3Qaq8sulBM0nUyERSDakyD+
3272 ------END PUBLIC KEY-----
3273 -
3274 -Availablein = default
3275 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls10:ALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3276 -
3277 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls10
3278 ------BEGIN PRIVATE KEY-----
3279 -MDsCAQAwEAYHKoZIzj0CAQYFZysBBAoEJDAiAgEBBB1SowkHU79PqokOfgllN53rNS8a3h1wFBY0
3280 -dKPkQg==
3281 ------END PRIVATE KEY-----
3282 -
3283 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls10_PUB
3284 ------BEGIN PUBLIC KEY-----
3285 -MFIwEAYHKoZIzj0CAQYFZysBBAoDPgAEAGavw4ChHCoWplAumMEBwJgJ2aYtw+utu4vhWnscAPIT
3286 -IJ4IiIGj18rCFBap1sgVbpXjhEBLYg6Itwv2
3287 ------END PUBLIC KEY-----
3288 -
3289 -Availablein = default
3290 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls10:BOB_cf_wap-wsg-idm-ecid-wtls10_PUB
3291 -
3292 -# ECDH Alice with Bob peer
3293 -Availablein = default
3294 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls10
3295 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls10_PUB
3296 -SharedSecret=0194ef5d80fdfe9df366b2273b983c3dbd440faf76964fcfc06c509f289d
3297 -
3298 -# ECDH Bob with Alice peer
3299 -Availablein = default
3300 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls10
3301 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3302 -SharedSecret=0194ef5d80fdfe9df366b2273b983c3dbd440faf76964fcfc06c509f289d
3303 -
3304 -# ECC CDH Alice with Bob peer
3305 -Availablein = default
3306 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls10
3307 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls10_PUB
3308 -Ctrl=ecdh_cofactor_mode:1
3309 -SharedSecret=01bedc5cdf63fbf18c3e2bc9765e12f7990c0c0c64f0267ae7c37b9f49f0
3310 -
3311 -# ECC CDH Bob with Alice peer
3312 -Availablein = default
3313 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls10
3314 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3315 -Ctrl=ecdh_cofactor_mode:1
3316 -SharedSecret=01bedc5cdf63fbf18c3e2bc9765e12f7990c0c0c64f0267ae7c37b9f49f0
3317 -
3318 -PublicKey=MALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3319 ------BEGIN PUBLIC KEY-----
3320 -MFIwEAYHKoZIzj0CAQYFZysBBAoDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
3321 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
3322 ------END PUBLIC KEY-----
3323 -
3324 -# ECC CDH Bob with Malice peer
3325 -Availablein = default
3326 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls10
3327 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3328 -Ctrl=ecdh_cofactor_mode:1
3329 -Result=DERIVE_ERROR
3330 -Reason=point at infinity
3331 -
3332 -# ECC CDH Alice with Malice peer
3333 -Availablein = default
3334 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls10
3335 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls10_PUB
3336 -Ctrl=ecdh_cofactor_mode:1
3337 -Result=DERIVE_ERROR
3338 -Reason=point at infinity
3339 -
3340 -Title=wap-wsg-idm-ecid-wtls11 curve tests
3341 -
3342 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls11
3343 ------BEGIN PRIVATE KEY-----
3344 -MDwCAQAwEAYHKoZIzj0CAQYFZysBBAsEJTAjAgEBBB4AkzS3zoqHNCLug/nwoYMQW3UigmZ9t56k
3345 -5jp+FiY=
3346 ------END PRIVATE KEY-----
3347 -
3348 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3349 ------BEGIN PUBLIC KEY-----
3350 -MFIwEAYHKoZIzj0CAQYFZysBBAsDPgAEABttgKKYeGZRmcH/5UZR56lOSgbU4TH2AuIhvj88AL6H
3351 -zTCX9elzXpck+u22bnmkuvL2A8XKB5+fabMR
3352 ------END PUBLIC KEY-----
3353 -
3354 -Availablein = default
3355 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls11:ALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3356 -
3357 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls11
3358 ------BEGIN PRIVATE KEY-----
3359 -MDwCAQAwEAYHKoZIzj0CAQYFZysBBAsEJTAjAgEBBB4AWU05mbqPxsB749llNON1//l0w8RJJ3z5
3360 -h/kzfNM=
3361 ------END PRIVATE KEY-----
3362 -
3363 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls11_PUB
3364 ------BEGIN PUBLIC KEY-----
3365 -MFIwEAYHKoZIzj0CAQYFZysBBAsDPgAEAL6Xj/KCmXAQAAo847t0bl0wqBrteWRg93OvIJsPAAOE
3366 -ehdIgJyruc3KsH0RFlipu5QD8pnGSIXvif19
3367 ------END PUBLIC KEY-----
3368 -
3369 -Availablein = default
3370 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls11:BOB_cf_wap-wsg-idm-ecid-wtls11_PUB
3371 -
3372 -# ECDH Alice with Bob peer
3373 -Availablein = default
3374 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls11
3375 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls11_PUB
3376 -SharedSecret=01ac8a23ddeeafb4d3bb243fe409f2f9c8b1a3fc11d4690da583f2e21637
3377 -
3378 -# ECDH Bob with Alice peer
3379 -Availablein = default
3380 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls11
3381 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3382 -SharedSecret=01ac8a23ddeeafb4d3bb243fe409f2f9c8b1a3fc11d4690da583f2e21637
3383 -
3384 -# ECC CDH Alice with Bob peer
3385 -Availablein = default
3386 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls11
3387 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls11_PUB
3388 -Ctrl=ecdh_cofactor_mode:1
3389 -SharedSecret=01b9992992572d3a59d424f8c9cc195576461ed6c1dadf6fb523717fab19
3390 -
3391 -# ECC CDH Bob with Alice peer
3392 -Availablein = default
3393 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls11
3394 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3395 -Ctrl=ecdh_cofactor_mode:1
3396 -SharedSecret=01b9992992572d3a59d424f8c9cc195576461ed6c1dadf6fb523717fab19
3397 -
3398 -PublicKey=MALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3399 ------BEGIN PUBLIC KEY-----
3400 -MFIwEAYHKoZIzj0CAQYFZysBBAsDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYf4
3401 -Vie5eHTnR+4x4G1xyq7qUvISU+X5RtBh2pE4
3402 ------END PUBLIC KEY-----
3403 -
3404 -# ECC CDH Bob with Malice peer
3405 -Availablein = default
3406 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls11
3407 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3408 -Ctrl=ecdh_cofactor_mode:1
3409 -Result=DERIVE_ERROR
3410 -Reason=point at infinity
3411 -
3412 -# ECC CDH Alice with Malice peer
3413 -Availablein = default
3414 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls11
3415 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls11_PUB
3416 -Ctrl=ecdh_cofactor_mode:1
3417 -Result=DERIVE_ERROR
3418 -Reason=point at infinity
3419 -
3420 -Title=wap-wsg-idm-ecid-wtls12 curve tests
3421 -
3422 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls12
3423 ------BEGIN PRIVATE KEY-----
3424 -MDoCAQAwEAYHKoZIzj0CAQYFZysBBAwEIzAhAgEBBBxwvll9Eb9mm2Xadq1evIi1zIK+6u0Nv8bP
3425 -LI9a
3426 ------END PRIVATE KEY-----
3427 -
3428 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls12_PUB
3429 ------BEGIN PUBLIC KEY-----
3430 -ME4wEAYHKoZIzj0CAQYFZysBBAwDOgAE0t0WqG/pFsiCt6agmebw3FCEWAzf9BpNLuzoCkPEe0Li
3431 -bqn5udrckL6s3stwCTVFaZUfY2qS9QE=
3432 ------END PUBLIC KEY-----
3433 -
3434 -Availablein = default
3435 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls12:ALICE_cf_wap-wsg-idm-ecid-wtls12_PUB
3436 -
3437 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls12
3438 ------BEGIN PRIVATE KEY-----
3439 -MDoCAQAwEAYHKoZIzj0CAQYFZysBBAwEIzAhAgEBBBz+5P6gpqXxbeXvvaD5W9Ft69BTxcn7zc6q
3440 -K3Ax
3441 ------END PRIVATE KEY-----
3442 -
3443 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls12_PUB
3444 ------BEGIN PUBLIC KEY-----
3445 -ME4wEAYHKoZIzj0CAQYFZysBBAwDOgAEvyxedqaWkoAOMjaV5W3/tJpheiHAR0zV6BlIeUuGP2mx
3446 -+xsOK9/QB7hzipq9cXx1K/dXu58EoSY=
3447 ------END PUBLIC KEY-----
3448 -
3449 -Availablein = default
3450 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls12:BOB_cf_wap-wsg-idm-ecid-wtls12_PUB
3451 -
3452 -# ECDH Alice with Bob peer
3453 -Availablein = default
3454 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls12
3455 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls12_PUB
3456 -SharedSecret=a3b3f20af8c33a0f5c246b4b9d9dda1cd40c294d1f53365d18a8b54b
3457 -
3458 -# ECDH Bob with Alice peer
3459 -Availablein = default
3460 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls12
3461 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls12_PUB
3462 -SharedSecret=a3b3f20af8c33a0f5c246b4b9d9dda1cd40c294d1f53365d18a8b54b
3463 -
3464 -Title=wap-wsg-idm-ecid-wtls1 curve tests
3465 -
3466 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls1
3467 ------BEGIN PRIVATE KEY-----
3468 -MCwCAQAwEAYHKoZIzj0CAQYFZysBBAEEFTATAgEBBA5ZNASTt4/g6XPQwRiQ0Q==
3469 ------END PRIVATE KEY-----
3470 -
3471 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3472 ------BEGIN PUBLIC KEY-----
3473 -MDQwEAYHKoZIzj0CAQYFZysBBAEDIAAEACBNPI48xxsPVQBy07jRAAcWzbIkMo8BQotxpfGJ
3474 ------END PUBLIC KEY-----
3475 -
3476 -Availablein = default
3477 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls1:ALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3478 -
3479 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls1
3480 ------BEGIN PRIVATE KEY-----
3481 -MCwCAQAwEAYHKoZIzj0CAQYFZysBBAEEFTATAgEBBA6+0x9qk0NIKHSRvlTemQ==
3482 ------END PRIVATE KEY-----
3483 -
3484 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls1_PUB
3485 ------BEGIN PUBLIC KEY-----
3486 -MDQwEAYHKoZIzj0CAQYFZysBBAEDIAAEAEeHMSBTx/EtOu+bjBinALHSkQuJyiP3mg1tu+I2
3487 ------END PUBLIC KEY-----
3488 -
3489 -Availablein = default
3490 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls1:BOB_cf_wap-wsg-idm-ecid-wtls1_PUB
3491 -
3492 -# ECDH Alice with Bob peer
3493 -Availablein = default
3494 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls1
3495 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls1_PUB
3496 -SharedSecret=0040ba2fadc1da97c973e5e59ade31
3497 -
3498 -# ECDH Bob with Alice peer
3499 -Availablein = default
3500 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls1
3501 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3502 -SharedSecret=0040ba2fadc1da97c973e5e59ade31
3503 -
3504 -# ECC CDH Alice with Bob peer
3505 -Availablein = default
3506 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls1
3507 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls1_PUB
3508 -Ctrl=ecdh_cofactor_mode:1
3509 -SharedSecret=008919696215a89e03d6c4c9265d6b
3510 -
3511 -# ECC CDH Bob with Alice peer
3512 -Availablein = default
3513 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls1
3514 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3515 -Ctrl=ecdh_cofactor_mode:1
3516 -SharedSecret=008919696215a89e03d6c4c9265d6b
3517 -
3518 -PublicKey=MALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3519 ------BEGIN PUBLIC KEY-----
3520 -MDQwEAYHKoZIzj0CAQYFZysBBAEDIAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
3521 ------END PUBLIC KEY-----
3522 -
3523 -# ECC CDH Bob with Malice peer
3524 -Availablein = default
3525 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls1
3526 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3527 -Ctrl=ecdh_cofactor_mode:1
3528 -Result=DERIVE_ERROR
3529 -Reason=point at infinity
3530 -
3531 -# ECC CDH Alice with Malice peer
3532 -Availablein = default
3533 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls1
3534 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls1_PUB
3535 -Ctrl=ecdh_cofactor_mode:1
3536 -Result=DERIVE_ERROR
3537 -Reason=point at infinity
3538 -
3539 -Title=wap-wsg-idm-ecid-wtls3 curve tests
3540 -
3541 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls3
3542 ------BEGIN PRIVATE KEY-----
3543 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAMEHDAaAgEBBBUDO2cHbqQBUxuJBl6UT9UrasuRVrI=
3544 ------END PRIVATE KEY-----
3545 -
3546 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3547 ------BEGIN PUBLIC KEY-----
3548 -MEAwEAYHKoZIzj0CAQYFZysBBAMDLAAEBRIzvK9o7eO2NGmtPFV/zo9/1mlvBwjG7+e6hbPG1KdI
3549 -01f8oGBuXMQH
3550 ------END PUBLIC KEY-----
3551 -
3552 -Availablein = default
3553 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls3:ALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3554 -
3555 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls3
3556 ------BEGIN PRIVATE KEY-----
3557 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAMEHDAaAgEBBBUAhZv9WZ00bDnU9MOaqEegP771nes=
3558 ------END PRIVATE KEY-----
3559 -
3560 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls3_PUB
3561 ------BEGIN PUBLIC KEY-----
3562 -MEAwEAYHKoZIzj0CAQYFZysBBAMDLAAEAYOspjEbzyZw61jCtUrxARr+w66nBH+73QIvlaRVSG/4
3563 -hlBUf5kmG4Yn
3564 ------END PUBLIC KEY-----
3565 -
3566 -Availablein = default
3567 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls3:BOB_cf_wap-wsg-idm-ecid-wtls3_PUB
3568 -
3569 -# ECDH Alice with Bob peer
3570 -Availablein = default
3571 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls3
3572 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls3_PUB
3573 -SharedSecret=0311924428a839b7dcada662722945e62bf1131f4f
3574 -
3575 -# ECDH Bob with Alice peer
3576 -Availablein = default
3577 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls3
3578 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3579 -SharedSecret=0311924428a839b7dcada662722945e62bf1131f4f
3580 -
3581 -# ECC CDH Alice with Bob peer
3582 -Availablein = default
3583 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls3
3584 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls3_PUB
3585 -Ctrl=ecdh_cofactor_mode:1
3586 -SharedSecret=047f1aee6a1a1d7c9c1f0e8dce4349429f737aa658
3587 -
3588 -# ECC CDH Bob with Alice peer
3589 -Availablein = default
3590 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls3
3591 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3592 -Ctrl=ecdh_cofactor_mode:1
3593 -SharedSecret=047f1aee6a1a1d7c9c1f0e8dce4349429f737aa658
3594 -
3595 -PublicKey=MALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3596 ------BEGIN PUBLIC KEY-----
3597 -MEAwEAYHKoZIzj0CAQYFZysBBAMDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
3598 -AAAAAAAAAAAB
3599 ------END PUBLIC KEY-----
3600 -
3601 -# ECC CDH Bob with Malice peer
3602 -Availablein = default
3603 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls3
3604 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3605 -Ctrl=ecdh_cofactor_mode:1
3606 -Result=DERIVE_ERROR
3607 -Reason=point at infinity
3608 -
3609 -# ECC CDH Alice with Malice peer
3610 -Availablein = default
3611 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls3
3612 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls3_PUB
3613 -Ctrl=ecdh_cofactor_mode:1
3614 -Result=DERIVE_ERROR
3615 -Reason=point at infinity
3616 -
3617 -Title=wap-wsg-idm-ecid-wtls4 curve tests
3618 -
3619 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls4
3620 ------BEGIN PRIVATE KEY-----
3621 -MC0CAQAwEAYHKoZIzj0CAQYFZysBBAQEFjAUAgEBBA8ACFOrBbOh5LjNtJQCuEE=
3622 ------END PRIVATE KEY-----
3623 -
3624 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3625 ------BEGIN PUBLIC KEY-----
3626 -MDQwEAYHKoZIzj0CAQYFZysBBAQDIAAEAW3K4Mus5+KAJVGLzEYrAYuCJSEYXFTo17aW0TwN
3627 ------END PUBLIC KEY-----
3628 -
3629 -Availablein = default
3630 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls4:ALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3631 -
3632 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls4
3633 ------BEGIN PRIVATE KEY-----
3634 -MC0CAQAwEAYHKoZIzj0CAQYFZysBBAQEFjAUAgEBBA8Auz4XRc3Rg0bNcbrray8=
3635 ------END PRIVATE KEY-----
3636 -
3637 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls4_PUB
3638 ------BEGIN PUBLIC KEY-----
3639 -MDQwEAYHKoZIzj0CAQYFZysBBAQDIAAEAI0F7ixGqOhnYpsuR80nAdTdSXM+YbcUbLe/U/xG
3640 ------END PUBLIC KEY-----
3641 -
3642 -Availablein = default
3643 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls4:BOB_cf_wap-wsg-idm-ecid-wtls4_PUB
3644 -
3645 -# ECDH Alice with Bob peer
3646 -Availablein = default
3647 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls4
3648 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls4_PUB
3649 -SharedSecret=0077378ddfdadff704a0b6646949e7
3650 -
3651 -# ECDH Bob with Alice peer
3652 -Availablein = default
3653 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls4
3654 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3655 -SharedSecret=0077378ddfdadff704a0b6646949e7
3656 -
3657 -# ECC CDH Alice with Bob peer
3658 -Availablein = default
3659 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls4
3660 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls4_PUB
3661 -Ctrl=ecdh_cofactor_mode:1
3662 -SharedSecret=008f3713fe1ff1fa5d5041899817d1
3663 -
3664 -# ECC CDH Bob with Alice peer
3665 -Availablein = default
3666 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls4
3667 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3668 -Ctrl=ecdh_cofactor_mode:1
3669 -SharedSecret=008f3713fe1ff1fa5d5041899817d1
3670 -
3671 -PublicKey=MALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3672 ------BEGIN PUBLIC KEY-----
3673 -MDQwEAYHKoZIzj0CAQYFZysBBAQDIAAEAAAAAAAAAAAAAAAAAAAAAd+TqiBXnTd/lyA/OFsR
3674 ------END PUBLIC KEY-----
3675 -
3676 -# ECC CDH Bob with Malice peer
3677 -Availablein = default
3678 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls4
3679 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3680 -Ctrl=ecdh_cofactor_mode:1
3681 -Result=DERIVE_ERROR
3682 -Reason=point at infinity
3683 -
3684 -# ECC CDH Alice with Malice peer
3685 -Availablein = default
3686 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls4
3687 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls4_PUB
3688 -Ctrl=ecdh_cofactor_mode:1
3689 -Result=DERIVE_ERROR
3690 -Reason=point at infinity
3691 -
3692 -Title=wap-wsg-idm-ecid-wtls5 curve tests
3693 -
3694 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls5
3695 ------BEGIN PRIVATE KEY-----
3696 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAUEHDAaAgEBBBUD9gVh3zbLTA7BuRVVi9T8QKZ1uco=
3697 ------END PRIVATE KEY-----
3698 -
3699 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3700 ------BEGIN PUBLIC KEY-----
3701 -MEAwEAYHKoZIzj0CAQYFZysBBAUDLAAEAH5xyUrvbuN+tWmRhwqrQfFHPHNUBKtAGvJuvSFVwTKk
3702 -uFzn9fPvIDe6
3703 ------END PUBLIC KEY-----
3704 -
3705 -Availablein = default
3706 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls5:ALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3707 -
3708 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls5
3709 ------BEGIN PRIVATE KEY-----
3710 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAUEHDAaAgEBBBUAr9ZlmuO7bNfqB42xUivJXyVHKNI=
3711 ------END PRIVATE KEY-----
3712 -
3713 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls5_PUB
3714 ------BEGIN PUBLIC KEY-----
3715 -MEAwEAYHKoZIzj0CAQYFZysBBAUDLAAEBdXxEk0L2XAVzRNLPcnMxGXXyDfZAoA1Qw2XpOfVWIVR
3716 -jdoMGRgUuJmO
3717 ------END PUBLIC KEY-----
3718 -
3719 -Availablein = default
3720 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls5:BOB_cf_wap-wsg-idm-ecid-wtls5_PUB
3721 -
3722 -# ECDH Alice with Bob peer
3723 -Availablein = default
3724 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls5
3725 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls5_PUB
3726 -SharedSecret=0190c68d80e94fbe9f193ae7d9a156bf0b8d097c23
3727 -
3728 -# ECDH Bob with Alice peer
3729 -Availablein = default
3730 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls5
3731 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3732 -SharedSecret=0190c68d80e94fbe9f193ae7d9a156bf0b8d097c23
3733 -
3734 -# ECC CDH Alice with Bob peer
3735 -Availablein = default
3736 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls5
3737 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls5_PUB
3738 -Ctrl=ecdh_cofactor_mode:1
3739 -SharedSecret=00aabc9b45c200e41294aa922ab06da6655731e0ea
3740 -
3741 -# ECC CDH Bob with Alice peer
3742 -Availablein = default
3743 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls5
3744 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3745 -Ctrl=ecdh_cofactor_mode:1
3746 -SharedSecret=00aabc9b45c200e41294aa922ab06da6655731e0ea
3747 -
3748 -PublicKey=MALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3749 ------BEGIN PUBLIC KEY-----
3750 -MEAwEAYHKoZIzj0CAQYFZysBBAUDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC8JxepS05nN/piK
3751 -dhDD3dDKXUih
3752 ------END PUBLIC KEY-----
3753 -
3754 -# ECC CDH Bob with Malice peer
3755 -Availablein = default
3756 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls5
3757 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3758 -Ctrl=ecdh_cofactor_mode:1
3759 -Result=DERIVE_ERROR
3760 -Reason=point at infinity
3761 -
3762 -# ECC CDH Alice with Malice peer
3763 -Availablein = default
3764 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls5
3765 -PeerKey=MALICE_cf_wap-wsg-idm-ecid-wtls5_PUB
3766 -Ctrl=ecdh_cofactor_mode:1
3767 -Result=DERIVE_ERROR
3768 -Reason=point at infinity
3769 -
3770 -Title=wap-wsg-idm-ecid-wtls6 curve tests
3771 -
3772 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls6
3773 ------BEGIN PRIVATE KEY-----
3774 -MCwCAQAwEAYHKoZIzj0CAQYFZysBBAYEFTATAgEBBA4ayMbswPbvYMwpwo80jA==
3775 ------END PRIVATE KEY-----
3776 -
3777 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls6_PUB
3778 ------BEGIN PUBLIC KEY-----
3779 -MDIwEAYHKoZIzj0CAQYFZysBBAYDHgAERPw/8Ip/RrXr0gMgLGRQeiQ4Qd6W+Li0ylGKzg==
3780 ------END PUBLIC KEY-----
3781 -
3782 -Availablein = default
3783 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls6:ALICE_cf_wap-wsg-idm-ecid-wtls6_PUB
3784 -
3785 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls6
3786 ------BEGIN PRIVATE KEY-----
3787 -MCwCAQAwEAYHKoZIzj0CAQYFZysBBAYEFTATAgEBBA6kbCpFt3tX2hYBQHMXbg==
3788 ------END PRIVATE KEY-----
3789 -
3790 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls6_PUB
3791 ------BEGIN PUBLIC KEY-----
3792 -MDIwEAYHKoZIzj0CAQYFZysBBAYDHgAEhJXqpYGxE/l1X/LiBeyRbIcyzqPxUP5Tkv3U3w==
3793 ------END PUBLIC KEY-----
3794 -
3795 -Availablein = default
3796 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls6:BOB_cf_wap-wsg-idm-ecid-wtls6_PUB
3797 -
3798 -# ECDH Alice with Bob peer
3799 -Availablein = default
3800 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls6
3801 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls6_PUB
3802 -SharedSecret=b4cae255268f11a1e46fecad04c2
3803 -
3804 -# ECDH Bob with Alice peer
3805 -Availablein = default
3806 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls6
3807 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls6_PUB
3808 -SharedSecret=b4cae255268f11a1e46fecad04c2
3809 -
3810 -Title=wap-wsg-idm-ecid-wtls7 curve tests
3811 -
3812 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls7
3813 ------BEGIN PRIVATE KEY-----
3814 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAcEHDAaAgEBBBUABcyzh4ot9ck/j4/3ehK0aYngYoM=
3815 ------END PRIVATE KEY-----
3816 -
3817 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls7_PUB
3818 ------BEGIN PUBLIC KEY-----
3819 -MD4wEAYHKoZIzj0CAQYFZysBBAcDKgAEwQLnZ70n45RLqRtAGNzEa3Rl/9nwyjqYUtw2eeHhnNLT
3820 -feGY4CNH0w==
3821 ------END PUBLIC KEY-----
3822 -
3823 -Availablein = default
3824 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls7:ALICE_cf_wap-wsg-idm-ecid-wtls7_PUB
3825 -
3826 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls7
3827 ------BEGIN PRIVATE KEY-----
3828 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAcEHDAaAgEBBBUAPyrGRY1SR13hKQswS6yXs8w8PUQ=
3829 ------END PRIVATE KEY-----
3830 -
3831 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls7_PUB
3832 ------BEGIN PUBLIC KEY-----
3833 -MD4wEAYHKoZIzj0CAQYFZysBBAcDKgAEZGN44YbN5r3zcNtOHrvbQLt8/lE7BHp4D/9eKLmwFDn1
3834 -QneRu3xwPA==
3835 ------END PUBLIC KEY-----
3836 -
3837 -Availablein = default
3838 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls7:BOB_cf_wap-wsg-idm-ecid-wtls7_PUB
3839 -
3840 -# ECDH Alice with Bob peer
3841 -Availablein = default
3842 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls7
3843 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls7_PUB
3844 -SharedSecret=ae9f5bcc6457c0422866bf855921eabc42b7121a
3845 -
3846 -# ECDH Bob with Alice peer
3847 -Availablein = default
3848 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls7
3849 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls7_PUB
3850 -SharedSecret=ae9f5bcc6457c0422866bf855921eabc42b7121a
3851 -
3852 -Title=wap-wsg-idm-ecid-wtls8 curve tests
3853 -
3854 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls8
3855 ------BEGIN PRIVATE KEY-----
3856 -MC0CAQAwEAYHKoZIzj0CAQYFZysBBAgEFjAUAgEBBA8AnkC18b3pH2O5TIYIqAQ=
3857 ------END PRIVATE KEY-----
3858 -
3859 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls8_PUB
3860 ------BEGIN PUBLIC KEY-----
3861 -MDIwEAYHKoZIzj0CAQYFZysBBAgDHgAEJD0h4HEfchwxqhp9eMHh9gczQKHX4MtWVoAxKQ==
3862 ------END PUBLIC KEY-----
3863 -
3864 -Availablein = default
3865 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls8:ALICE_cf_wap-wsg-idm-ecid-wtls8_PUB
3866 -
3867 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls8
3868 ------BEGIN PRIVATE KEY-----
3869 -MC0CAQAwEAYHKoZIzj0CAQYFZysBBAgEFjAUAgEBBA8AXxPMnqbl3rOuIM5nsvc=
3870 ------END PRIVATE KEY-----
3871 -
3872 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls8_PUB
3873 ------BEGIN PUBLIC KEY-----
3874 -MDIwEAYHKoZIzj0CAQYFZysBBAgDHgAEZawmRmzr9P+jihImUi6ykOzaSH484JhMKNdrgw==
3875 ------END PUBLIC KEY-----
3876 -
3877 -Availablein = default
3878 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls8:BOB_cf_wap-wsg-idm-ecid-wtls8_PUB
3879 -
3880 -# ECDH Alice with Bob peer
3881 -Availablein = default
3882 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls8
3883 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls8_PUB
3884 -SharedSecret=48baf4f1f5e8a0eb5dae28ef6290
3885 -
3886 -# ECDH Bob with Alice peer
3887 -Availablein = default
3888 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls8
3889 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls8_PUB
3890 -SharedSecret=48baf4f1f5e8a0eb5dae28ef6290
3891 -
3892 -Title=wap-wsg-idm-ecid-wtls9 curve tests
3893 -
3894 -PrivateKey=ALICE_cf_wap-wsg-idm-ecid-wtls9
3895 ------BEGIN PRIVATE KEY-----
3896 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAkEHDAaAgEBBBUALwvuKs3RLthMAsChbqKjXw6vTYo=
3897 ------END PRIVATE KEY-----
3898 -
3899 -PublicKey=ALICE_cf_wap-wsg-idm-ecid-wtls9_PUB
3900 ------BEGIN PUBLIC KEY-----
3901 -MD4wEAYHKoZIzj0CAQYFZysBBAkDKgAET0ppOvd9DU4v+tkKDQ5wRBrN1FwD9+F9t5l3Im+mz3rw
3902 -DB/RYdZuUg==
3903 ------END PUBLIC KEY-----
3904 -
3905 -Availablein = default
3906 -PrivPubKeyPair=ALICE_cf_wap-wsg-idm-ecid-wtls9:ALICE_cf_wap-wsg-idm-ecid-wtls9_PUB
3907 -
3908 -PrivateKey=BOB_cf_wap-wsg-idm-ecid-wtls9
3909 ------BEGIN PRIVATE KEY-----
3910 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAkEHDAaAgEBBBUAgeb/vqEM7X5AAAxyBu3M+C8pWLM=
3911 ------END PRIVATE KEY-----
3912 -
3913 -PublicKey=BOB_cf_wap-wsg-idm-ecid-wtls9_PUB
3914 ------BEGIN PUBLIC KEY-----
3915 -MD4wEAYHKoZIzj0CAQYFZysBBAkDKgAEWc37LGt6lt90iF4lhtDYNFdjAqoczebuNgzGff/Uq8ov
3916 -a3EVJ9yK1A==
3917 ------END PUBLIC KEY-----
3918 -
3919 -Availablein = default
3920 -PrivPubKeyPair=BOB_cf_wap-wsg-idm-ecid-wtls9:BOB_cf_wap-wsg-idm-ecid-wtls9_PUB
3921 -
3922 -# ECDH Alice with Bob peer
3923 -Availablein = default
3924 -Derive=ALICE_cf_wap-wsg-idm-ecid-wtls9
3925 -PeerKey=BOB_cf_wap-wsg-idm-ecid-wtls9_PUB
3926 -SharedSecret=948d3030e95cead39a1bb3d8a01c2be178517ba7
3927 -
3928 -# ECDH Bob with Alice peer
3929 -Availablein = default
3930 -Derive=BOB_cf_wap-wsg-idm-ecid-wtls9
3931 -PeerKey=ALICE_cf_wap-wsg-idm-ecid-wtls9_PUB
3932 -SharedSecret=948d3030e95cead39a1bb3d8a01c2be178517ba7
3933 -
3934 -# tests: 484
3935 -
3936 -Title=zero x-coord regression tests
3937 -
3938 -PrivateKey=ALICE_zero_prime192v1
3939 ------BEGIN PRIVATE KEY-----
3940 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQEEHzAdAgEBBBhaPNk8jG5hSG6y8tUqUoOaNNsZ3APU
3941 -pps=
3942 ------END PRIVATE KEY-----
3943 -
3944 -PublicKey=BOB_zero_prime192v1_PUB
3945 ------BEGIN PUBLIC KEY-----
3946 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAe2hWBe5g
3947 -DLNj216pEvK7XjoKLg5gNg8S
3948 ------END PUBLIC KEY-----
3949 -
3950 -# ECDH Alice with Bob peer
3951 -Availablein = default
3952 -Derive=ALICE_zero_prime192v1
3953 -PeerKey=BOB_zero_prime192v1_PUB
3954 -SharedSecret=baaffd49a8399d2ad52cbbe24d47b67afb4b3cf436f1cd65
3955 -
3956 -PrivateKey=ALICE_zero_prime192v2
3957 -----BEGIN PRIVATE KEY-----
3958 MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQIEHzAdAgEBBBj1AIQMJ7jqYIKCvxYAS+qKMmKmH0to
3959 41k=
3960 @@ -3422,72 +162,6 @@ Derive=ALICE_zero_prime256v1
3961 PeerKey=BOB_zero_prime256v1_PUB
3962 SharedSecret=c4f5607deb8501f1a4ba23fce4122a4343a17ada2c86a9c8e0d03d92d4a4c84c
3963
3964 -PrivateKey=ALICE_zero_secp112r2
3965 ------BEGIN PRIVATE KEY-----
3966 -MCwCAQAwEAYHKoZIzj0CAQYFK4EEAAcEFTATAgEBBA4hh3tRkG3tnA0496ffMw==
3967 ------END PRIVATE KEY-----
3968 -
3969 -PublicKey=BOB_zero_secp112r2_PUB
3970 ------BEGIN PUBLIC KEY-----
3971 -MDIwEAYHKoZIzj0CAQYFK4EEAAcDHgAEAAAAAAAAAAAAAAAAAAAS5eEOWDV/Wk7w4djyDQ==
3972 ------END PUBLIC KEY-----
3973 -
3974 -# ECDH Alice with Bob peer
3975 -Availablein = default
3976 -Derive=ALICE_zero_secp112r2
3977 -PeerKey=BOB_zero_secp112r2_PUB
3978 -SharedSecret=958cc1cb425713678830a4d7d95e
3979 -
3980 -PrivateKey=ALICE_zero_secp128r1
3981 ------BEGIN PRIVATE KEY-----
3982 -MC4CAQAwEAYHKoZIzj0CAQYFK4EEABwEFzAVAgEBBBCykSzic/h3T2K6SkSP1SGt
3983 ------END PRIVATE KEY-----
3984 -
3985 -PublicKey=BOB_zero_secp128r1_PUB
3986 ------BEGIN PUBLIC KEY-----
3987 -MDYwEAYHKoZIzj0CAQYFK4EEABwDIgAEAAAAAAAAAAAAAAAAAAAAAABya8M5aeOpNG3z799IdHc=
3988 ------END PUBLIC KEY-----
3989 -
3990 -# ECDH Alice with Bob peer
3991 -Availablein = default
3992 -Derive=ALICE_zero_secp128r1
3993 -PeerKey=BOB_zero_secp128r1_PUB
3994 -SharedSecret=5235d452066f126cd7e99eea00fd3068
3995 -
3996 -PrivateKey=ALICE_zero_secp160r1
3997 ------BEGIN PRIVATE KEY-----
3998 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAgEHDAaAgEBBBUACoRnbig69XLlh5VcRexpbbn5zwA=
3999 ------END PRIVATE KEY-----
4000 -
4001 -PublicKey=BOB_zero_secp160r1_PUB
4002 ------BEGIN PUBLIC KEY-----
4003 -MD4wEAYHKoZIzj0CAQYFK4EEAAgDKgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAG/w1po29wYlxlygXs
4004 -MGfbiGg5ng==
4005 ------END PUBLIC KEY-----
4006 -
4007 -# ECDH Alice with Bob peer
4008 -Availablein = default
4009 -Derive=ALICE_zero_secp160r1
4010 -PeerKey=BOB_zero_secp160r1_PUB
4011 -SharedSecret=9ccd0ab8d093b6acdb3fe14c3736a0dfe61a4666
4012 -
4013 -PrivateKey=ALICE_zero_secp160r2
4014 ------BEGIN PRIVATE KEY-----
4015 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAB4EHDAaAgEBBBUAQFGxInSw1eAvd45E9TUdbXtJGnA=
4016 ------END PRIVATE KEY-----
4017 -
4018 -PublicKey=BOB_zero_secp160r2_PUB
4019 ------BEGIN PUBLIC KEY-----
4020 -MD4wEAYHKoZIzj0CAQYFK4EEAB4DKgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAZtSBSZqfmXp47v5z2
4021 -ZZZl2JFxDg==
4022 ------END PUBLIC KEY-----
4023 -
4024 -# ECDH Alice with Bob peer
4025 -Availablein = default
4026 -Derive=ALICE_zero_secp160r2
4027 -PeerKey=BOB_zero_secp160r2_PUB
4028 -SharedSecret=303e0a282ac86f463fe834cb51b0057be42ed5ab
4029 -
4030 PrivateKey=ALICE_zero_secp384r1
4031 -----BEGIN PRIVATE KEY-----
4032 ME4CAQAwEAYHKoZIzj0CAQYFK4EEACIENzA1AgEBBDD6kgzKbg28zbQyVTdC0IdHbm0UCQt2Rdbi
4033 @@ -3526,76 +200,6 @@ Derive=ALICE_zero_secp521r1
4034 PeerKey=BOB_zero_secp521r1_PUB
4035 SharedSecret=003fc3028f61db94b20c7cd177923b6e73f12f0ab067c9ce8866755e3c82abb39c9863cde74fa80b32520bd7dd0eb156c30c08911503b67b2661f1264d09bb231423
4036
4037 -PrivateKey=ALICE_zero_wap-wsg-idm-ecid-wtls7
4038 ------BEGIN PRIVATE KEY-----
4039 -MDMCAQAwEAYHKoZIzj0CAQYFZysBBAcEHDAaAgEBBBUAoGng7WzYr4P9vtdc3BS/UiNWmc0=
4040 ------END PRIVATE KEY-----
4041 -
4042 -PublicKey=BOB_zero_wap-wsg-idm-ecid-wtls7_PUB
4043 ------BEGIN PUBLIC KEY-----
4044 -MD4wEAYHKoZIzj0CAQYFZysBBAcDKgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAZtSBSZqfmXp47v5z2
4045 -ZZZl2JFxDg==
4046 ------END PUBLIC KEY-----
4047 -
4048 -# ECDH Alice with Bob peer
4049 -Availablein = default
4050 -Derive=ALICE_zero_wap-wsg-idm-ecid-wtls7
4051 -PeerKey=BOB_zero_wap-wsg-idm-ecid-wtls7_PUB
4052 -SharedSecret=6582fc03bbb340fcf24a5fe8fcdf722655efa8b9
4053 -
4054 -# tests: 14
4055 -
4056 -Title=prime192v1 curve tests
4057 -
4058 -PrivateKey=ALICE_cf_prime192v1
4059 ------BEGIN PRIVATE KEY-----
4060 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQEEHzAdAgEBBBhQFYLaobJ47BVWWZv/ByY8Ti69m/U9
4061 -TeI=
4062 ------END PRIVATE KEY-----
4063 -
4064 -PublicKey=ALICE_cf_prime192v1_PUB
4065 ------BEGIN PUBLIC KEY-----
4066 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEHYbt14KzucSpmKMrlDx1IGz/a28nDs21OjKgx3BK
4067 -PZ78UrllIr69kgrYUKsRg4sd
4068 ------END PUBLIC KEY-----
4069 -
4070 -PrivPubKeyPair=ALICE_cf_prime192v1:ALICE_cf_prime192v1_PUB
4071 -
4072 -PrivateKey=BOB_cf_prime192v1
4073 ------BEGIN PRIVATE KEY-----
4074 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQEEHzAdAgEBBBhsbmKHAtygIqirkmUXSbniDJOx0/fI
4075 -CWM=
4076 ------END PRIVATE KEY-----
4077 -
4078 -PublicKey=BOB_cf_prime192v1_PUB
4079 ------BEGIN PUBLIC KEY-----
4080 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEJA+FQcXq5Axzv8pLDslxq1QVt1hjN2i0TgoO6Yxp
4081 -bAekMot69VorE8ibSzgJixXJ
4082 ------END PUBLIC KEY-----
4083 -
4084 -PrivPubKeyPair=BOB_cf_prime192v1:BOB_cf_prime192v1_PUB
4085 -
4086 -# ECDH Alice with Bob peer
4087 -Availablein = default
4088 -Derive=ALICE_cf_prime192v1
4089 -PeerKey=BOB_cf_prime192v1_PUB
4090 -SharedSecret=e36cad3b0f8d00f60f090440a76df47896713ae61421c354
4091 -
4092 -# ECDH Bob with Alice peer
4093 -Availablein = default
4094 -Derive=BOB_cf_prime192v1
4095 -PeerKey=ALICE_cf_prime192v1_PUB
4096 -SharedSecret=e36cad3b0f8d00f60f090440a76df47896713ae61421c354
4097 -
4098 -# ECDH Bob with Alice peer : curves with less than 112 bits of strength cannot
4099 -# be used for Key agreement in fips mode
4100 -Availablein = fips
4101 -Derive=BOB_cf_prime192v1
4102 -Securitycheck = 1
4103 -PeerKey=ALICE_cf_prime192v1_PUB
4104 -SharedSecret=e36cad3b0f8d00f60f090440a76df47896713ae61421c354
4105 -Result = DERIVE_SET_PEER_ERROR
4106 -
4107 Title=prime256v1 curve tests
4108
4109 PrivateKey=ALICE_cf_prime256v1
4110 @@ -3759,743 +363,3 @@ SharedSecret=01dd4aa9037bb4ad298b420998d
4111 Derive=BOB_cf_secp521r1
4112 PeerKey=ALICE_cf_secp521r1_PUB
4113 SharedSecret=01dd4aa9037bb4ad298b420998dcd32b3a9af1cda8b7919e372aeb4e54ccfb4d2409a340ed896bfbc5dd462f8d96b8784bc17b29db3ca04700e6ec752f9bec777695
4114 -
4115 -Title=sect163k1 curve tests
4116 -
4117 -PrivateKey=ALICE_cf_sect163k1
4118 ------BEGIN PRIVATE KEY-----
4119 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAEEHDAaAgEBBBUB905PYfmej8LzbzX6Bg51GJzXQjQ=
4120 ------END PRIVATE KEY-----
4121 -
4122 -PublicKey=ALICE_cf_sect163k1_PUB
4123 ------BEGIN PUBLIC KEY-----
4124 -MEAwEAYHKoZIzj0CAQYFK4EEAAEDLAAEBfvs5A1hD8YySP9O2ub8GEUfotVuBpfRx4GIHdAfx8wV
4125 -1UVeTRnyAlWU
4126 ------END PUBLIC KEY-----
4127 -
4128 -PrivPubKeyPair=ALICE_cf_sect163k1:ALICE_cf_sect163k1_PUB
4129 -
4130 -PrivateKey=BOB_cf_sect163k1
4131 ------BEGIN PRIVATE KEY-----
4132 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAAEEHDAaAgEBBBUCHPtCjJ4/K8ylQBcLlb5VE0bkaUE=
4133 ------END PRIVATE KEY-----
4134 -
4135 -PublicKey=BOB_cf_sect163k1_PUB
4136 ------BEGIN PUBLIC KEY-----
4137 -MEAwEAYHKoZIzj0CAQYFK4EEAAEDLAAEBvgfX1mTRlt6Z4TE1D1MNWo4loH4AoeYa6oowK104LKk
4138 -nsdg7isQ8XBD
4139 ------END PUBLIC KEY-----
4140 -
4141 -PrivPubKeyPair=BOB_cf_sect163k1:BOB_cf_sect163k1_PUB
4142 -
4143 -# ECDH Alice with Bob peer
4144 -Availablein = default
4145 -Derive=ALICE_cf_sect163k1
4146 -PeerKey=BOB_cf_sect163k1_PUB
4147 -SharedSecret=04d0e40788c5ce5220818055277cae53eac55c1e6b
4148 -
4149 -# ECDH Bob with Alice peer
4150 -Availablein = default
4151 -Derive=BOB_cf_sect163k1
4152 -PeerKey=ALICE_cf_sect163k1_PUB
4153 -SharedSecret=04d0e40788c5ce5220818055277cae53eac55c1e6b
4154 -
4155 -# ECC CDH Alice with Bob peer
4156 -Availablein = default
4157 -Derive=ALICE_cf_sect163k1
4158 -PeerKey=BOB_cf_sect163k1_PUB
4159 -Ctrl=ecdh_cofactor_mode:1
4160 -SharedSecret=04c902a91110244d89110034dd2b099c49cbab6c77
4161 -
4162 -# ECC CDH Bob with Alice peer
4163 -Availablein = default
4164 -Derive=BOB_cf_sect163k1
4165 -PeerKey=ALICE_cf_sect163k1_PUB
4166 -Ctrl=ecdh_cofactor_mode:1
4167 -SharedSecret=04c902a91110244d89110034dd2b099c49cbab6c77
4168 -
4169 -PublicKey=MALICE_cf_sect163k1_PUB
4170 ------BEGIN PUBLIC KEY-----
4171 -MEAwEAYHKoZIzj0CAQYFK4EEAAEDLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4172 -AAAAAAAAAAAB
4173 ------END PUBLIC KEY-----
4174 -
4175 -# ECC CDH Bob with Malice peer
4176 -Availablein = default
4177 -Derive=BOB_cf_sect163k1
4178 -PeerKey=MALICE_cf_sect163k1_PUB
4179 -Ctrl=ecdh_cofactor_mode:1
4180 -Result=DERIVE_ERROR
4181 -Reason=point at infinity
4182 -
4183 -# ECC CDH Alice with Malice peer
4184 -Availablein = default
4185 -Derive=ALICE_cf_sect163k1
4186 -PeerKey=MALICE_cf_sect163k1_PUB
4187 -Ctrl=ecdh_cofactor_mode:1
4188 -Result=DERIVE_ERROR
4189 -Reason=point at infinity
4190 -
4191 -Title=sect163r2 curve tests
4192 -
4193 -PrivateKey=ALICE_cf_sect163r2
4194 ------BEGIN PRIVATE KEY-----
4195 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAA8EHDAaAgEBBBUBjCs/M3N31jsAueYrOq21vdETwAI=
4196 ------END PRIVATE KEY-----
4197 -
4198 -PublicKey=ALICE_cf_sect163r2_PUB
4199 ------BEGIN PUBLIC KEY-----
4200 -MEAwEAYHKoZIzj0CAQYFK4EEAA8DLAAEBd8Z1/HpA+89hF4I98EST3svWns3BAEbhWmL/fgxk2uu
4201 -YwVrmqhgqH/C
4202 ------END PUBLIC KEY-----
4203 -
4204 -PrivPubKeyPair=ALICE_cf_sect163r2:ALICE_cf_sect163r2_PUB
4205 -
4206 -PrivateKey=BOB_cf_sect163r2
4207 ------BEGIN PRIVATE KEY-----
4208 -MDMCAQAwEAYHKoZIzj0CAQYFK4EEAA8EHDAaAgEBBBUBsiouT9Df+mwHWrpPg1JSrY9nqlI=
4209 ------END PRIVATE KEY-----
4210 -
4211 -PublicKey=BOB_cf_sect163r2_PUB
4212 ------BEGIN PUBLIC KEY-----
4213 -MEAwEAYHKoZIzj0CAQYFK4EEAA8DLAAEBULqBZ+nhLhDEMYY8NEEzZ126MdxAcFXWv8zmPEH9505
4214 -8vT5zU3aq6HV
4215 ------END PUBLIC KEY-----
4216 -
4217 -PrivPubKeyPair=BOB_cf_sect163r2:BOB_cf_sect163r2_PUB
4218 -
4219 -# ECDH Alice with Bob peer
4220 -Availablein = default
4221 -Derive=ALICE_cf_sect163r2
4222 -PeerKey=BOB_cf_sect163r2_PUB
4223 -SharedSecret=019f829a53c4e6544bdec1395a23082169efaf369d
4224 -
4225 -# ECDH Bob with Alice peer
4226 -Availablein = default
4227 -Derive=BOB_cf_sect163r2
4228 -PeerKey=ALICE_cf_sect163r2_PUB
4229 -SharedSecret=019f829a53c4e6544bdec1395a23082169efaf369d
4230 -
4231 -# ECC CDH Alice with Bob peer
4232 -Availablein = default
4233 -Derive=ALICE_cf_sect163r2
4234 -PeerKey=BOB_cf_sect163r2_PUB
4235 -Ctrl=ecdh_cofactor_mode:1
4236 -SharedSecret=048870d39235ecbc16a000ee478833509b9318a53f
4237 -
4238 -# ECC CDH Bob with Alice peer
4239 -Availablein = default
4240 -Derive=BOB_cf_sect163r2
4241 -PeerKey=ALICE_cf_sect163r2_PUB
4242 -Ctrl=ecdh_cofactor_mode:1
4243 -SharedSecret=048870d39235ecbc16a000ee478833509b9318a53f
4244 -
4245 -PublicKey=MALICE_cf_sect163r2_PUB
4246 ------BEGIN PUBLIC KEY-----
4247 -MEAwEAYHKoZIzj0CAQYFK4EEAA8DLAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsJbhbrfiSdZPSHD
4248 -ZtqJwDlp802l
4249 ------END PUBLIC KEY-----
4250 -
4251 -# ECC CDH Bob with Malice peer
4252 -Availablein = default
4253 -Derive=BOB_cf_sect163r2
4254 -PeerKey=MALICE_cf_sect163r2_PUB
4255 -Ctrl=ecdh_cofactor_mode:1
4256 -Result=DERIVE_ERROR
4257 -Reason=point at infinity
4258 -
4259 -# ECC CDH Alice with Malice peer
4260 -Availablein = default
4261 -Derive=ALICE_cf_sect163r2
4262 -PeerKey=MALICE_cf_sect163r2_PUB
4263 -Ctrl=ecdh_cofactor_mode:1
4264 -Result=DERIVE_ERROR
4265 -Reason=point at infinity
4266 -
4267 -Title=sect233k1 curve tests
4268 -
4269 -PrivateKey=ALICE_cf_sect233k1
4270 ------BEGIN PRIVATE KEY-----
4271 -MDsCAQAwEAYHKoZIzj0CAQYFK4EEABoEJDAiAgEBBB0z/3heNFjJL+2sAT/38yRsN3kt2iXz7u+y
4272 -Gua8Kw==
4273 ------END PRIVATE KEY-----
4274 -
4275 -PublicKey=ALICE_cf_sect233k1_PUB
4276 ------BEGIN PUBLIC KEY-----
4277 -MFIwEAYHKoZIzj0CAQYFK4EEABoDPgAEALQyn0zJmOrHm4S2EIjxRe899PadBnfpYjLKWGvpAIzf
4278 -MEG861Nv1IYJkmkO1xlfNHeeRtqFgsQVFKZh
4279 ------END PUBLIC KEY-----
4280 -
4281 -PrivPubKeyPair=ALICE_cf_sect233k1:ALICE_cf_sect233k1_PUB
4282 -
4283 -PrivateKey=BOB_cf_sect233k1
4284 ------BEGIN PRIVATE KEY-----
4285 -MDsCAQAwEAYHKoZIzj0CAQYFK4EEABoEJDAiAgEBBB1I0ucrC4d9i6Z+0cbar5r7uKpF5iiQkSJA
4286 -DFMTUA==
4287 ------END PRIVATE KEY-----
4288 -
4289 -PublicKey=BOB_cf_sect233k1_PUB
4290 ------BEGIN PUBLIC KEY-----
4291 -MFIwEAYHKoZIzj0CAQYFK4EEABoDPgAEAatdqazxSghJ568CBFyMXhEvVeAiLewOY/jk9H5DAOB4
4292 -ufNGbdd131KLaKPivB38a6n5Y+2BVSJangow
4293 ------END PUBLIC KEY-----
4294 -
4295 -PrivPubKeyPair=BOB_cf_sect233k1:BOB_cf_sect233k1_PUB
4296 -
4297 -# ECDH Alice with Bob peer
4298 -Derive=ALICE_cf_sect233k1
4299 -PeerKey=BOB_cf_sect233k1_PUB
4300 -SharedSecret=012145026e8de65973c154e085456fc5539ba9e25663e7f5816abfcab310
4301 -
4302 -# ECDH Bob with Alice peer
4303 -Derive=BOB_cf_sect233k1
4304 -PeerKey=ALICE_cf_sect233k1_PUB
4305 -SharedSecret=012145026e8de65973c154e085456fc5539ba9e25663e7f5816abfcab310
4306 -
4307 -# ECC CDH Alice with Bob peer
4308 -Derive=ALICE_cf_sect233k1
4309 -PeerKey=BOB_cf_sect233k1_PUB
4310 -Ctrl=ecdh_cofactor_mode:1
4311 -SharedSecret=00ff7d6c6b80f39d2ae68fbd00adbcd75fa599ed0bc1aac0e3f49c1c164d
4312 -
4313 -# ECC CDH Bob with Alice peer
4314 -Derive=BOB_cf_sect233k1
4315 -PeerKey=ALICE_cf_sect233k1_PUB
4316 -Ctrl=ecdh_cofactor_mode:1
4317 -SharedSecret=00ff7d6c6b80f39d2ae68fbd00adbcd75fa599ed0bc1aac0e3f49c1c164d
4318 -
4319 -PublicKey=MALICE_cf_sect233k1_PUB
4320 ------BEGIN PUBLIC KEY-----
4321 -MFIwEAYHKoZIzj0CAQYFK4EEABoDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAA
4322 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4323 ------END PUBLIC KEY-----
4324 -
4325 -# ECC CDH Bob with Malice peer
4326 -Derive=BOB_cf_sect233k1
4327 -PeerKey=MALICE_cf_sect233k1_PUB
4328 -Ctrl=ecdh_cofactor_mode:1
4329 -Result=DERIVE_ERROR
4330 -Reason=point at infinity
4331 -
4332 -# ECC CDH Alice with Malice peer
4333 -Derive=ALICE_cf_sect233k1
4334 -PeerKey=MALICE_cf_sect233k1_PUB
4335 -Ctrl=ecdh_cofactor_mode:1
4336 -Result=DERIVE_ERROR
4337 -Reason=point at infinity
4338 -
4339 -Title=sect233r1 curve tests
4340 -
4341 -PrivateKey=ALICE_cf_sect233r1
4342 ------BEGIN PRIVATE KEY-----
4343 -MDwCAQAwEAYHKoZIzj0CAQYFK4EEABsEJTAjAgEBBB4ATcy7zVpIsJ9rl5EIDmzRz5wxjrDIQyDm
4344 -HP3Pt8Y=
4345 ------END PRIVATE KEY-----
4346 -
4347 -PublicKey=ALICE_cf_sect233r1_PUB
4348 ------BEGIN PUBLIC KEY-----
4349 -MFIwEAYHKoZIzj0CAQYFK4EEABsDPgAEAQMQHiJ44LiCnZkEg1zyww1h+idTbsw8E07P33WUAUfD
4350 -NeQ4hWEhTXPnytIbEhFKpnd3j/FbyZnJqxh8
4351 ------END PUBLIC KEY-----
4352 -
4353 -PrivPubKeyPair=ALICE_cf_sect233r1:ALICE_cf_sect233r1_PUB
4354 -
4355 -PrivateKey=BOB_cf_sect233r1
4356 ------BEGIN PRIVATE KEY-----
4357 -MDwCAQAwEAYHKoZIzj0CAQYFK4EEABsEJTAjAgEBBB4ALpOlFn4OfiIAkRAZGOsn7L6W3XoQBSV8
4358 -mQVC2pw=
4359 ------END PRIVATE KEY-----
4360 -
4361 -PublicKey=BOB_cf_sect233r1_PUB
4362 ------BEGIN PUBLIC KEY-----
4363 -MFIwEAYHKoZIzj0CAQYFK4EEABsDPgAEAJQw+NWqFJXYw4dVMovzvw76OYnYOTaDaEPNW8ECAQbl
4364 -TzzbBSTp5iqM13mP0/Bo4OO66NS3lA9e/GTO
4365 ------END PUBLIC KEY-----
4366 -
4367 -PrivPubKeyPair=BOB_cf_sect233r1:BOB_cf_sect233r1_PUB
4368 -
4369 -# ECDH Alice with Bob peer
4370 -Derive=ALICE_cf_sect233r1
4371 -PeerKey=BOB_cf_sect233r1_PUB
4372 -SharedSecret=00209d2995a63f1e8b7a5c33dee5abb602e32e1835ae8bb57eb264d8d795
4373 -
4374 -# ECDH Bob with Alice peer
4375 -Derive=BOB_cf_sect233r1
4376 -PeerKey=ALICE_cf_sect233r1_PUB
4377 -SharedSecret=00209d2995a63f1e8b7a5c33dee5abb602e32e1835ae8bb57eb264d8d795
4378 -
4379 -# ECC CDH Alice with Bob peer
4380 -Derive=ALICE_cf_sect233r1
4381 -PeerKey=BOB_cf_sect233r1_PUB
4382 -Ctrl=ecdh_cofactor_mode:1
4383 -SharedSecret=00c3cd1d38a65f5e421399409a76cec1136bc84149f054a7f55e7980c612
4384 -
4385 -# ECC CDH Bob with Alice peer
4386 -Derive=BOB_cf_sect233r1
4387 -PeerKey=ALICE_cf_sect233r1_PUB
4388 -Ctrl=ecdh_cofactor_mode:1
4389 -SharedSecret=00c3cd1d38a65f5e421399409a76cec1136bc84149f054a7f55e7980c612
4390 -
4391 -PublicKey=MALICE_cf_sect233r1_PUB
4392 ------BEGIN PUBLIC KEY-----
4393 -MFIwEAYHKoZIzj0CAQYFK4EEABsDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYf4
4394 -Vie5eHTnR+4x4G1xyq7qUvISU+X5RtBh2pE4
4395 ------END PUBLIC KEY-----
4396 -
4397 -# ECC CDH Bob with Malice peer
4398 -Derive=BOB_cf_sect233r1
4399 -PeerKey=MALICE_cf_sect233r1_PUB
4400 -Ctrl=ecdh_cofactor_mode:1
4401 -Result=DERIVE_ERROR
4402 -Reason=point at infinity
4403 -
4404 -# ECC CDH Alice with Malice peer
4405 -Derive=ALICE_cf_sect233r1
4406 -PeerKey=MALICE_cf_sect233r1_PUB
4407 -Ctrl=ecdh_cofactor_mode:1
4408 -Result=DERIVE_ERROR
4409 -Reason=point at infinity
4410 -
4411 -Title=sect283k1 curve tests
4412 -
4413 -PrivateKey=ALICE_cf_sect283k1
4414 ------BEGIN PRIVATE KEY-----
4415 -MEICAQAwEAYHKoZIzj0CAQYFK4EEABAEKzApAgEBBCQAY1Mi9rST7PiP1t03qYRczV/kSZ+VjQu8
4416 -5EFCgxyvkaLManw=
4417 ------END PRIVATE KEY-----
4418 -
4419 -PublicKey=ALICE_cf_sect283k1_PUB
4420 ------BEGIN PUBLIC KEY-----
4421 -MF4wEAYHKoZIzj0CAQYFK4EEABADSgAEBMjBO8WoxHS/vz8po52WZGxS+RK5yolrUe6tfbAMA3Sd
4422 -5/JjBDVjOz95vM4gUnqzUWHN5nKBQtj6HiU9Q/R+zqg98OiQKTyA
4423 ------END PUBLIC KEY-----
4424 -
4425 -PrivPubKeyPair=ALICE_cf_sect283k1:ALICE_cf_sect283k1_PUB
4426 -
4427 -PrivateKey=BOB_cf_sect283k1
4428 ------BEGIN PRIVATE KEY-----
4429 -MEICAQAwEAYHKoZIzj0CAQYFK4EEABAEKzApAgEBBCQBCZC8Is+YSjgXJBBDioEl6gu14QpGHllD
4430 -1J6957vBTPSQdH0=
4431 ------END PRIVATE KEY-----
4432 -
4433 -PublicKey=BOB_cf_sect283k1_PUB
4434 ------BEGIN PUBLIC KEY-----
4435 -MF4wEAYHKoZIzj0CAQYFK4EEABADSgAEAGEQKZVHYAlvtjHrFyZVm12qUb5j+T5/WNoC962+kwUM
4436 -QkBYA5BpuG8Knlugq1iB31whPAgRCZfdLKHpHRPJSfXvKyUIdeUm
4437 ------END PUBLIC KEY-----
4438 -
4439 -PrivPubKeyPair=BOB_cf_sect283k1:BOB_cf_sect283k1_PUB
4440 -
4441 -# ECDH Alice with Bob peer
4442 -Derive=ALICE_cf_sect283k1
4443 -PeerKey=BOB_cf_sect283k1_PUB
4444 -SharedSecret=03f67c88bdc230b43773d17fdb4d0a980556d074ceccee726932160e4ed965e3be72803c
4445 -
4446 -# ECDH Bob with Alice peer
4447 -Derive=BOB_cf_sect283k1
4448 -PeerKey=ALICE_cf_sect283k1_PUB
4449 -SharedSecret=03f67c88bdc230b43773d17fdb4d0a980556d074ceccee726932160e4ed965e3be72803c
4450 -
4451 -# ECC CDH Alice with Bob peer
4452 -Derive=ALICE_cf_sect283k1
4453 -PeerKey=BOB_cf_sect283k1_PUB
4454 -Ctrl=ecdh_cofactor_mode:1
4455 -SharedSecret=0677ba01c84d139609ca145cb5b6079fc9ca67f59c9c913e47cad1073f1d1dfaddde0169
4456 -
4457 -# ECC CDH Bob with Alice peer
4458 -Derive=BOB_cf_sect283k1
4459 -PeerKey=ALICE_cf_sect283k1_PUB
4460 -Ctrl=ecdh_cofactor_mode:1
4461 -SharedSecret=0677ba01c84d139609ca145cb5b6079fc9ca67f59c9c913e47cad1073f1d1dfaddde0169
4462 -
4463 -PublicKey=MALICE_cf_sect283k1_PUB
4464 ------BEGIN PUBLIC KEY-----
4465 -MF4wEAYHKoZIzj0CAQYFK4EEABADSgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4466 -AAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB
4467 ------END PUBLIC KEY-----
4468 -
4469 -# ECC CDH Bob with Malice peer
4470 -Derive=BOB_cf_sect283k1
4471 -PeerKey=MALICE_cf_sect283k1_PUB
4472 -Ctrl=ecdh_cofactor_mode:1
4473 -Result=DERIVE_ERROR
4474 -Reason=point at infinity
4475 -
4476 -# ECC CDH Alice with Malice peer
4477 -Derive=ALICE_cf_sect283k1
4478 -PeerKey=MALICE_cf_sect283k1_PUB
4479 -Ctrl=ecdh_cofactor_mode:1
4480 -Result=DERIVE_ERROR
4481 -Reason=point at infinity
4482 -
4483 -Title=sect283r1 curve tests
4484 -
4485 -PrivateKey=ALICE_cf_sect283r1
4486 ------BEGIN PRIVATE KEY-----
4487 -MEICAQAwEAYHKoZIzj0CAQYFK4EEABEEKzApAgEBBCQCQ5pqKvPxDysd1pi2Bv8Z11cFhsRZfuaf
4488 -4Pi0hpGr4ubZcHE=
4489 ------END PRIVATE KEY-----
4490 -
4491 -PublicKey=ALICE_cf_sect283r1_PUB
4492 ------BEGIN PUBLIC KEY-----
4493 -MF4wEAYHKoZIzj0CAQYFK4EEABEDSgAEBcsrGDgO7pbGybQX/00gRHtQq3+X9XrGb7Uzv9Nabwc/
4494 -kntnBMF0I2KU+aaTjQx1GVtmNf7CvFwPLEBnfKjJAjekjsGyIqoq
4495 ------END PUBLIC KEY-----
4496 -
4497 -PrivPubKeyPair=ALICE_cf_sect283r1:ALICE_cf_sect283r1_PUB
4498 -
4499 -PrivateKey=BOB_cf_sect283r1
4500 ------BEGIN PRIVATE KEY-----
4501 -MEICAQAwEAYHKoZIzj0CAQYFK4EEABEEKzApAgEBBCQDxItnY3cDCrX/jGnVuAKDPaySZCr3E83Q
4502 -UdFnP6YIykt7+Pg=
4503 ------END PRIVATE KEY-----
4504 -
4505 -PublicKey=BOB_cf_sect283r1_PUB
4506 ------BEGIN PUBLIC KEY-----
4507 -MF4wEAYHKoZIzj0CAQYFK4EEABEDSgAEBJ2C9BCkX0YRfs2ufgUKvreUXFWp2AGK+iHlZB4N3LqO
4508 -PKpmAkrAeCMty6mw2mEnOR5HA1d4Ee+z7/NJgJJ80Ra9bFnreOW3
4509 ------END PUBLIC KEY-----
4510 -
4511 -PrivPubKeyPair=BOB_cf_sect283r1:BOB_cf_sect283r1_PUB
4512 -
4513 -# ECDH Alice with Bob peer
4514 -Derive=ALICE_cf_sect283r1
4515 -PeerKey=BOB_cf_sect283r1_PUB
4516 -SharedSecret=0424259cf09727574fb863cab7c27d8fe3835e96433110a45a951f94347fc81939ec4773
4517 -
4518 -# ECDH Bob with Alice peer
4519 -Derive=BOB_cf_sect283r1
4520 -PeerKey=ALICE_cf_sect283r1_PUB
4521 -SharedSecret=0424259cf09727574fb863cab7c27d8fe3835e96433110a45a951f94347fc81939ec4773
4522 -
4523 -# ECC CDH Alice with Bob peer
4524 -Derive=ALICE_cf_sect283r1
4525 -PeerKey=BOB_cf_sect283r1_PUB
4526 -Ctrl=ecdh_cofactor_mode:1
4527 -SharedSecret=01c2a542654ce85b17456ed75b6bca6b6eb761580913670debc426a3525f236df0e875c8
4528 -
4529 -# ECC CDH Bob with Alice peer
4530 -Derive=BOB_cf_sect283r1
4531 -PeerKey=ALICE_cf_sect283r1_PUB
4532 -Ctrl=ecdh_cofactor_mode:1
4533 -SharedSecret=01c2a542654ce85b17456ed75b6bca6b6eb761580913670debc426a3525f236df0e875c8
4534 -
4535 -PublicKey=MALICE_cf_sect283r1_PUB
4536 ------BEGIN PUBLIC KEY-----
4537 -MF4wEAYHKoZIzj0CAQYFK4EEABEDSgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4538 -AAAAByvMnFeSsevoGYMIn7b4NaL9IgowRCTKF8CCrhdEKu3pubP2
4539 ------END PUBLIC KEY-----
4540 -
4541 -# ECC CDH Bob with Malice peer
4542 -Derive=BOB_cf_sect283r1
4543 -PeerKey=MALICE_cf_sect283r1_PUB
4544 -Ctrl=ecdh_cofactor_mode:1
4545 -Result=DERIVE_ERROR
4546 -Reason=point at infinity
4547 -
4548 -# ECC CDH Alice with Malice peer
4549 -Derive=ALICE_cf_sect283r1
4550 -PeerKey=MALICE_cf_sect283r1_PUB
4551 -Ctrl=ecdh_cofactor_mode:1
4552 -Result=DERIVE_ERROR
4553 -Reason=point at infinity
4554 -
4555 -Title=sect409k1 curve tests
4556 -
4557 -PrivateKey=ALICE_cf_sect409k1
4558 ------BEGIN PRIVATE KEY-----
4559 -MFECAQAwEAYHKoZIzj0CAQYFK4EEACQEOjA4AgEBBDMOthcLahkXFgM0wjOzm767D1A72sFRGlhb
4560 -bVH+EB7z2WpIcPX4OD+M4Y1pf/a7wSaoSAo=
4561 ------END PRIVATE KEY-----
4562 -
4563 -PublicKey=ALICE_cf_sect409k1_PUB
4564 ------BEGIN PUBLIC KEY-----
4565 -MH4wEAYHKoZIzj0CAQYFK4EEACQDagAEAbiYYpeFgCMsZFMzQaiwMJDrC+mCMT7KmhYtD5EMMgLW
4566 -5OvhaqYdpRf49A8LOtVcRT7J5gGcMrXQgmQeS3FenA5owWnB2NIgrTNf5d8AAEtrOupsJ4c3kL6e
4567 -aAzayZ1+UCEj8skbC9U=
4568 ------END PUBLIC KEY-----
4569 -
4570 -PrivPubKeyPair=ALICE_cf_sect409k1:ALICE_cf_sect409k1_PUB
4571 -
4572 -PrivateKey=BOB_cf_sect409k1
4573 ------BEGIN PRIVATE KEY-----
4574 -MFECAQAwEAYHKoZIzj0CAQYFK4EEACQEOjA4AgEBBDMO43ldQllTewdZwffH4OEXdzBrLwabKsn4
4575 -6/hjgIAaYda/pt4yCEQLMp18QgtfMey5ENI=
4576 ------END PRIVATE KEY-----
4577 -
4578 -PublicKey=BOB_cf_sect409k1_PUB
4579 ------BEGIN PUBLIC KEY-----
4580 -MH4wEAYHKoZIzj0CAQYFK4EEACQDagAEAVTQj6hRizVmOx4Z6vroN/zMkmAY+QhkQ0CnFeJ0AydY
4581 -Fv+f+/420vMC1Mhqsc9VzPMmIAH6ZrgGKDsd4Ce9JUtYE0rVhGeiG2RaN1U5RlhVK4avkWhFlyQ5
4582 -vuu4aApQiWE3yQd9v/I=
4583 ------END PUBLIC KEY-----
4584 -
4585 -PrivPubKeyPair=BOB_cf_sect409k1:BOB_cf_sect409k1_PUB
4586 -
4587 -# ECDH Alice with Bob peer
4588 -Derive=ALICE_cf_sect409k1
4589 -PeerKey=BOB_cf_sect409k1_PUB
4590 -SharedSecret=01fbe13188588c9d1ac3a8a2680ea9a009b28e4b7d7fa4efcb1a22553876fb7973616819fd87c75e5b8ce6e3628595e4ce12edb0
4591 -
4592 -# ECDH Bob with Alice peer
4593 -Derive=BOB_cf_sect409k1
4594 -PeerKey=ALICE_cf_sect409k1_PUB
4595 -SharedSecret=01fbe13188588c9d1ac3a8a2680ea9a009b28e4b7d7fa4efcb1a22553876fb7973616819fd87c75e5b8ce6e3628595e4ce12edb0
4596 -
4597 -# ECC CDH Alice with Bob peer
4598 -Derive=ALICE_cf_sect409k1
4599 -PeerKey=BOB_cf_sect409k1_PUB
4600 -Ctrl=ecdh_cofactor_mode:1
4601 -SharedSecret=007e9485f7234bb2255bb40e51f4be867cb0ef31f8e489a697b31b51c4d5346daaee51e96ae6f9636e6e3af56095fe28755325ee
4602 -
4603 -# ECC CDH Bob with Alice peer
4604 -Derive=BOB_cf_sect409k1
4605 -PeerKey=ALICE_cf_sect409k1_PUB
4606 -Ctrl=ecdh_cofactor_mode:1
4607 -SharedSecret=007e9485f7234bb2255bb40e51f4be867cb0ef31f8e489a697b31b51c4d5346daaee51e96ae6f9636e6e3af56095fe28755325ee
4608 -
4609 -PublicKey=MALICE_cf_sect409k1_PUB
4610 ------BEGIN PUBLIC KEY-----
4611 -MH4wEAYHKoZIzj0CAQYFK4EEACQDagAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4612 -AAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4613 -AAAAAAAAAAAAAAAAAAA=
4614 ------END PUBLIC KEY-----
4615 -
4616 -# ECC CDH Bob with Malice peer
4617 -Derive=BOB_cf_sect409k1
4618 -PeerKey=MALICE_cf_sect409k1_PUB
4619 -Ctrl=ecdh_cofactor_mode:1
4620 -Result=DERIVE_ERROR
4621 -Reason=point at infinity
4622 -
4623 -# ECC CDH Alice with Malice peer
4624 -Derive=ALICE_cf_sect409k1
4625 -PeerKey=MALICE_cf_sect409k1_PUB
4626 -Ctrl=ecdh_cofactor_mode:1
4627 -Result=DERIVE_ERROR
4628 -Reason=point at infinity
4629 -
4630 -Title=sect409r1 curve tests
4631 -
4632 -PrivateKey=ALICE_cf_sect409r1
4633 ------BEGIN PRIVATE KEY-----
4634 -MFICAQAwEAYHKoZIzj0CAQYFK4EEACUEOzA5AgEBBDQAxSC9lST5dtfXQI1Ug9VMMoue3GGni5ON
4635 -+gieyXK2KKbd29KAPs4/AOd8kX2wQDsZPO7E
4636 ------END PRIVATE KEY-----
4637 -
4638 -PublicKey=ALICE_cf_sect409r1_PUB
4639 ------BEGIN PUBLIC KEY-----
4640 -MH4wEAYHKoZIzj0CAQYFK4EEACUDagAEASAvXAM15DJerAu1JttpBuMJK1/fEfFohu2iEpt3r7Ui
4641 -iQoER6HUsWiw1hhcJyTv7WzpJQHFWrOlJMe/KjmQa/CygSc65YHDzG27oUL+KGdQUGc79ZRSwl/q
4642 -fGZqa3D+bDVMwrhmZto=
4643 ------END PUBLIC KEY-----
4644 -
4645 -PrivPubKeyPair=ALICE_cf_sect409r1:ALICE_cf_sect409r1_PUB
4646 -
4647 -PrivateKey=BOB_cf_sect409r1
4648 ------BEGIN PRIVATE KEY-----
4649 -MFICAQAwEAYHKoZIzj0CAQYFK4EEACUEOzA5AgEBBDQARen+1P3JQzBgOv0pUYwsZTPRVLpqqDAU
4650 -7mKL2lk9eH7zSGmtNoMvP2m1S2dBnXxFY/bV
4651 ------END PRIVATE KEY-----
4652 -
4653 -PublicKey=BOB_cf_sect409r1_PUB
4654 ------BEGIN PUBLIC KEY-----
4655 -MH4wEAYHKoZIzj0CAQYFK4EEACUDagAEAbDUw066TtdfOpDvrlKosEyqUNEG7rY+AKvDqKw+HOzf
4656 -sUTYee6cEf71oqJ1sCKPQiYzlwCu/HLQeWPxISE6Uo+53kkeJml2xpMBwoE25Gq/DSS61dR7SRTZ
4657 -+sUmumbIuGzbrjtMRmw=
4658 ------END PUBLIC KEY-----
4659 -
4660 -PrivPubKeyPair=BOB_cf_sect409r1:BOB_cf_sect409r1_PUB
4661 -
4662 -# ECDH Alice with Bob peer
4663 -Derive=ALICE_cf_sect409r1
4664 -PeerKey=BOB_cf_sect409r1_PUB
4665 -SharedSecret=00a751259cdb3b445ce71a40a01a2189dfce70226111190505fc6eabe4e5a05bff7af55f2015e1ffcab6aea7ea9a6e74905da2a1
4666 -
4667 -# ECDH Bob with Alice peer
4668 -Derive=BOB_cf_sect409r1
4669 -PeerKey=ALICE_cf_sect409r1_PUB
4670 -SharedSecret=00a751259cdb3b445ce71a40a01a2189dfce70226111190505fc6eabe4e5a05bff7af55f2015e1ffcab6aea7ea9a6e74905da2a1
4671 -
4672 -# ECC CDH Alice with Bob peer
4673 -Derive=ALICE_cf_sect409r1
4674 -PeerKey=BOB_cf_sect409r1_PUB
4675 -Ctrl=ecdh_cofactor_mode:1
4676 -SharedSecret=0115a31aed416c5089d74a263ec300aff13a5329c6ad27de950ae0b0917b40a3464fccf5691ac9633a51e5177a82b15cfc434aad
4677 -
4678 -# ECC CDH Bob with Alice peer
4679 -Derive=BOB_cf_sect409r1
4680 -PeerKey=ALICE_cf_sect409r1_PUB
4681 -Ctrl=ecdh_cofactor_mode:1
4682 -SharedSecret=0115a31aed416c5089d74a263ec300aff13a5329c6ad27de950ae0b0917b40a3464fccf5691ac9633a51e5177a82b15cfc434aad
4683 -
4684 -PublicKey=MALICE_cf_sect409r1_PUB
4685 ------BEGIN PUBLIC KEY-----
4686 -MH4wEAYHKoZIzj0CAQYFK4EEACUDagAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4687 -AAAAAAAAAAAAAAAAAAAAAAAAAACZNffkdo7i7yL5tKKfU8tdk6su0K185XwbJkn96JWVDPZXZ3My
4688 -bFKKSOJ7hyrM8Lwl1e8=
4689 ------END PUBLIC KEY-----
4690 -
4691 -# ECC CDH Bob with Malice peer
4692 -Derive=BOB_cf_sect409r1
4693 -PeerKey=MALICE_cf_sect409r1_PUB
4694 -Ctrl=ecdh_cofactor_mode:1
4695 -Result=DERIVE_ERROR
4696 -Reason=point at infinity
4697 -
4698 -# ECC CDH Alice with Malice peer
4699 -Derive=ALICE_cf_sect409r1
4700 -PeerKey=MALICE_cf_sect409r1_PUB
4701 -Ctrl=ecdh_cofactor_mode:1
4702 -Result=DERIVE_ERROR
4703 -Reason=point at infinity
4704 -
4705 -Title=sect571k1 curve tests
4706 -
4707 -PrivateKey=ALICE_cf_sect571k1
4708 ------BEGIN PRIVATE KEY-----
4709 -MGYCAQAwEAYHKoZIzj0CAQYFK4EEACYETzBNAgEBBEgB4agvk7Qdf9bVb9aMVdtXL0MuVw6dTleB
4710 -zrpPMYty/piI5GWkQEGVp4OJSjF1BGgWmtYSYlV0oI8jJ7hfWTjVGfVWix4ipb8=
4711 ------END PRIVATE KEY-----
4712 -
4713 -PublicKey=ALICE_cf_sect571k1_PUB
4714 ------BEGIN PUBLIC KEY-----
4715 -MIGnMBAGByqGSM49AgEGBSuBBAAmA4GSAAQDUZq0ZrgYpTXNpOptjExaur0K9FAYHv1j9cvAptwX
4716 -dcmQf3VqekMkGZCfNdqNeqCajG3QHRkBHe4FZhWr3FXi8whvvr463lUDf+t46un1kE6FTYfhILGa
4717 -sBZm7OdfkarYd9TXBbmnkFA+XkyPlkM1+6daM3/WmnegK+TYghFDXLgwiyF8s0ElllF7z38Gmc4=
4718 ------END PUBLIC KEY-----
4719 -
4720 -PrivPubKeyPair=ALICE_cf_sect571k1:ALICE_cf_sect571k1_PUB
4721 -
4722 -PrivateKey=BOB_cf_sect571k1
4723 ------BEGIN PRIVATE KEY-----
4724 -MGYCAQAwEAYHKoZIzj0CAQYFK4EEACYETzBNAgEBBEgA3pINxGOI7L9M+Mil+bm/udPwI4xu7ubJ
4725 -p3aoOepTXW94laf8wjFLcQnRUwH87Vbq9VLQEfCAFvr2vZoBc+5asnNuDhRNNeQ=
4726 ------END PRIVATE KEY-----
4727 -
4728 -PublicKey=BOB_cf_sect571k1_PUB
4729 ------BEGIN PUBLIC KEY-----
4730 -MIGnMBAGByqGSM49AgEGBSuBBAAmA4GSAAQDZRr5GCSq2uzGxmWNB+bED7zye18Rr/KehwXrbn1r
4731 -rKtR8fe+dg2V15FieC3qZe/wCpMtyp79VmEabGi6iGLlAN/rUE81URsA/K7GVpmklslV5gmwryR0
4732 -3E7jGKPFesun9iNtmpgM18P9y3aJd4Qr4hMlwW2Nyw187l6QB/W2e/i+8vKXFTLHlz5WLAyAcpA=
4733 ------END PUBLIC KEY-----
4734 -
4735 -PrivPubKeyPair=BOB_cf_sect571k1:BOB_cf_sect571k1_PUB
4736 -
4737 -# ECDH Alice with Bob peer
4738 -Derive=ALICE_cf_sect571k1
4739 -PeerKey=BOB_cf_sect571k1_PUB
4740 -SharedSecret=02b79c92cee50dc5b9fdddce36d4fa2e28d7d178cd74e575961f39429496305b38815c840c2e66327435c044ed885ec964068531251a2112717602532e8b6d5411db2fe05c1ac18c
4741 -
4742 -# ECDH Bob with Alice peer
4743 -Derive=BOB_cf_sect571k1
4744 -PeerKey=ALICE_cf_sect571k1_PUB
4745 -SharedSecret=02b79c92cee50dc5b9fdddce36d4fa2e28d7d178cd74e575961f39429496305b38815c840c2e66327435c044ed885ec964068531251a2112717602532e8b6d5411db2fe05c1ac18c
4746 -
4747 -# ECC CDH Alice with Bob peer
4748 -Derive=ALICE_cf_sect571k1
4749 -PeerKey=BOB_cf_sect571k1_PUB
4750 -Ctrl=ecdh_cofactor_mode:1
4751 -SharedSecret=063aea789492c9727a5a6b7f24e8d3d377c70ee8e86b13664e191a53b1905e90e78b85960b1881db5160c7c5cacca0d686d9e104140d565eeeec17426f93d3a7ba639ecd716b43d2
4752 -
4753 -# ECC CDH Bob with Alice peer
4754 -Derive=BOB_cf_sect571k1
4755 -PeerKey=ALICE_cf_sect571k1_PUB
4756 -Ctrl=ecdh_cofactor_mode:1
4757 -SharedSecret=063aea789492c9727a5a6b7f24e8d3d377c70ee8e86b13664e191a53b1905e90e78b85960b1881db5160c7c5cacca0d686d9e104140d565eeeec17426f93d3a7ba639ecd716b43d2
4758 -
4759 -PublicKey=MALICE_cf_sect571k1_PUB
4760 ------BEGIN PUBLIC KEY-----
4761 -MIGnMBAGByqGSM49AgEGBSuBBAAmA4GSAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4762 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAA
4763 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE=
4764 ------END PUBLIC KEY-----
4765 -
4766 -# ECC CDH Bob with Malice peer
4767 -Derive=BOB_cf_sect571k1
4768 -PeerKey=MALICE_cf_sect571k1_PUB
4769 -Ctrl=ecdh_cofactor_mode:1
4770 -Result=DERIVE_ERROR
4771 -Reason=point at infinity
4772 -
4773 -# ECC CDH Alice with Malice peer
4774 -Derive=ALICE_cf_sect571k1
4775 -PeerKey=MALICE_cf_sect571k1_PUB
4776 -Ctrl=ecdh_cofactor_mode:1
4777 -Result=DERIVE_ERROR
4778 -Reason=point at infinity
4779 -
4780 -Title=sect571r1 curve tests
4781 -
4782 -PrivateKey=ALICE_cf_sect571r1
4783 ------BEGIN PRIVATE KEY-----
4784 -MGYCAQAwEAYHKoZIzj0CAQYFK4EEACcETzBNAgEBBEgAxfL2/gUsmJonvDMR95Azq1ySgXMlKSRk
4785 -+PL+WaS92ZyOo45HaC7RpH5sdkf4b948u6y1BXOxGZuORXy6lgbgZ1Zx2UgL3cI=
4786 ------END PRIVATE KEY-----
4787 -
4788 -PublicKey=ALICE_cf_sect571r1_PUB
4789 ------BEGIN PUBLIC KEY-----
4790 -MIGnMBAGByqGSM49AgEGBSuBBAAnA4GSAAQBK5L9ccIWacU2A1srZ35opPu6kcbEOsBPmvj/rlMS
4791 -fFrdMOcagOYfcD0/ouYHPhvkHbr9k87IlQJfnV6ZNRA4PmWSp/FjkNwETm/fqTCUQHti/qqnKH7R
4792 -Ed4fYROLFGvz+PX6E20SryOt1vrmoRyC7Z5FVmgMVOQQ1AaBNAHi3+IPtKx41YdXdbqHJxuI5jE=
4793 ------END PUBLIC KEY-----
4794 -
4795 -PrivPubKeyPair=ALICE_cf_sect571r1:ALICE_cf_sect571r1_PUB
4796 -
4797 -PrivateKey=BOB_cf_sect571r1
4798 ------BEGIN PRIVATE KEY-----
4799 -MGYCAQAwEAYHKoZIzj0CAQYFK4EEACcETzBNAgEBBEgAzcRvASPpWi0ybpOGlj0Lozz01C2a5oDA
4800 -G5alib1EmZKcpVULxJXn75FQlTKpkUEuWUgA4yk5X5DTiScUuh4LDhaF3AFhsEY=
4801 ------END PRIVATE KEY-----
4802 -
4803 -PublicKey=BOB_cf_sect571r1_PUB
4804 ------BEGIN PUBLIC KEY-----
4805 -MIGnMBAGByqGSM49AgEGBSuBBAAnA4GSAAQH3dnL22NajtqDWTX6qD14w1BOlpHFBUPTr24VySlh
4806 -kiiBlOF95u7hFr/hSb7gm/3f+IVKyE18Sh2kR4KaxWcPWKY5xKTiqiICT7hCistuzNRt8gR+kNOT
4807 -c1rETMV6ZruZinwzEWWWjwJf6612oy2HG3CX3B8Rm+a3sS0q6IzowEwqmDv6v9bMTFk8bsCv0Fk=
4808 ------END PUBLIC KEY-----
4809 -
4810 -PrivPubKeyPair=BOB_cf_sect571r1:BOB_cf_sect571r1_PUB
4811 -
4812 -# ECDH Alice with Bob peer
4813 -Derive=ALICE_cf_sect571r1
4814 -PeerKey=BOB_cf_sect571r1_PUB
4815 -SharedSecret=0031f9879fa75b8c67ba81ee861be634e2b53aa79f834e9a8ca4df7f4461bcb02f083d9fa5b4767f881a710caa6524b58eb626623ba394961d46535204c26d165089e7d4f7be1827
4816 -
4817 -# ECDH Bob with Alice peer
4818 -Derive=BOB_cf_sect571r1
4819 -PeerKey=ALICE_cf_sect571r1_PUB
4820 -SharedSecret=0031f9879fa75b8c67ba81ee861be634e2b53aa79f834e9a8ca4df7f4461bcb02f083d9fa5b4767f881a710caa6524b58eb626623ba394961d46535204c26d165089e7d4f7be1827
4821 -
4822 -# ECC CDH Alice with Bob peer
4823 -Derive=ALICE_cf_sect571r1
4824 -PeerKey=BOB_cf_sect571r1_PUB
4825 -Ctrl=ecdh_cofactor_mode:1
4826 -SharedSecret=012e8c2c1554988fe20c5ae7d11cdcfe15c7c6e8d2b6f46a43a45d724bfc7b415ea7594d5c16f770a95d6e65bbcb1f34619db95e89f4fecbcb0bc6a3f92d52df6a49b0e7773e0ac0
4827 -
4828 -# ECC CDH Bob with Alice peer
4829 -Derive=BOB_cf_sect571r1
4830 -PeerKey=ALICE_cf_sect571r1_PUB
4831 -Ctrl=ecdh_cofactor_mode:1
4832 -SharedSecret=012e8c2c1554988fe20c5ae7d11cdcfe15c7c6e8d2b6f46a43a45d724bfc7b415ea7594d5c16f770a95d6e65bbcb1f34619db95e89f4fecbcb0bc6a3f92d52df6a49b0e7773e0ac0
4833 -
4834 -PublicKey=MALICE_cf_sect571r1_PUB
4835 ------BEGIN PUBLIC KEY-----
4836 -MIGnMBAGByqGSM49AgEGBSuBBAAnA4GSAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4837 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHMtVWZAwgtd1zmgWN/9WC
4838 -aNQcWRNUKesEHXqhJVkC5jYsSACodKsLYFNrWEYM0gwG8DQONZSn93G+38EM45tkaZsIRDt2HEM=
4839 ------END PUBLIC KEY-----
4840 -
4841 -# ECC CDH Bob with Malice peer
4842 -Derive=BOB_cf_sect571r1
4843 -PeerKey=MALICE_cf_sect571r1_PUB
4844 -Ctrl=ecdh_cofactor_mode:1
4845 -Result=DERIVE_ERROR
4846 -Reason=point at infinity
4847 -
4848 -# ECC CDH Alice with Malice peer
4849 -Derive=ALICE_cf_sect571r1
4850 -PeerKey=MALICE_cf_sect571r1_PUB
4851 -Ctrl=ecdh_cofactor_mode:1
4852 -Result=DERIVE_ERROR
4853 -Reason=point at infinity
4854 diff -up openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt.remove-ec openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt
4855 --- openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt.remove-ec 2021-06-30 10:51:23.258816802 +0200
4856 +++ openssl-3.0.0-beta1/test/recipes/30-test_evp_data/evppkey_ecc.txt 2021-06-30 11:25:33.504721672 +0200
4857 @@ -1,3 +1,4 @@
4858 +
4859 #
4860 # Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
4861 #
4862 @@ -55,151 +56,6 @@ Derive=BOB_cf_secp256k1
4863 PeerKey=ALICE_cf_secp256k1_PUB
4864 SharedSecret=a4745cc4d19cabb9e5cb0abdd5c604cab2846a4638ad844ed9175f3cadda2da1
4865
4866 ------BEGIN PRIVATE KEY-----
4867 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQIEHzAdAgEBBBj1AIQMJ7jqYIKCvxYAS+qKMmKmH0to
4868 -41k=
4869 ------END PRIVATE KEY-----
4870 -
4871 -PublicKey=BOB_zero_prime192v2_PUB
4872 ------BEGIN PUBLIC KEY-----
4873 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQIDMgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB4Gj7Qqt
4874 -2wx/jwFlKgvE4rnd50LspdMk
4875 ------END PUBLIC KEY-----
4876 -
4877 -# ECDH Alice with Bob peer
4878 -Availablein = default
4879 -Derive=ALICE_zero_prime192v2
4880 -PeerKey=BOB_zero_prime192v2_PUB
4881 -SharedSecret=b8f200a4b87064f2e8600685ca3e69b8e661a117aabc770b
4882 -
4883 -PrivateKey=ALICE_zero_prime192v3
4884 ------BEGIN PRIVATE KEY-----
4885 -MDkCAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQMEHzAdAgEBBBh/maLQMSlea9BfLqGy5NPuK0YAH/cz
4886 -GqI=
4887 ------END PRIVATE KEY-----
4888 -
4889 -PublicKey=BOB_zero_prime192v3_PUB
4890 ------BEGIN PUBLIC KEY-----
4891 -MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQMDMgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAZEzb63e2
4892 -3MKatRLR9Y1M5JEdI9jwMocI
4893 ------END PUBLIC KEY-----
4894 -
4895 -# ECDH Alice with Bob peer
4896 -Availablein = default
4897 -Derive=ALICE_zero_prime192v3
4898 -PeerKey=BOB_zero_prime192v3_PUB
4899 -SharedSecret=b5de857d355bc5b9e270a4c290ea9728d764d8b243ff5d8d
4900 -
4901 -PrivateKey=ALICE_zero_prime239v1
4902 ------BEGIN PRIVATE KEY-----
4903 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQQEJTAjAgEBBB5pYWzRYI+c6O7NXCt0H2kw8XRL3rhe
4904 -4MrJT8j++CI=
4905 ------END PRIVATE KEY-----
4906 -
4907 -PublicKey=BOB_zero_prime239v1_PUB
4908 ------BEGIN PUBLIC KEY-----
4909 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQQDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4910 -Ox02uwNNLFuvDRn5ip8TxvW0W22R7UzJa9Av6/nh
4911 ------END PUBLIC KEY-----
4912 -
4913 -# ECDH Alice with Bob peer
4914 -Availablein = default
4915 -Derive=ALICE_zero_prime239v1
4916 -PeerKey=BOB_zero_prime239v1_PUB
4917 -SharedSecret=6b6206408bd05d42daa2cd224c401a1230b44e184f17b82f385f22dac215
4918 -
4919 -PrivateKey=ALICE_zero_prime239v2
4920 ------BEGIN PRIVATE KEY-----
4921 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQUEJTAjAgEBBB5l8bB7Cpmr7vyx9FiOT2wEF3YOFbDG
4922 -bmRr3Vi/xr4=
4923 ------END PRIVATE KEY-----
4924 -
4925 -PublicKey=BOB_zero_prime239v2_PUB
4926 ------BEGIN PUBLIC KEY-----
4927 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQUDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4928 -IOg3VJGQ89d1GWg4Igxcj5xpDmJiP8tv+e4mxt5U
4929 ------END PUBLIC KEY-----
4930 -
4931 -# ECDH Alice with Bob peer
4932 -Availablein = default
4933 -Derive=ALICE_zero_prime239v2
4934 -PeerKey=BOB_zero_prime239v2_PUB
4935 -SharedSecret=772c2819c960c78f28f21f6542b7409294fad1f84567c44c4b7678dc0e42
4936 -
4937 -PrivateKey=ALICE_zero_prime239v3
4938 ------BEGIN PRIVATE KEY-----
4939 -MD8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQYEJTAjAgEBBB5HF5FABzUOTYMZg9UdZTx/oRERm/fU
4940 -M/+otKzpLjA=
4941 ------END PRIVATE KEY-----
4942 -
4943 -PublicKey=BOB_zero_prime239v3_PUB
4944 ------BEGIN PUBLIC KEY-----
4945 -MFUwEwYHKoZIzj0CAQYIKoZIzj0DAQYDPgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4946 -AsZ4u6r3qQI78EYBpiSgWjqNpoeShjr5piecMBWj
4947 ------END PUBLIC KEY-----
4948 -
4949 -# ECDH Alice with Bob peer
4950 -Availablein = default
4951 -Derive=ALICE_zero_prime239v3
4952 -PeerKey=BOB_zero_prime239v3_PUB
4953 -SharedSecret=56a71f5dd1611e8032c3e2d8224d86e5e8c2fc6480d74c0e282282decd43
4954 -
4955 -PrivateKey=ALICE_zero_prime256v1
4956 ------BEGIN PRIVATE KEY-----
4957 -MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCDXhMb6aR4JR2+l2tmgYqP0r8S4jtym
4958 -yH++awvF2nGhhg==
4959 ------END PRIVATE KEY-----
4960 -
4961 -PublicKey=BOB_zero_prime256v1_PUB
4962 ------BEGIN PUBLIC KEY-----
4963 -MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4964 -AABmSFx4Di+D1yQzvV2EoGu2VBwq8x2uhxcov4VqF0+T9A==
4965 ------END PUBLIC KEY-----
4966 -
4967 -# ECDH Alice with Bob peer
4968 -Availablein = default
4969 -Derive=ALICE_zero_prime256v1
4970 -PeerKey=BOB_zero_prime256v1_PUB
4971 -SharedSecret=c4f5607deb8501f1a4ba23fce4122a4343a17ada2c86a9c8e0d03d92d4a4c84c
4972 -
4973 -PrivateKey=ALICE_zero_secp384r1
4974 ------BEGIN PRIVATE KEY-----
4975 -ME4CAQAwEAYHKoZIzj0CAQYFK4EEACIENzA1AgEBBDD6kgzKbg28zbQyVTdC0IdHbm0UCQt2Rdbi
4976 -VVHJeYRSnNpFOiFLaOsGOmwoeZzj6jc=
4977 ------END PRIVATE KEY-----
4978 -
4979 -PublicKey=BOB_zero_secp384r1_PUB
4980 ------BEGIN PUBLIC KEY-----
4981 -MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
4982 -AAAAAAAAAAAAAAAAAAAAPPme8E9RpepjC6P5+WDdWToUyb45/SvSFdO0sIqq+Gu/kn8sRuUqsG+3
4983 -QriFDlIe
4984 ------END PUBLIC KEY-----
4985 -
4986 -# ECDH Alice with Bob peer
4987 -Availablein = default
4988 -Derive=ALICE_zero_secp384r1
4989 -PeerKey=BOB_zero_secp384r1_PUB
4990 -SharedSecret=b1cfeaeef51dfd487d3a8b2849f1592e04d63f2d2c88b310a6290ebfe5399f5ffe954eabd0619231393e56c35b242986
4991 -
4992 -PrivateKey=ALICE_zero_secp521r1
4993 ------BEGIN PRIVATE KEY-----
4994 -MGACAQAwEAYHKoZIzj0CAQYFK4EEACMESTBHAgEBBEIAbddDLMUWbAsY7l3vbNDmntXuAUcDYPg5
4995 -w/cgUwSCIvrV9MBeSG8AWqT16riHmHlsn+XI5PAJM6eij3JDahnu9Mo=
4996 ------END PRIVATE KEY-----
4997 -
4998 -PublicKey=BOB_zero_secp521r1_PUB
4999 ------BEGIN PUBLIC KEY-----
5000 -MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
5001 -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA0g7J/qa1d8ENJsobtEb0CymeZIsa
5002 -1Qiq0GiJb+4/jmFLxjBU1Xcr8Bpl1BLgvKqOll0vXTMtfzn4RtRArgAfT4c=
5003 ------END PUBLIC KEY-----
5004 -
5005 -# ECDH Alice with Bob peer
5006 -Availablein = default
5007 -Derive=ALICE_zero_secp521r1
5008 -PeerKey=BOB_zero_secp521r1_PUB
5009 -SharedSecret=003fc3028f61db94b20c7cd177923b6e73f12f0ab067c9ce8866755e3c82abb39c9863cde74fa80b32520bd7dd0eb156c30c08911503b67b2661f1264d09bb231423
5010 -
5011 Title=prime256v1 curve tests
5012
5013 PrivateKey=ALICE_cf_prime256v1
5014 diff -up openssl-3.0.7/test/recipes/15-test_ec.t.skipshort openssl-3.0.7/test/recipes/15-test_ec.t
5015 --- openssl-3.0.7/test/recipes/15-test_ec.t.skipshort 2022-11-23 12:40:55.324395782 +0100
5016 +++ openssl-3.0.7/test/recipes/15-test_ec.t 2022-11-23 12:42:12.478094387 +0100
5017 @@ -90,7 +90,7 @@ subtest 'Ed448 conversions -- public key
5018
5019 subtest 'Check loading of fips and non-fips keys' => sub {
5020 plan skip_all => "FIPS is disabled"
5021 - if $no_fips;
5022 + if 1; #Red Hat specific, original value is $no_fips;
5023
5024 plan tests => 2;
5025

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed