VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/SerpentFast_simd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/SerpentFast_simd.cpp')
-rw-r--r--src/Crypto/SerpentFast_simd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Crypto/SerpentFast_simd.cpp b/src/Crypto/SerpentFast_simd.cpp
index d5d5d65b..6e5fd49b 100644
--- a/src/Crypto/SerpentFast_simd.cpp
+++ b/src/Crypto/SerpentFast_simd.cpp
@@ -217,9 +217,9 @@ typedef SIMD_4x32 SIMD_32;
B0.rotate_right(13); \
} while(0);
-
+#if (!defined (DEBUG) || !defined (TC_WINDOWS_DRIVER))
/*
* SIMD Serpent Encryption of 4 blocks in parallel
*/
extern "C" void serpent_simd_encrypt_blocks_4(const unsigned __int8 in[], unsigned __int8 out[], unsigned __int32* round_key)
@@ -329,9 +329,9 @@ extern "C" void serpent_simd_decrypt_blocks_4(const unsigned __int8 in[], unsign
B1.store_le(out + 16);
B2.store_le(out + 32);
B3.store_le(out + 48);
}
-
+#endif
#undef key_xor
#undef transform
#undef i_transform