mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-05 02:20:30 +00:00
arm-bsp/trusted-services: corstone1000: Disable SHA512/384
corstone1000 cryptocell (the HW accelerator) doesn't support SHA384/SHA512 Note: TF-Mv1.7 disables the software fallback 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
1fdb75d465
commit
cbe0ce7992
+32
@@ -0,0 +1,32 @@
|
||||
From abdea43f1de61a0e76b13890cb403f7955998b02 Mon Sep 17 00:00:00 2001
|
||||
From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com>
|
||||
Date: Thu, 9 Feb 2023 21:06:22 +0000
|
||||
Subject: [PATCH] corstone1000: Disable SHA512/384
|
||||
|
||||
SHA512 and SHA384 is not available on Cryptocell (hardware accelerator)
|
||||
|
||||
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, 2 insertions(+), 2 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 1d9b356..d6d552a 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
|
||||
@@ -272,8 +272,8 @@
|
||||
#define ARCH_TEST_SHA256
|
||||
#ifndef TF_M_PROFILE_SMALL
|
||||
#ifndef TF_M_PROFILE_MEDIUM
|
||||
-#define ARCH_TEST_SHA384
|
||||
-#define ARCH_TEST_SHA512
|
||||
+// #define ARCH_TEST_SHA384
|
||||
+// #define ARCH_TEST_SHA512
|
||||
#endif
|
||||
#endif
|
||||
//#define ARCH_TEST_SHA512_224
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -5,4 +5,5 @@ include ts-arm-platforms.inc
|
||||
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 \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user