diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-10-21 22:57:21 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-10-21 22:57:21 +0800 |
commit | 8eefb092c83f8f89f4d5574e4a05799eb9df3de8 (patch) | |
tree | 38ab731e4c38f1e287c187a9ca14ea73a92f9434 /libtomcrypt/src/headers/tomcrypt_custom.h | |
parent | 3d733a16e9ee856a45a1fbd9a1b48005d78063f9 (diff) | |
parent | 45bd0edae52c07daa2d54ca7f7c0a57d51130791 (diff) |
Merge in ECC
Diffstat (limited to 'libtomcrypt/src/headers/tomcrypt_custom.h')
-rw-r--r-- | libtomcrypt/src/headers/tomcrypt_custom.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h index acc149a..cbfaeb3 100644 --- a/libtomcrypt/src/headers/tomcrypt_custom.h +++ b/libtomcrypt/src/headers/tomcrypt_custom.h @@ -127,13 +127,32 @@ #ifdef DROPBEAR_SHA256 #define SHA256 #endif - +#ifdef DROPBEAR_SHA384 +#define SHA384 +#endif #ifdef DROPBEAR_SHA512 #define SHA512 #endif #define LTC_HMAC +#ifdef DROPBEAR_ECC +#define MECC +#define LTC_ECC_SHAMIR +#define LTC_ECC_TIMING_RESISTANT +#define MPI +#define LTM_DESC +#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 |