Crypto: Disable SHA-1 by default
SHA-1 is considered to a weak message digest, so this patch changes it
to disabled by default. Makes corresponding updates to the tests.
Change-Id: Idfb7f1b33d46b9ba553a327e4ed83320e728870b
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
diff --git a/platform/ext/common/tfm_mbedcrypto_config.h b/platform/ext/common/tfm_mbedcrypto_config.h
index a7e5ddf..674430b 100644
--- a/platform/ext/common/tfm_mbedcrypto_config.h
+++ b/platform/ext/common/tfm_mbedcrypto_config.h
@@ -1776,7 +1776,7 @@
* on it, and considering stronger message digests instead.
*
*/
-#define MBEDTLS_SHA1_C
+//#define MBEDTLS_SHA1_C
/**
* \def MBEDTLS_SHA256_C