Remove macro that's no longer used
It was only used in test_suite_pk which was fixed to no longer compute
hashes in a temporary buffer.
Also, it's not entirely clear is this macro was really a good idea:
perhaps it's better for each user to have an explicit #if
defined(MBEDTSL_USE_PSA_CRYPTO) and use either MBEDTLS_MD_MAX_SIZE or
PSA_HASH_MAX_SIZE in each branch of that #if.
So, removing it for the time being.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
diff --git a/library/use_psa_helpers.h b/library/use_psa_helpers.h
index e9a1335..4f990a8 100644
--- a/library/use_psa_helpers.h
+++ b/library/use_psa_helpers.h
@@ -57,11 +57,4 @@
#define MBEDTLS_USE_PSA_WANT_ALG_SHA_512
#endif
-/* Hash information */
-#if defined(MBEDTLS_USE_PSA_CRYPTO)
-#define MBEDTLS_USE_PSA_MD_MAX_SIZE PSA_HASH_MAX_SIZE
-#else
-#define MBEDTLS_USE_PSA_MD_MAX_SIZE MBEDTLS_MD_MAX_SIZE
-#endif
-
#endif /* MBEDTLS_USE_PSA_HELPERS_H */