mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-05-07 04:58:57 +00:00
arm-bsp/trusted-services:corstone1000: disable obsolete algorithms for crypto
Disable obsolete algorithms in the psa-crypto configs Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
fd3b56802e
commit
1fdb75d465
+32
@@ -0,0 +1,32 @@
|
|||||||
|
From 1bc041813df89a1be953d0ba3471e608f6fa7ed8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
|
||||||
|
Date: Thu, 9 Feb 2023 20:54:40 +0000
|
||||||
|
Subject: [PATCH] corstone1000: Disable obsolete algorithms
|
||||||
|
|
||||||
|
curves of size <255 are obsolete algorithms
|
||||||
|
|
||||||
|
Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
|
||||||
|
Upstream-Status: Inappropriate [Discussions of having these configs
|
||||||
|
in a separate target is ongoing]
|
||||||
|
---
|
||||||
|
.../targets/tgt_dev_apis_linux/nspe/pal_crypto_config.h | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --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
|
||||||
|
index c6d4aad..1d9b356 100755
|
||||||
|
--- 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
|
||||||
|
@@ -66,6 +66,10 @@
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+/* curves of size <255 are obsolete algorithms, should be disabled. */
|
||||||
|
+#undef ARCH_TEST_ECC_CURVE_SECP192R1
|
||||||
|
+#undef ARCH_TEST_ECC_CURVE_SECP224R1
|
||||||
|
+
|
||||||
|
/**
|
||||||
|
* \def ARCH_TEST_AES
|
||||||
|
*
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
||||||
@@ -4,4 +4,5 @@ include ts-arm-platforms.inc
|
|||||||
|
|
||||||
SRC_URI:append:corstone1000 = " \
|
SRC_URI:append:corstone1000 = " \
|
||||||
file://0001-corstone1000-port-crypto-config.patch;patchdir=../psatest \
|
file://0001-corstone1000-port-crypto-config.patch;patchdir=../psatest \
|
||||||
|
file://0002-corstone1000-Disable-obsolete-algorithms.patch;patchdir=../psatest \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user