summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-29 13:53:31 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-29 13:53:31 +0000
commit511f6555c98634d8d962f65e8d5ff3ba690e0bf9 (patch)
tree83dc9f384e04071da685d43688e54dc1bb5d874e /libtomcrypt/src
parent049fcf1ac572e1a13dc1281c26bbf3512c533fb7 (diff)
- Add Counter Mode support
--HG-- extra : convert_revision : 5225162bdf32d70b58b6d3ae375a290326c59f3a
Diffstat (limited to 'libtomcrypt/src')
-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