summaryrefslogtreecommitdiff
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
commit01662a05d87c31680542e4ad1fa8029cf6fa330a (patch)
tree8991b14fce9776858d60b5d468caf648f41458f6 /libtomcrypt
parentb50dd9f0f8dd451095401901f441dfe1ff1d8bf4 (diff)
downloaddropbear-01662a05d87c31680542e4ad1fa8029cf6fa330a.tar.gz
more bits on ecc branch
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