Fix code stlye

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2024-08-01 13:06:01 +01:00
parent eb97f2a50f
commit 15129195a6
2 changed files with 6 additions and 6 deletions

View File

@ -415,7 +415,7 @@ static size_t mbedtls_internal_sha256_process_many_a64_crypto(
}
static int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ctx,
const unsigned char data[SHA256_BLOCK_SIZE])
const unsigned char data[SHA256_BLOCK_SIZE])
{
return (mbedtls_internal_sha256_process_many_a64_crypto(ctx, data,
SHA256_BLOCK_SIZE) ==
@ -468,7 +468,7 @@ static int mbedtls_internal_sha256_process_a64_crypto(mbedtls_sha256_context *ct
} while (0)
static int mbedtls_internal_sha256_process_c(mbedtls_sha256_context *ctx,
const unsigned char data[SHA256_BLOCK_SIZE])
const unsigned char data[SHA256_BLOCK_SIZE])
{
struct {
uint32_t temp1, temp2, W[64];
@ -600,7 +600,7 @@ static size_t mbedtls_internal_sha256_process_many(mbedtls_sha256_context *ctx,
}
static int mbedtls_internal_sha256_process(mbedtls_sha256_context *ctx,
const unsigned char data[SHA256_BLOCK_SIZE])
const unsigned char data[SHA256_BLOCK_SIZE])
{
if (mbedtls_a64_crypto_sha256_has_support()) {
return mbedtls_internal_sha256_process_a64_crypto(ctx, data);

View File

@ -552,7 +552,7 @@ static size_t mbedtls_internal_sha512_process_many_a64_crypto(
}
static int mbedtls_internal_sha512_process_a64_crypto(mbedtls_sha512_context *ctx,
const unsigned char data[SHA512_BLOCK_SIZE])
const unsigned char data[SHA512_BLOCK_SIZE])
{
return (mbedtls_internal_sha512_process_many_a64_crypto(ctx, data,
SHA512_BLOCK_SIZE) ==
@ -580,7 +580,7 @@ static int mbedtls_internal_sha512_process_a64_crypto(mbedtls_sha512_context *ct
#if !defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
static int mbedtls_internal_sha512_process_c(mbedtls_sha512_context *ctx,
const unsigned char data[SHA512_BLOCK_SIZE])
const unsigned char data[SHA512_BLOCK_SIZE])
{
int i;
struct {
@ -719,7 +719,7 @@ static size_t mbedtls_internal_sha512_process_many(mbedtls_sha512_context *ctx,
}
static int mbedtls_internal_sha512_process(mbedtls_sha512_context *ctx,
const unsigned char data[SHA512_BLOCK_SIZE])
const unsigned char data[SHA512_BLOCK_SIZE])
{
if (mbedtls_a64_crypto_sha512_has_support()) {
return mbedtls_internal_sha512_process_a64_crypto(ctx, data);