diff options
author | tb <> | 2023-04-26 09:31:12 +0000 |
---|---|---|
committer | tb <> | 2023-04-26 09:31:12 +0000 |
commit | 1f0e06ee4a973473f7ae0f571f87db2d6c23f5dd (patch) | |
tree | 60d0a2ef69123757123eb6d370362ce43e798974 /src/regress/lib/libcrypto/ecdh | |
parent | b26d42117a508c2f1f39920ac3299c79d80ee9b5 (diff) | |
download | openbsd-1f0e06ee4a973473f7ae0f571f87db2d6c23f5dd.tar.gz openbsd-1f0e06ee4a973473f7ae0f571f87db2d6c23f5dd.tar.bz2 openbsd-1f0e06ee4a973473f7ae0f571f87db2d6c23f5dd.zip |
Some more EC2M cleanup
Diffstat (limited to 'src/regress/lib/libcrypto/ecdh')
-rw-r--r-- | src/regress/lib/libcrypto/ecdh/ecdhtest.c | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/regress/lib/libcrypto/ecdh/ecdhtest.c b/src/regress/lib/libcrypto/ecdh/ecdhtest.c index bf68a88e4e..e6046a5400 100644 --- a/src/regress/lib/libcrypto/ecdh/ecdhtest.c +++ b/src/regress/lib/libcrypto/ecdh/ecdhtest.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ecdhtest.c,v 1.13 2023/03/08 16:51:42 tb Exp $ */ | 1 | /* $OpenBSD: ecdhtest.c,v 1.14 2023/04/26 09:31:12 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
4 | * | 4 | * |
@@ -407,39 +407,6 @@ main(int argc, char *argv[]) | |||
407 | goto err; | 407 | goto err; |
408 | if (!test_ecdh_curve(NID_secp521r1, "NIST Prime-Curve P-521", ctx, out)) | 408 | if (!test_ecdh_curve(NID_secp521r1, "NIST Prime-Curve P-521", ctx, out)) |
409 | goto err; | 409 | goto err; |
410 | #ifndef OPENSSL_NO_EC2M | ||
411 | /* NIST BINARY CURVES TESTS */ | ||
412 | if (!test_ecdh_curve(NID_sect163k1, "NIST Binary-Curve K-163", | ||
413 | ctx, out)) | ||
414 | goto err; | ||
415 | if (!test_ecdh_curve(NID_sect163r2, "NIST Binary-Curve B-163", | ||
416 | ctx, out)) | ||
417 | goto err; | ||
418 | if (!test_ecdh_curve(NID_sect233k1, "NIST Binary-Curve K-233", | ||
419 | ctx, out)) | ||
420 | goto err; | ||
421 | if (!test_ecdh_curve(NID_sect233r1, "NIST Binary-Curve B-233", | ||
422 | ctx, out)) | ||
423 | goto err; | ||
424 | if (!test_ecdh_curve(NID_sect283k1, "NIST Binary-Curve K-283", | ||
425 | ctx, out)) | ||
426 | goto err; | ||
427 | if (!test_ecdh_curve(NID_sect283r1, "NIST Binary-Curve B-283", | ||
428 | ctx, out)) | ||
429 | goto err; | ||
430 | if (!test_ecdh_curve(NID_sect409k1, "NIST Binary-Curve K-409", | ||
431 | ctx, out)) | ||
432 | goto err; | ||
433 | if (!test_ecdh_curve(NID_sect409r1, "NIST Binary-Curve B-409", | ||
434 | ctx, out)) | ||
435 | goto err; | ||
436 | if (!test_ecdh_curve(NID_sect571k1, "NIST Binary-Curve K-571", | ||
437 | ctx, out)) | ||
438 | goto err; | ||
439 | if (!test_ecdh_curve(NID_sect571r1, "NIST Binary-Curve B-571", | ||
440 | ctx, out)) | ||
441 | goto err; | ||
442 | #endif | ||
443 | if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP256r1", 256)) | 410 | if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP256r1", 256)) |
444 | goto err; | 411 | goto err; |
445 | if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP384r1", 384)) | 412 | if (!test_ecdh_kat(out, "Brainpool Prime-Curve brainpoolP384r1", 384)) |