From e5a9e9239b0cf1001d9b91497b4ff3ab4a190b1f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 4 Oct 2016 13:21:48 +0200 Subject: Crypto: Use SIMD optimized Serpent implementation from Botan. 2.5x speed gain factor. Update credits and copyrights notice. --- src/Common/Crypto.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Common/Crypto.h') diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h index 6a943edf..d654b0c4 100644 --- a/src/Common/Crypto.h +++ b/src/Common/Crypto.h @@ -193,7 +193,11 @@ typedef struct #endif #include "Aes_hw_cpu.h" -#include "Serpent.h" +#if !defined (TC_WINDOWS_BOOT) +# include "SerpentFast.h" +#else +# include "Serpent.h" +#endif #include "Twofish.h" #include "Rmd160.h" -- cgit v1.2.3