mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
for first time disable aesenc for arm64
This commit is contained in:
parent
d9b8731ddc
commit
66de7ad049
3 changed files with 16 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue