VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Serpent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Crypto/Serpent.c')
-rw-r--r--src/Crypto/Serpent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Crypto/Serpent.c b/src/Crypto/Serpent.c
index 91a4eadf..0d4ab6c5 100644
--- a/src/Crypto/Serpent.c
+++ b/src/Crypto/Serpent.c
@@ -834,9 +834,9 @@ void serpent_encrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock,
}
#endif // TC_MINIMIZE_CODE_SIZE
-#if !defined (TC_MINIMIZE_CODE_SIZE) || defined (TC_WINDOWS_BOOT_SERPENT)
+#if !defined (TC_MINIMIZE_CODE_SIZE)
void serpent_decrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks)
{
unsigned __int32 a, b, c, d, e;
@@ -877,9 +877,9 @@ start:
out[2] = LE32(b);
out[3] = LE32(e);
}
-#else // TC_MINIMIZE_CODE_SIZE && !TC_WINDOWS_BOOT_SERPENT
+#else // TC_MINIMIZE_CODE_SIZE
static void ILTf (uint32 *a, uint32 *b, uint32 *c, uint32 *d)
{
*c = rotrFixed(*c, 22);
@@ -933,5 +933,5 @@ start:
out[2] = LE32(b);
out[3] = LE32(e);
}
-#endif // TC_MINIMIZE_CODE_SIZE && !TC_WINDOWS_BOOT_SERPENT
+#endif // TC_MINIMIZE_CODE_SIZE