diff --git a/library/aes.c b/library/aes.c index 6ec4d78086..977b3de2d8 100644 --- a/library/aes.c +++ b/library/aes.c @@ -1083,8 +1083,8 @@ int mbedtls_aes_crypt_cbc(mbedtls_aes_context *ctx, goto exit; } /* Avoid using the NEON implementation of mbedtls_xor. Because of the dependency on - * the result for the next block in CBC, and the cost of transferring that data from - * NEON registers, NEON is slower on aarch64. */ + * the result for the next block in CBC, and the cost of transferring that data from + * NEON registers, NEON is slower on aarch64. */ mbedtls_xor_no_simd(output, output, iv, 16); memcpy(iv, temp, 16); @@ -1130,7 +1130,7 @@ typedef unsigned char mbedtls_be128[16]; */ MBEDTLS_OPTIMIZE_ALWAYS static inline void mbedtls_gf128mul_x_ble(unsigned char r[16], - const unsigned char x[16]) + const unsigned char x[16]) { uint64_t a, b, ra, rb; diff --git a/library/common.h b/library/common.h index b56ad580c2..c477e1d373 100644 --- a/library/common.h +++ b/library/common.h @@ -168,7 +168,10 @@ inline void mbedtls_xor(unsigned char *r, const unsigned char *a, const unsigned * \param b Pointer to input (buffer of at least \p n bytes) * \param n Number of bytes to process. */ -static inline void mbedtls_xor_no_simd(unsigned char *r, const unsigned char *a, const unsigned char *b, size_t n) +static inline void mbedtls_xor_no_simd(unsigned char *r, + const unsigned char *a, + const unsigned char *b, + size_t n) { size_t i = 0; #if defined(MBEDTLS_EFFICIENT_UNALIGNED_ACCESS)