aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAntonio de Angelis <Antonio.deAngelis@arm.com>2021-07-29 11:33:48 +0200
committerAntonio de Angelis <Antonio.deAngelis@arm.com>2021-08-02 14:41:15 +0200
commit6eb5ecb2b17132d63948b8d41de2e0883fdc493d (patch)
tree6961782f739bf655b1ecfd6c09c43c22fa451cfa /config
parent401c1e5272edc3bab3391c61e52653970e2e20cd (diff)
Build: Disable ECDH crypto test for profile small
This patch disables the ECDH test in the Crypto regression for profile small which does not support the feature. The documentation is updated accordingly in relevant places. Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com> Change-Id: I3781c473864d90ac26584b357c2903f750ed5190
Diffstat (limited to 'config')
-rw-r--r--config/config_default.cmake4
-rw-r--r--config/profile/profile_large.cmake3
-rw-r--r--config/profile/profile_medium.cmake3
-rw-r--r--config/profile/profile_small.cmake3
4 files changed, 8 insertions, 5 deletions
diff --git a/config/config_default.cmake b/config/config_default.cmake
index d3d61602f..c5d0a3b63 100644
--- a/config/config_default.cmake
+++ b/config/config_default.cmake
@@ -162,8 +162,8 @@ set(TFM_CRYPTO_TEST_ALG_CFB ON CACHE BOOL "Test CFB cr
set(TFM_CRYPTO_TEST_ALG_CTR ON CACHE BOOL "Test CTR cryptography mode")
set(TFM_CRYPTO_TEST_ALG_GCM ON CACHE BOOL "Test GCM cryptography mode")
set(TFM_CRYPTO_TEST_ALG_SHA_512 ON CACHE BOOL "Test SHA-512 cryptography algorithm")
-set(TFM_CRYPTO_TEST_HKDF ON CACHE BOOL "Test SHA-512 cryptography algorithm")
-
+set(TFM_CRYPTO_TEST_HKDF ON CACHE BOOL "Test the HKDF key derivation algorithm")
+set(TFM_CRYPTO_TEST_ECDH ON CACHE BOOL "Test the ECDH key agreement algorithm")
set(TFM_FWU_TEST_REQUEST_REBOOT OFF CACHE BOOL "Test psa_fwu_request_reboot")
set(TFM_FWU_TEST_WRITE_WITH_NULL OFF CACHE BOOL "Test psa_fwu_write with data block NULL")
set(TFM_FWU_TEST_QUERY_WITH_NULL OFF CACHE BOOL "Test psa_fwu_query with info NULL")
diff --git a/config/profile/profile_large.cmake b/config/profile/profile_large.cmake
index bcef94ffe..b1ee510fc 100644
--- a/config/profile/profile_large.cmake
+++ b/config/profile/profile_large.cmake
@@ -35,7 +35,8 @@ set(TFM_CRYPTO_TEST_ALG_CFB OFF CACHE BOOL "Test CFB cr
set(TFM_CRYPTO_TEST_ALG_CTR OFF CACHE BOOL "Test CTR cryptography mode")
set(TFM_CRYPTO_TEST_ALG_GCM ON CACHE BOOL "Test GCM cryptography mode")
set(TFM_CRYPTO_TEST_ALG_SHA_512 ON CACHE BOOL "Test SHA-512 cryptography algorithm")
-set(TFM_CRYPTO_TEST_HKDF ON CACHE BOOL "Test SHA-512 cryptography algorithm")
+set(TFM_CRYPTO_TEST_HKDF ON CACHE BOOL "Test the HKDF key derivation algorithm")
+set(TFM_CRYPTO_TEST_ECDH ON CACHE BOOL "Test the ECDH key agreement algorithm")
################################## Dependencies ################################
diff --git a/config/profile/profile_medium.cmake b/config/profile/profile_medium.cmake
index 16f9c226a..25ebd4b6a 100644
--- a/config/profile/profile_medium.cmake
+++ b/config/profile/profile_medium.cmake
@@ -28,7 +28,8 @@ set(TFM_CRYPTO_TEST_ALG_CFB OFF CACHE BOOL "Test CFB cr
set(TFM_CRYPTO_TEST_ALG_CTR OFF CACHE BOOL "Test CTR cryptography mode")
set(TFM_CRYPTO_TEST_ALG_GCM OFF CACHE BOOL "Test GCM cryptography mode")
set(TFM_CRYPTO_TEST_ALG_SHA_512 OFF CACHE BOOL "Test SHA-512 cryptography algorithm")
-set(TFM_CRYPTO_TEST_HKDF OFF CACHE BOOL "Test SHA-512 cryptography algorithm")
+set(TFM_CRYPTO_TEST_HKDF OFF CACHE BOOL "Test the HKDF key derivation algorithm")
+set(TFM_CRYPTO_TEST_ECDH ON CACHE BOOL "Test the ECDH key agreement algorithm")
################################## Dependencies ################################
diff --git a/config/profile/profile_small.cmake b/config/profile/profile_small.cmake
index 4ce6f6f47..27e576e8d 100644
--- a/config/profile/profile_small.cmake
+++ b/config/profile/profile_small.cmake
@@ -48,7 +48,8 @@ set(TFM_CRYPTO_TEST_ALG_CFB OFF CACHE BOOL "Test CFB cr
set(TFM_CRYPTO_TEST_ALG_CTR OFF CACHE BOOL "Test CTR cryptography mode")
set(TFM_CRYPTO_TEST_ALG_GCM OFF CACHE BOOL "Test GCM cryptography mode")
set(TFM_CRYPTO_TEST_ALG_SHA_512 OFF CACHE BOOL "Test SHA-512 cryptography algorithm")
-set(TFM_CRYPTO_TEST_HKDF OFF CACHE BOOL "Test SHA-512 cryptography algorithm")
+set(TFM_CRYPTO_TEST_HKDF OFF CACHE BOOL "Test the HKDF key derivation algorithm")
+set(TFM_CRYPTO_TEST_ECDH OFF CACHE BOOL "Test the ECDH key agreement algorithm")
################################## Dependencies ################################