1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 02:58:02 -06:00

Linux/FreeBSD: Enable building without AESNI support by setting environment variable DISABLE_AESNI to 1 during build or passing NOAESNI=1 to make command

This comes following Github issue #892 and which should be solved thanks to this.
This commit is contained in:
Mounir IDRASSI
2022-02-13 18:41:18 +01:00
parent be5bcbf42f
commit d417b2806c
4 changed files with 32 additions and 7 deletions

View File

@@ -209,7 +209,9 @@ extern "C" {
#endif
#define CRYPTOPP_CPUID_AVAILABLE
#ifndef CRYPTOPP_DISABLE_AESNI
#define TC_AES_HW_CPU
#endif
// these should not be used directly
extern volatile int g_x86DetectionDone;