tests: arm_thread_swap_tz: Explicitly set the TFM_PROFILE
to NOT_SET, in case the default is changed. Add print of failing error code for psa_hash_compute(). Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
This commit is contained in:
parent
4a26f54b30
commit
920028e03b
2 changed files with 2 additions and 1 deletions
|
@ -10,3 +10,4 @@ CONFIG_BUILD_WITH_TFM=y
|
|||
CONFIG_TFM_IPC=y
|
||||
CONFIG_FPU=y
|
||||
CONFIG_FPU_SHARING=y
|
||||
CONFIG_TFM_PROFILE_TYPE_NOT_SET=y # Needed for SHA512 functionality
|
||||
|
|
|
@ -30,7 +30,7 @@ static void do_hash(char *hash)
|
|||
psa_status_t status = psa_hash_compute(PSA_ALG_SHA_512, dummy_string,
|
||||
sizeof(dummy_string), hash, HASH_LEN, &len);
|
||||
|
||||
zassert_equal(PSA_SUCCESS, status, "psa_hash_compute_fail\n");
|
||||
zassert_equal(PSA_SUCCESS, status, "psa_hash_compute_fail: %d\n", status);
|
||||
zassert_equal(HASH_LEN, len, "hash length not correct\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue