summaryrefslogtreecommitdiff
path: root/libtomcrypt/src/headers/tomcrypt_custom.h
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
commitb50dd9f0f8dd451095401901f441dfe1ff1d8bf4 (patch)
tree3c1be68d7fc5e0a76314efc76b6c1b60604236d6 /libtomcrypt/src/headers/tomcrypt_custom.h
parent97c2588e7f15ecbd92d08d7c29e65bad76aef344 (diff)
downloaddropbear-b50dd9f0f8dd451095401901f441dfe1ff1d8bf4.tar.gz
refactor kexdh code a bit, start working on ecdh etc
Diffstat (limited to 'libtomcrypt/src/headers/tomcrypt_custom.h')
-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