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.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h
index 440168b..928f54e 100644
--- a/libtomcrypt/src/headers/tomcrypt_custom.h
+++ b/libtomcrypt/src/headers/tomcrypt_custom.h
@@ -90,15 +90,15 @@
/* #define LTC_NO_BSWAP */
-#ifdef DROPBEAR_BLOWFISH_CBC
+#ifdef DROPBEAR_BLOWFISH
#define BLOWFISH
#endif
-#ifdef DROPBEAR_AES_CBC
+#ifdef DROPBEAR_AES
#define RIJNDAEL
#endif
-#ifdef DROPBEAR_TWOFISH_CBC
+#ifdef DROPBEAR_TWOFISH
#define TWOFISH
/* enabling just TWOFISH_SMALL will make the binary ~1kB smaller, turning on
@@ -108,12 +108,16 @@
/*#define TWOFISH_TABLES*/
#endif
-#ifdef DROPBEAR_3DES_CBC
+#ifdef DROPBEAR_3DES
#define DES
#endif
#define LTC_CBC_MODE
+#ifdef DROPBEAR_ENABLE_CTR_MODE
+#define LTC_CTR_MODE
+#endif
+
#if defined(DROPBEAR_DSS) && defined(DSS_PROTOK)
#define SHA512
#endif