summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-27 00:38:03 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-27 00:38:03 +0800
commit74cad1612f577fd067ca900ab06517c2a260bbe8 (patch)
tree84cfefd539adb70d1a3eefb1517a0f4bc7aec006 /libtomcrypt
parent73e22c115c7aa5604c6a2135a5d2c1bc38161cb1 (diff)
more bits on ecc branch
--HG-- branch : ecc
Diffstat (limited to 'libtomcrypt')
-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