diff options
Diffstat (limited to 'libtomcrypt/src')
-rw-r--r-- | libtomcrypt/src/headers/tomcrypt_custom.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/libtomcrypt/src/headers/tomcrypt_custom.h b/libtomcrypt/src/headers/tomcrypt_custom.h index 928f54e..acc149a 100644 --- a/libtomcrypt/src/headers/tomcrypt_custom.h +++ b/libtomcrypt/src/headers/tomcrypt_custom.h @@ -78,7 +78,7 @@ /* #define LTC_CLEAN_STACK */ /* disable all file related functions */ -/* #define LTC_NO_FILE */ +#define LTC_NO_FILE /* disable all forms of ASM */ /* #define LTC_NO_ASM */ @@ -118,16 +118,20 @@ #define LTC_CTR_MODE #endif -#if defined(DROPBEAR_DSS) && defined(DSS_PROTOK) -#define SHA512 -#endif - #define SHA1 -#ifdef DROPBEAR_MD5_HMAC +#ifdef DROPBEAR_MD5 #define MD5 #endif +#ifdef DROPBEAR_SHA256 +#define SHA256 +#endif + +#ifdef DROPBEAR_SHA512 +#define SHA512 +#endif + #define LTC_HMAC /* Various tidbits of modern neatoness */ |