mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
arm-bsp/corstone1000:psa-tests: Removes RSA tests
Since TF-M v2.2.1, the new crypto driver used does not support RSA algorithms, so these tests are no longer valid. Signed-off-by: Frazer Carsley <frazer.carsley@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
committed by
Ross Burton
parent
ddf6d8327c
commit
3a89a2c844
@@ -0,0 +1,52 @@
|
||||
From 56a71c2f32f73e0d4fec9f0881c390b7c2809a9e Mon Sep 17 00:00:00 2001
|
||||
From: emeara01 <emekcan.aras@arm.com>
|
||||
Date: Wed, 25 Sep 2024 15:06:19 +0100
|
||||
Subject: [PATCH] Remove RSA support
|
||||
|
||||
TF-M 2.2 uses a new crypto driver that does not support RSA algorithms
|
||||
and Corstone1000 incorporates this version of TF-M.
|
||||
|
||||
Upstream-Status: Pending [Not submitted to upstream yet]
|
||||
Signed-off-by: Emekcan Aras <emekcan.aras@arm.com>
|
||||
Signed-off-by: Frazer Carsley <frazer.carsley@arm.com>
|
||||
---
|
||||
.../tgt_dev_apis_linux/nspe/pal_crypto_config.h | 16 ++++++++--------
|
||||
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
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 d6d552a..bfdeedc 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
|
||||
@@ -36,10 +36,10 @@
|
||||
*/
|
||||
#ifndef TF_M_PROFILE_SMALL
|
||||
#ifndef TF_M_PROFILE_MEDIUM
|
||||
-#define ARCH_TEST_RSA
|
||||
-#define ARCH_TEST_RSA_1024
|
||||
-#define ARCH_TEST_RSA_2048
|
||||
-#define ARCH_TEST_RSA_3072
|
||||
+//#define ARCH_TEST_RSA
|
||||
+//#define ARCH_TEST_RSA_1024
|
||||
+//#define ARCH_TEST_RSA_2048
|
||||
+//#define ARCH_TEST_RSA_3072
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -206,10 +206,10 @@
|
||||
#ifndef TF_M_PROFILE_SMALL
|
||||
#ifndef TF_M_PROFILE_MEDIUM
|
||||
#define ARCH_TEST_PKCS1V15
|
||||
-#define ARCH_TEST_RSA_PKCS1V15_SIGN
|
||||
-#define ARCH_TEST_RSA_PKCS1V15_SIGN_RAW
|
||||
-#define ARCH_TEST_RSA_PKCS1V15_CRYPT
|
||||
-#define ARCH_TEST_RSA_OAEP
|
||||
+//#define ARCH_TEST_RSA_PKCS1V15_SIGN
|
||||
+//#define ARCH_TEST_RSA_PKCS1V15_SIGN_RAW
|
||||
+//#define ARCH_TEST_RSA_PKCS1V15_CRYPT
|
||||
+//#define ARCH_TEST_RSA_OAEP
|
||||
#endif
|
||||
#endif
|
||||
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -6,4 +6,5 @@ SRC_URI:append:corstone1000 = " \
|
||||
file://0001-corstone1000-port-crypto-config.patch;patchdir=../psatest \
|
||||
file://0002-corstone1000-Disable-obsolete-algorithms.patch;patchdir=../psatest \
|
||||
file://0003-corstone1000-Disable-SHA512-384.patch;patchdir=../psatest \
|
||||
file://0004-Remove-RSA-support.patch;patchdir=../psatest \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user