From b0bb124772271237a4e1bbe6955d3116ffa8d623 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 26 Oct 2014 09:03:14 +0100 Subject: Bootloader: reduce the size of Serpent implementation when used as the single cipher. We need this because to save space for the new features to come. --- src/Crypto/Serpent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Crypto') 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 @@ -835,7 +835,7 @@ 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) { @@ -878,7 +878,7 @@ start: 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) { @@ -934,4 +934,4 @@ start: out[3] = LE32(e); } -#endif // TC_MINIMIZE_CODE_SIZE && !TC_WINDOWS_BOOT_SERPENT +#endif // TC_MINIMIZE_CODE_SIZE -- cgit v1.2.3