Merge if blocks in SHA256/512 code

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2024-07-31 15:32:15 +01:00
parent 7070d26fa0
commit 38e64fbce0
2 changed files with 0 additions and 9 deletions

View File

@ -552,10 +552,6 @@ int mbedtls_internal_sha256_process_c(mbedtls_sha256_context *ctx,
return 0; return 0;
} }
#endif /* !MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY */
#if !defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY)
static size_t mbedtls_internal_sha256_process_many_c( static size_t mbedtls_internal_sha256_process_many_c(
mbedtls_sha256_context *ctx, const uint8_t *data, size_t len) mbedtls_sha256_context *ctx, const uint8_t *data, size_t len)
{ {

View File

@ -671,11 +671,6 @@ int mbedtls_internal_sha512_process_c(mbedtls_sha512_context *ctx,
return 0; return 0;
} }
#endif /* !MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY */
#if !defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY)
static size_t mbedtls_internal_sha512_process_many_c( static size_t mbedtls_internal_sha512_process_many_c(
mbedtls_sha512_context *ctx, const uint8_t *data, size_t len) mbedtls_sha512_context *ctx, const uint8_t *data, size_t len)
{ {