From d448713e614c308305ef1bd50fcb1719d45ddf63 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 15 Aug 2021 23:00:31 +0200 Subject: MacOSX: Make AESNI availability linked to compiler target and not compilation host --- src/Volume/Cipher.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/Volume/Cipher.h') 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 -- cgit v1.2.3