From f88a68cf514d68adf2cf63e0f22fc0ffb8faef2b Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Thu, 15 Jun 2023 18:46:41 +0100 Subject: [PATCH] Use MBEDTLS_OPTIMIZE_ALWAYS in aesce Signed-off-by: Dave Rodgman --- library/aesce.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/aesce.c b/library/aesce.c index e21e3b39da..6b493a2729 100644 --- a/library/aesce.c +++ b/library/aesce.c @@ -101,6 +101,7 @@ int mbedtls_aesce_has_support(void) #endif } +MBEDTLS_OPTIMIZE_ALWAYS static uint8x16_t aesce_encrypt_block(uint8x16_t block, unsigned char *keys, int rounds) @@ -167,6 +168,7 @@ rounds_10: return block; } +MBEDTLS_OPTIMIZE_ALWAYS static uint8x16_t aesce_decrypt_block(uint8x16_t block, unsigned char *keys, int rounds) @@ -249,6 +251,7 @@ rounds_10: /* * AES-ECB block en(de)cryption */ +MBEDTLS_OPTIMIZE_ALWAYS int mbedtls_aesce_crypt_ecb(mbedtls_aes_context *ctx, int mode, const unsigned char input[16],