for first time disable aesenc for arm64
This commit is contained in:
@@ -594,6 +594,13 @@ namespace crypto
|
||||
|
||||
// AES
|
||||
#ifdef AESNI
|
||||
#ifdef ARM64AES
|
||||
void init_aesenc(void) __attribute__((constructor)){
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#define KeyExpansion256(round0,round1) \
|
||||
"pshufd $0xff, %%xmm2, %%xmm2 \n" \
|
||||
"movaps %%xmm1, %%xmm4 \n" \
|
||||
|
@@ -124,6 +124,9 @@ namespace crypto
|
||||
|
||||
|
||||
#ifdef AESNI
|
||||
#ifdef ARM64AES
|
||||
void init_aesenc(void) __attribute__((constructor));
|
||||
#endif
|
||||
class ECBCryptoAESNI
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user