VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-15 23:00:31 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-16 00:26:37 +0200
commitd448713e614c308305ef1bd50fcb1719d45ddf63 (patch)
treef653c747eb78358fac38e5f93f79c7cbcb272a73 /src/Crypto
parent8ae5a715d66dcbc598017f262089165b762f42c5 (diff)
downloadVeraCrypt-d448713e614c308305ef1bd50fcb1719d45ddf63.tar.gz
VeraCrypt-d448713e614c308305ef1bd50fcb1719d45ddf63.zip
MacOSX: Make AESNI availability linked to compiler target and not compilation host
Diffstat (limited to 'src/Crypto')
-rw-r--r--src/Crypto/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Crypto/cpu.h b/src/Crypto/cpu.h
index e4e05a0c..58729f32 100644
--- a/src/Crypto/cpu.h
+++ b/src/Crypto/cpu.h
@@ -209,6 +209,7 @@ extern "C" {
#endif
#define CRYPTOPP_CPUID_AVAILABLE
+#define TC_AES_HW_CPU
// these should not be used directly
extern volatile int g_x86DetectionDone;