mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 05:42:35 +00:00
Only force O2 when hw acceleration available
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
b2814bd089
commit
4ad81ccdae
@ -1128,7 +1128,9 @@ typedef unsigned char mbedtls_be128[16];
|
|||||||
* for machine endianness and hence works correctly on both big and little
|
* for machine endianness and hence works correctly on both big and little
|
||||||
* endian machines.
|
* endian machines.
|
||||||
*/
|
*/
|
||||||
|
#if defined(MBEDTLS_AESCE_C) || defined(MBEDTLS_AESNI_C)
|
||||||
MBEDTLS_OPTIMIZE_FOR_PERFORMANCE
|
MBEDTLS_OPTIMIZE_FOR_PERFORMANCE
|
||||||
|
#endif
|
||||||
static inline void mbedtls_gf128mul_x_ble(unsigned char r[16],
|
static inline void mbedtls_gf128mul_x_ble(unsigned char r[16],
|
||||||
const unsigned char x[16])
|
const unsigned char x[16])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user