From 286cbc87fff9344ff85db0efd54c41f619509c74 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Wed, 30 Oct 2013 16:19:33 +0400 Subject: fix build with internal & tomcrypt crypto libraries Signed-off-by: Vladislav Grishenko --- crypto/tomcrypt_custom.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crypto/tomcrypt_custom.h') diff --git a/crypto/tomcrypt_custom.h b/crypto/tomcrypt_custom.h index 2fb19a3..0baf6fb 100644 --- a/crypto/tomcrypt_custom.h +++ b/crypto/tomcrypt_custom.h @@ -16,6 +16,7 @@ #define LTC_MD5 #define LTC_SHA1 #define LTC_DES +#undef LTC_DES3 /* macros for various libc functions you can change for embedded targets */ #ifndef XMALLOC @@ -88,6 +89,7 @@ #define LTC_RIJNDAEL #define LTC_BLOWFISH #define LTC_DES + #define LTC_DES3 #define LTC_CAST5 #define LTC_NO_MODES @@ -163,6 +165,7 @@ /* #define LTC_TWOFISH_SMALL */ /* LTC_DES includes EDE triple-LTC_DES */ #define LTC_DES +#define LTC_DES3 #define LTC_CAST5 #define LTC_NOEKEON #define LTC_SKIPJACK -- cgit v1.2.3