summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/headers/tomcrypt_custom.h
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/src/headers/tomcrypt_custom.h')
-rw-r--r--libtomcrypt/src/headers/tomcrypt_custom.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h
index 540514e..4bf668f 100644
--- a/libtomcrypt/src/headers/tomcrypt_custom.h
+++ b/libtomcrypt/src/headers/tomcrypt_custom.h
@@ -111,7 +111,8 @@
#ifdef DROPBEAR_3DES_CBC
#define DES
#endif
-#define CBC
+
+#define LTC_CBC_MODE
#if defined(DROPBEAR_DSS) && defined(DSS_PROTOK)
#define SHA512
@@ -123,12 +124,12 @@
#define MD5
#endif
-#define HMAC
+#define LTC_HMAC
/* Various tidbits of modern neatoness */
#define BASE64
-/* default no functions */
+/* default no pthread functions */
#define LTC_MUTEX_GLOBAL(x)
#define LTC_MUTEX_PROTO(x)
#define LTC_MUTEX_TYPE(x)
@@ -137,8 +138,6 @@
#define LTC_MUTEX_UNLOCK(x)
#define FORTUNA_POOLS 0
-#endif
-
/* Debuggers */
/* define this if you use Valgrind, note: it CHANGES the way SOBER-128 and RC4 work (see the code) */