Valerio Setti 40859ac3b6 fix PR9302 backporting issues
- psa_crypto_helpers.h

mbedtls-3.6 branch misses some crypto client changes that has
been done in the development branch since the LTS release. Therefore
CRYPTO_C guard here is more accurate than CRYPTO_CLIENT.

- entropy.h

In the development branch MBEDTLS_ENTROPY_BLOCK_SIZE is defined
when PSA_WANT_ALG_SHA_[256/512] is defined while in the mbedtls-3.6
branch is guarded by MBEDTLS_MD_CAN_SHA[256/512] which is slightly
different. Since MBEDTLS_ENTROPY_BLOCK_SIZE is used in some tests's
data files, we need to have it defined also if the related test
is skipped. Therefore we add the PSA_WANT_ALG_SHA conditions together
with the MBEDTLS_MD_CAN_SHA ones to mimic the development behavior.

Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
2024-10-22 13:31:19 +02:00
..
drivers Fix failures in psa_cryto_driver_wrappers suite 2024-04-04 12:57:06 +02:00
arguments.h update headers 2023-11-02 19:47:20 +00:00
asn1_helpers.h update headers 2023-11-02 19:47:20 +00:00
bignum_codepath_check.h Misc improvements to comments 2024-09-03 10:10:18 +02:00
bignum_helpers.h Revert accidental formatting change 2024-02-02 17:59:26 +00:00
certs.h update headers 2023-11-02 19:47:20 +00:00
constant_flow.h update headers 2023-11-02 19:47:20 +00:00
fake_external_rng_for_test.h update headers 2023-11-02 19:47:20 +00:00
helpers.h Fix typo / improve documentation for test step fns 2024-02-09 14:41:24 +00:00
macros.h tests: fix calloc() argument list (gcc-14 fix) 2024-01-25 21:29:56 +00:00
memory.h Disable poisoning with PSA_CRYPTO_DRIVER_TEST 2024-01-31 14:38:15 +00:00
psa_crypto_helpers.h fix PR9302 backporting issues 2024-10-22 13:31:19 +02:00
psa_exercise_key.h Document unsupported concurrency scenario in psa_exercise_key 2024-03-14 17:51:09 +00:00
psa_helpers.h update headers 2023-11-02 19:47:20 +00:00
psa_memory_poisoning_wrappers.h Remove the manually written poisoning wrapper 2024-01-15 19:22:15 +01:00
psa_test_wrappers.h Update PSA wrappers 2024-08-06 13:12:06 +02:00
random.h update headers 2023-11-02 19:47:20 +00:00
ssl_helpers.h Add ALPN checking when accepting early data 2024-03-15 12:12:15 +00:00
threading_helpers.h Fix style issues 2024-02-01 12:44:01 +00:00