summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-26 01:35:22 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-26 01:35:22 +0800
commit73e22c115c7aa5604c6a2135a5d2c1bc38161cb1 (patch)
tree3804dbbee79b860aafe8db7a81780bbd8fa7c6f3 /libtomcrypt
parent9be0d6b53d6b85a8f273ee28876405fbca49b9fd (diff)
refactor kexdh code a bit, start working on ecdh etc
--HG-- branch : ecc
Diffstat (limited to 'libtomcrypt')
-rw-r--r--libtomcrypt/src/headers/tomcrypt_custom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h
index acc149a..1304ce7 100644
--- a/libtomcrypt/src/headers/tomcrypt_custom.h
+++ b/libtomcrypt/src/headers/tomcrypt_custom.h
@@ -134,6 +134,13 @@
#define LTC_HMAC
+#ifdef DROPBEAR_ECDH
+#define MECC
+#define ECC256
+#define ECC384
+#define ECC521
+#endif
+
/* Various tidbits of modern neatoness */
#define BASE64