summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/ecdh/ecdhtest.c
diff options
context:
space:
mode:
authortb <>2024-11-24 10:13:16 +0000
committertb <>2024-11-24 10:13:16 +0000
commit5c1c113662ae24e84d65063d12d7144a738ebf30 (patch)
tree6608b0422a07e27678d36227594c61815b7c60c1 /src/regress/lib/libcrypto/ecdh/ecdhtest.c
parent256a12ddc14d922bf8e19302531598b8c367396b (diff)
downloadopenbsd-5c1c113662ae24e84d65063d12d7144a738ebf30.tar.gz
openbsd-5c1c113662ae24e84d65063d12d7144a738ebf30.tar.bz2
openbsd-5c1c113662ae24e84d65063d12d7144a738ebf30.zip
Disable regression tests for small builtin curves
Diffstat (limited to 'src/regress/lib/libcrypto/ecdh/ecdhtest.c')
-rw-r--r--src/regress/lib/libcrypto/ecdh/ecdhtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/ecdh/ecdhtest.c b/src/regress/lib/libcrypto/ecdh/ecdhtest.c
index 7d7bbf5465..2f726ecb50 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.20 2023/07/16 07:34:07 tb Exp $ */ 1/* $OpenBSD: ecdhtest.c,v 1.21 2024/11/24 10:13:16 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -174,12 +174,14 @@ static const struct ecdh_kat_test {
174 const char *want; 174 const char *want;
175} ecdh_kat_tests[] = { 175} ecdh_kat_tests[] = {
176 /* Keys and shared secrets from RFC 5114 */ 176 /* Keys and shared secrets from RFC 5114 */
177#ifdef ENABLE_SMALL_CURVES
177 { 178 {
178 .nid = NID_X9_62_prime192v1, 179 .nid = NID_X9_62_prime192v1,
179 .keya = "323fa3169d8e9c6593f59476bc142000ab5be0e249c43426", 180 .keya = "323fa3169d8e9c6593f59476bc142000ab5be0e249c43426",
180 .keyb = "631f95bb4a67632c9c476eee9ab695ab240a0499307fcf62", 181 .keyb = "631f95bb4a67632c9c476eee9ab695ab240a0499307fcf62",
181 .want = "ad420182633f8526bfe954acda376f05e5ff4f837f54febe", 182 .want = "ad420182633f8526bfe954acda376f05e5ff4f837f54febe",
182 }, 183 },
184#endif
183 { 185 {
184 .nid = NID_secp224r1, 186 .nid = NID_secp224r1,
185 .keya = "b558eb6c288da707bbb4f8fbae2ab9e9cb62e3bc5c7573e2" 187 .keya = "b558eb6c288da707bbb4f8fbae2ab9e9cb62e3bc5c7573e2"