Andrew Geissler | 9347dd4 | 2023-03-03 12:38:41 -0600 | [diff] [blame^] | 1 | From 1bc041813df89a1be953d0ba3471e608f6fa7ed8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Mohamed Omar Asaker <mohamed.omarasaker@arm.com> |
| 3 | Date: Thu, 9 Feb 2023 20:54:40 +0000 |
| 4 | Subject: [PATCH] corstone1000: Disable obsolete algorithms |
| 5 | |
| 6 | curves of size <255 are obsolete algorithms |
| 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, 4 insertions(+) |
| 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 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 | -- |
| 31 | 2.25.1 |
| 32 | |