Update SHA and MD5 dependencies in the SSL tests

The same elements are now also used when MBEDTLS_USE_PSA_CRYPTO
is defined and respective SHA / MD5 defines are missing.
A new set of macros added in #6065 is used to reflect these dependencies.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2022-08-17 16:11:04 -04:00
parent 25f271557b
commit 7bb8bab457
2 changed files with 491 additions and 489 deletions

File diff suppressed because it is too large Load diff

View file

@ -11,10 +11,12 @@
#include "mbedtls/ssl_cache.h"
#endif
#include <psa/crypto.h>
#if defined(MBEDTLS_USE_PSA_CRYPTO)
#include "psa/crypto.h"
#endif
#include <legacy_or_psa.h>
#include <constant_time_internal.h>
#include <test/constant_flow.h>
enum