diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-15 23:00:31 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-16 00:26:37 +0200 |
commit | d448713e614c308305ef1bd50fcb1719d45ddf63 (patch) | |
tree | f653c747eb78358fac38e5f93f79c7cbcb272a73 /src/Volume/Cipher.h | |
parent | 8ae5a715d66dcbc598017f262089165b762f42c5 (diff) | |
download | VeraCrypt-d448713e614c308305ef1bd50fcb1719d45ddf63.tar.gz VeraCrypt-d448713e614c308305ef1bd50fcb1719d45ddf63.zip |
MacOSX: Make AESNI availability linked to compiler target and not compilation host
Diffstat (limited to 'src/Volume/Cipher.h')
-rw-r--r-- | src/Volume/Cipher.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Volume/Cipher.h b/src/Volume/Cipher.h index 18d1d2ed..061dcc38 100644 --- a/src/Volume/Cipher.h +++ b/src/Volume/Cipher.h @@ -14,8 +14,7 @@ #define TC_HEADER_Encryption_Ciphers #include "Platform/Platform.h" -#include "Crypto/config.h" - +#include "Crypto/cpu.h" namespace VeraCrypt { @@ -126,10 +125,6 @@ namespace VeraCrypt #undef TC_EXCEPTION -#if (defined (TC_ARCH_X86) || defined (TC_ARCH_X64)) && !defined (__ppc__) -# define TC_AES_HW_CPU -#endif - } #endif // TC_HEADER_Encryption_Ciphers |