blob: d13e167a05dd84242c89ffc5c7a5c938cecbbc31 [file] [log] [blame]
Andrew Geissler9347dd42023-03-03 12:38:41 -06001From 1bc041813df89a1be953d0ba3471e608f6fa7ed8 Mon Sep 17 00:00:00 2001
2From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
3Date: Thu, 9 Feb 2023 20:54:40 +0000
4Subject: [PATCH] corstone1000: Disable obsolete algorithms
5
6curves of size <255 are obsolete algorithms
7
8Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
9Upstream-Status: Inappropriate [Discussions of having these configs
10 in a separate target is ongoing]
11---
12 .../targets/tgt_dev_apis_linux/nspe/pal_crypto_config.h | 4 ++++
13 1 file changed, 4 insertions(+)
14
15diff --git a/api-tests/platform/targets/tgt_dev_apis_linux/nspe/pal_crypto_config.h b/api-tests/platform/targets/tgt_dev_apis_linux/nspe/pal_crypto_config.h
16index c6d4aad..1d9b356 100755
17--- a/api-tests/platform/targets/tgt_dev_apis_linux/nspe/pal_crypto_config.h
18+++ b/api-tests/platform/targets/tgt_dev_apis_linux/nspe/pal_crypto_config.h
19@@ -66,6 +66,10 @@
20 #endif
21 #endif
22
23+/* curves of size <255 are obsolete algorithms, should be disabled. */
24+#undef ARCH_TEST_ECC_CURVE_SECP192R1
25+#undef ARCH_TEST_ECC_CURVE_SECP224R1
26+
27 /**
28 * \def ARCH_TEST_AES
29 *
30--
312.25.1
32