AES-NI/NEON detection for iOS
Requires 64-bit CPU
This commit is contained in:
parent
1ff45020e2
commit
0f2887265c
3 changed files with 22 additions and 0 deletions
|
@ -18,6 +18,10 @@
|
|||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <arm_neon.h>
|
||||
#endif
|
||||
|
||||
#define Te1_r(x) ZT_ROR32(Te0[x], 8U)
|
||||
#define Te2_r(x) ZT_ROR32(Te0[x], 16U)
|
||||
#define Te3_r(x) ZT_ROR32(Te0[x], 24U)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue