diff libtomcrypt/src/headers/tomcrypt_custom.h @ 756:bf9dc2d9c2b1 ecc

more bits on ecc branch
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 Mar 2013 00:38:03 +0800
parents b07eb3dc23ec
children 76fba0856749
line wrap: on
line diff
--- a/libtomcrypt/src/headers/tomcrypt_custom.h	Tue Mar 26 01:35:22 2013 +0800
+++ b/libtomcrypt/src/headers/tomcrypt_custom.h	Wed Mar 27 00:38:03 2013 +0800
@@ -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