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/Crypto/cpu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Crypto/cpu.h') 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; -- cgit v1.2.3