Andrew Geissler | 9347dd4 | 2023-03-03 12:38:41 -0600 | [diff] [blame^] | 1 | From abdea43f1de61a0e76b13890cb403f7955998b02 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> |
| 3 | Date: Thu, 9 Feb 2023 21:06:22 +0000 |
| 4 | Subject: [PATCH] corstone1000: Disable SHA512/384 |
| 5 | |
| 6 | SHA512 and SHA384 is not available on Cryptocell (hardware accelerator) |
| 7 | |
| 8 | Signed-off-by: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> |
| 9 | Upstream-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, 2 insertions(+), 2 deletions(-) |
| 14 | |
| 15 | 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 |
| 16 | index 1d9b356..d6d552a 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 | @@ -272,8 +272,8 @@ |
| 20 | #define ARCH_TEST_SHA256 |
| 21 | #ifndef TF_M_PROFILE_SMALL |
| 22 | #ifndef TF_M_PROFILE_MEDIUM |
| 23 | -#define ARCH_TEST_SHA384 |
| 24 | -#define ARCH_TEST_SHA512 |
| 25 | +// #define ARCH_TEST_SHA384 |
| 26 | +// #define ARCH_TEST_SHA512 |
| 27 | #endif |
| 28 | #endif |
| 29 | //#define ARCH_TEST_SHA512_224 |
| 30 | -- |
| 31 | 2.25.1 |
| 32 | |