Replace hash_info macro with MD macro
Now the MD macro also accounts for PSA-only hashes.
Just a search-and-replace, plus manually removing the definition in
hash_info.h.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function
index 6f9e544..fb71b83 100644
--- a/tests/suites/test_suite_ssl.function
+++ b/tests/suites/test_suite_ssl.function
@@ -1974,7 +1974,7 @@
data_t *transcript,
data_t *binder_expected)
{
- unsigned char binder[MBEDTLS_HASH_MAX_SIZE];
+ unsigned char binder[MBEDTLS_MD_MAX_SIZE];
/* Double-check that we've passed sane parameters. */
psa_algorithm_t alg = (psa_algorithm_t) hash_alg;
@@ -2108,7 +2108,7 @@
data_t *input,
data_t *expected)
{
- unsigned char secret_new[MBEDTLS_HASH_MAX_SIZE];
+ unsigned char secret_new[MBEDTLS_MD_MAX_SIZE];
PSA_INIT();