mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
parent
b795a93fa8
commit
fb4533b0a9
@ -20,9 +20,12 @@
|
|||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
|
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#pragma GCC target("neon,crypto,aes")
|
#pragma GCC target("+simd+crypto")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ARM_FEATURE_CRYPTO
|
||||||
|
#define __ARM_FEATURE_CRYPTO 1
|
||||||
|
#endif
|
||||||
#ifndef __ARM_FEATURE_AES
|
#ifndef __ARM_FEATURE_AES
|
||||||
#define __ARM_FEATURE_AES 1
|
#define __ARM_FEATURE_AES 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -20,9 +20,12 @@
|
|||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
|
#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#pragma GCC target("neon,crypto,aes")
|
#pragma GCC target("+simd+crypto")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ARM_FEATURE_CRYPTO
|
||||||
|
#define __ARM_FEATURE_CRYPTO 1
|
||||||
|
#endif
|
||||||
#ifndef __ARM_FEATURE_AES
|
#ifndef __ARM_FEATURE_AES
|
||||||
#define __ARM_FEATURE_AES 1
|
#define __ARM_FEATURE_AES 1
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user