summaryrefslogtreecommitdiff
path: root/crypto/tomcrypt_custom.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-10-30 16:19:33 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-10-30 16:19:44 +0400
commit286cbc87fff9344ff85db0efd54c41f619509c74 (patch)
tree6e356ee6a15835903b91ba869f7e953a7e5838c6 /crypto/tomcrypt_custom.h
parent68b7256c31e4efcb613854d73571edcca13fcd6e (diff)
downloadaccel-ppp-286cbc87fff9344ff85db0efd54c41f619509c74.tar.gz
accel-ppp-286cbc87fff9344ff85db0efd54c41f619509c74.zip
fix build with internal & tomcrypt crypto libraries
Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
Diffstat (limited to 'crypto/tomcrypt_custom.h')
-rw-r--r--crypto/tomcrypt_custom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/tomcrypt_custom.h b/crypto/tomcrypt_custom.h
index 2fb19a3f..0baf6fb2 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