mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-29 00:18:06 -04:00
Respect -Os for everything except XTS
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
9bb7e6f4ce
commit
bd1add94c0
@ -173,7 +173,6 @@ rounds_10:
|
||||
/* Two rounds of AESCE decryption */
|
||||
#define AESCE_DECRYPT_ROUND_X2 AESCE_DECRYPT_ROUND; AESCE_DECRYPT_ROUND
|
||||
|
||||
MBEDTLS_OPTIMIZE_FOR_PERFORMANCE
|
||||
static uint8x16_t aesce_decrypt_block(uint8x16_t block,
|
||||
unsigned char *keys,
|
||||
int rounds)
|
||||
@ -210,7 +209,6 @@ rounds_10:
|
||||
/*
|
||||
* AES-ECB block en(de)cryption
|
||||
*/
|
||||
MBEDTLS_OPTIMIZE_FOR_PERFORMANCE
|
||||
int mbedtls_aesce_crypt_ecb(mbedtls_aes_context *ctx,
|
||||
int mode,
|
||||
const unsigned char input[16],
|
||||
|
@ -326,7 +326,6 @@ int mbedtls_ccm_update_ad(mbedtls_ccm_context *ctx,
|
||||
return 0;
|
||||
}
|
||||
|
||||
MBEDTLS_OPTIMIZE_FOR_PERFORMANCE
|
||||
int mbedtls_ccm_update(mbedtls_ccm_context *ctx,
|
||||
const unsigned char *input, size_t input_len,
|
||||
unsigned char *output, size_t output_size,
|
||||
|
@ -417,7 +417,6 @@ static int gcm_mask(mbedtls_gcm_context *ctx,
|
||||
return 0;
|
||||
}
|
||||
|
||||
MBEDTLS_OPTIMIZE_FOR_PERFORMANCE
|
||||
int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
|
||||
const unsigned char *input, size_t input_length,
|
||||
unsigned char *output, size_t output_size,
|
||||
|
Loading…
x
Reference in New Issue
Block a user