mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Make missed SHA internal functions static
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
38e64fbce0
commit
eb97f2a50f
@ -414,7 +414,7 @@ static size_t mbedtls_internal_sha256_process_many_a64_crypto(
|
||||
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 @@ int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ctx,
|
||||
(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 {
|
||||
|
@ -551,7 +551,7 @@ static size_t mbedtls_internal_sha512_process_many_a64_crypto(
|
||||
return processed;
|
||||
}
|
||||
|
||||
int mbedtls_internal_sha512_process_a64_crypto(mbedtls_sha512_context *ctx,
|
||||
static int mbedtls_internal_sha512_process_a64_crypto(mbedtls_sha512_context *ctx,
|
||||
const unsigned char data[SHA512_BLOCK_SIZE])
|
||||
{
|
||||
return (mbedtls_internal_sha512_process_many_a64_crypto(ctx, data,
|
||||
@ -579,7 +579,7 @@ int mbedtls_internal_sha512_process_a64_crypto(mbedtls_sha512_context *ctx,
|
||||
|
||||
#if !defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
|
||||
|
||||
int mbedtls_internal_sha512_process_c(mbedtls_sha512_context *ctx,
|
||||
static int mbedtls_internal_sha512_process_c(mbedtls_sha512_context *ctx,
|
||||
const unsigned char data[SHA512_BLOCK_SIZE])
|
||||
{
|
||||
int i;
|
||||
|
Loading…
x
Reference in New Issue
Block a user