summaryrefslogtreecommitdiff
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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h
index 1304ce7..344835f 100644
--- a/libtomcrypt/src/headers/tomcrypt_custom.h
+++ b/libtomcrypt/src/headers/tomcrypt_custom.h
@@ -134,12 +134,18 @@
#define LTC_HMAC
-#ifdef DROPBEAR_ECDH
+#ifdef DROPBEAR_ECC
#define MECC
+#ifdef DROPBEAR_ECC_256
#define ECC256
+#endif
+#ifdef DROPBEAR_ECC_384
#define ECC384
+#endif
+#ifdef DROPBEAR_ECC_521
#define ECC521
#endif
+#endif
/* Various tidbits of modern neatoness */
#define BASE64