Make missed SHA internal functions static
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
diff --git a/tf-psa-crypto/drivers/builtin/src/sha256.c b/tf-psa-crypto/drivers/builtin/src/sha256.c
index aff626f..95bcf69 100644
--- a/tf-psa-crypto/drivers/builtin/src/sha256.c
+++ b/tf-psa-crypto/drivers/builtin/src/sha256.c
@@ -414,7 +414,7 @@
return processed;
}
-int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ctx,
+static int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ctx,
const unsigned char data[SHA256_BLOCK_SIZE])
{
return (mbedtls_internal_sha256_process_many_a64_crypto(ctx, data,
@@ -467,7 +467,7 @@
(d) += local.temp1; (h) = local.temp1 + local.temp2; \
} while (0)
-int mbedtls_internal_sha256_process_c(mbedtls_sha256_context *ctx,
+static int mbedtls_internal_sha256_process_c(mbedtls_sha256_context *ctx,
const unsigned char data[SHA256_BLOCK_SIZE])
{
struct {