tests: fix some guards

psa_crypto_helpers: to include "psa_helpers.h" as soon as CRYPTO_CLIENT
is enabled.

test_suite_psa_crypto_low_hash: add MBEDTLS_PSA_CRYPTO_C as dependency
for test functions.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
Valerio Setti 2024-02-21 14:09:02 +01:00
parent a123e7c415
commit 6f430b2923
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#include "test/helpers.h"
#if defined(MBEDTLS_PSA_CRYPTO_C)
#if defined(MBEDTLS_PSA_CRYPTO_CLIENT)
#include "test/psa_helpers.h"
#include <psa/crypto.h>
#endif

View File

@ -18,7 +18,7 @@
/* END_HEADER */
/* BEGIN_DEPENDENCIES
* depends_on:MBEDTLS_PSA_BUILTIN_HASH
* depends_on:MBEDTLS_PSA_CRYPTO_C:MBEDTLS_PSA_BUILTIN_HASH
* END_DEPENDENCIES
*/