From 8bf844c29ef40d64cba5e210b9c3b561f7054897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag=20Erik=20Gj=C3=B8rvad?= Date: Thu, 9 Jan 2025 12:17:52 +0100 Subject: [PATCH] tests: psa_crypto: Clean up configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed redundant config from psa_crypto tests Cleaned up comment Signed-off-by: Dag Erik Gjørvad --- tests/psa_crypto/prj.conf | 1 - tests/psa_crypto/tests/test_ikg_identity_key_sign_verify.c | 5 +++-- tests/psa_crypto/tests/test_kmu_write.c | 7 ++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/psa_crypto/prj.conf b/tests/psa_crypto/prj.conf index eb5d651f3fe4..be7ca65dca9a 100644 --- a/tests/psa_crypto/prj.conf +++ b/tests/psa_crypto/prj.conf @@ -13,7 +13,6 @@ CONFIG_HEAP_MEM_POOL_SIZE=8192 # Enable logging CONFIG_CONSOLE=y -CONFIG_LOG=n # Enable nordic security backend and PSA APIs CONFIG_NRF_SECURITY=y diff --git a/tests/psa_crypto/tests/test_ikg_identity_key_sign_verify.c b/tests/psa_crypto/tests/test_ikg_identity_key_sign_verify.c index 834cbfcd0ac2..1001882f9d7c 100644 --- a/tests/psa_crypto/tests/test_ikg_identity_key_sign_verify.c +++ b/tests/psa_crypto/tests/test_ikg_identity_key_sign_verify.c @@ -27,8 +27,9 @@ static psa_key_id_t identity_key_id = TFM_BUILTIN_KEY_ID_IAK; static psa_key_id_t identity_key_id = CRACEN_BUILTIN_IDENTITY_KEY_ID; #endif -/* ====================================================================== */ -/* Global variables/defines for the IKG signing tests */ +/* ====================================================================== + * Global variables/defines for the IKG signing tests + */ #define NRF_CRYPTO_TEST_IKG_TEXT_SIZE (68) #define NRF_CRYPTO_TEST_IKG_SIGNATURE_SIZE (64) diff --git a/tests/psa_crypto/tests/test_kmu_write.c b/tests/psa_crypto/tests/test_kmu_write.c index fb6f065ae059..cae0b2a2d3a5 100644 --- a/tests/psa_crypto/tests/test_kmu_write.c +++ b/tests/psa_crypto/tests/test_kmu_write.c @@ -21,14 +21,15 @@ #endif LOG_MODULE_DECLARE(app, LOG_LEVEL_DBG); -/* ====================================================================== */ -/* Global variables/defines for the kmu write test */ +/* ====================================================================== + * Global variables/defines for the kmu write test + */ static psa_key_handle_t key_handle; #define KMU_SLOT_NUM 125 /* *This is a sample public key for testing purposes only. - *Uses sample key to ensure key generation is causing issues. + *Uses sample key to ensure key generation is not the cause of an issue. */ static uint8_t m_pub_key[32] = { 0x29, 0x06, 0xA6, 0xA5, 0x5F, 0x9E, 0xB0, 0x5E,