VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/Volume.make
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2024-11-10 21:08:00 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2024-11-10 21:08:00 +0100
commit04c747fb2df007eddc27e515acaa91f8993a70af (patch)
treef1ecf9078e500f022d78f2441834bcaf3985ccd1 /src/Volume/Volume.make
parentfcc0c8283679c696a9938791bf6f7a3ea2921716 (diff)
downloadVeraCrypt-04c747fb2df007eddc27e515acaa91f8993a70af.tar.gz
VeraCrypt-04c747fb2df007eddc27e515acaa91f8993a70af.zip
Add support for SHA-256 x86 instrinsic for enhance performance of PBKDF2-HMAC-SHA256
Diffstat (limited to 'src/Volume/Volume.make')
-rw-r--r--src/Volume/Volume.make5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Volume/Volume.make b/src/Volume/Volume.make
index 708f28c5..4968151e 100644
--- a/src/Volume/Volume.make
+++ b/src/Volume/Volume.make
@@ -86,6 +86,11 @@ else
OBJS += ../Crypto/blake2s_SSE41.o
OBJS += ../Crypto/blake2s_SSSE3.o
endif
+ifeq "$(GCC_GTEQ_500)" "1"
+ OBJSHANI += ../Crypto/Sha2Intel.oshani
+else
+ OBJS += ../Crypto/Sha2Intel.o
+endif
else
OBJS += ../Crypto/wolfCrypt.o
endif