Skip to content

Commit

Permalink
tests: psa:crypto: Clean up configs
Browse files Browse the repository at this point in the history
Removed redundant config from psa_crypto tests
Cleaned up comment

Signed-off-by: Dag Erik Gjørvad <[email protected]>
  • Loading branch information
degjorva committed Jan 9, 2025
1 parent 6e0cb3a commit 1a2e675
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/psa_crypto/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/psa_crypto/tests/test_ikg_identity_key_sign_verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ 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)
Expand Down
5 changes: 3 additions & 2 deletions tests/psa_crypto/tests/test_kmu_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@

LOG_MODULE_DECLARE(app, LOG_LEVEL_DBG);
/* ====================================================================== */
/* Global variables/defines for the kmu write test */
/* Global variables/defines for the kmu write test
*/

Check warning on line 26 in tests/psa_crypto/tests/test_kmu_write.c

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

BLOCK_COMMENT_STYLE

tests/psa_crypto/tests/test_kmu_write.c:26 Block comments should align the * on each line

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,
Expand Down

0 comments on commit 1a2e675

Please sign in to comment.