VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Crypto.c')
-rw-r--r--src/Common/Crypto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index e44ad1ba..808c8af7 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -247,7 +247,7 @@ void EncipherBlocks (int cipher, void *dataPtr, void *ks, size_t blockCount)
247#endif 247#endif
248 } 248 }
249#endif 249#endif
250#if CRYPTOPP_BOOL_X64 && !defined(_UEFI) 250#if CRYPTOPP_BOOL_X64
251 else if (cipher == TWOFISH) { 251 else if (cipher == TWOFISH) {
252 twofish_encrypt_blocks(ks, data, data, (uint32) blockCount); 252 twofish_encrypt_blocks(ks, data, data, (uint32) blockCount);
253 } 253 }
@@ -347,7 +347,7 @@ void DecipherBlocks (int cipher, void *dataPtr, void *ks, size_t blockCount)
347#endif 347#endif
348 } 348 }
349#endif 349#endif
350#if CRYPTOPP_BOOL_X64 && !defined(_UEFI) 350#if CRYPTOPP_BOOL_X64
351 else if (cipher == TWOFISH) { 351 else if (cipher == TWOFISH) {
352 twofish_decrypt_blocks(ks, data, data, (uint32) blockCount); 352 twofish_decrypt_blocks(ks, data, data, (uint32) blockCount);
353 } 353 }
@@ -428,7 +428,7 @@ BOOL CipherSupportsIntraDataUnitParallelization (int cipher)
428#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE && !defined (_UEFI) 428#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE && !defined (_UEFI)
429 || (cipher == SERPENT && HasSSE2()) 429 || (cipher == SERPENT && HasSSE2())
430#endif 430#endif
431#if CRYPTOPP_BOOL_X64 && !defined(_UEFI) 431#if CRYPTOPP_BOOL_X64
432 || (cipher == TWOFISH) 432 || (cipher == TWOFISH)
433#endif 433#endif
434 ; 434 ;