Use MBEDTLS_OPTIMIZE_ALWAYS for gcm

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-06-15 18:53:35 +01:00
parent 9149c32192
commit 660cd378e1

View file

@ -417,6 +417,7 @@ static int gcm_mask(mbedtls_gcm_context *ctx,
return 0; return 0;
} }
MBEDTLS_OPTIMIZE_ALWAYS
int mbedtls_gcm_update(mbedtls_gcm_context *ctx, int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
const unsigned char *input, size_t input_length, const unsigned char *input, size_t input_length,
unsigned char *output, size_t output_size, unsigned char *output, size_t output_size,