Mercurial > dropbear
diff libtomcrypt/src/headers/tomcrypt_custom.h @ 384:a05fb340a95d
propagate from branch 'au.asn.ucc.matt.ltc.dropbear' (head ffd1015238ffcc959f6cd95176d96fcd0945a397)
to branch 'au.asn.ucc.matt.dropbear' (head 52ccb0ad0587a62bc64aecb939adbb76546aac16)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 03:05:30 +0000 |
parents | 0cbe8f6dbf9e |
children | 00fcf5045160 |
line wrap: on
line diff
--- a/libtomcrypt/src/headers/tomcrypt_custom.h Thu Jan 11 02:41:05 2007 +0000 +++ b/libtomcrypt/src/headers/tomcrypt_custom.h Thu Jan 11 03:05:30 2007 +0000 @@ -111,7 +111,8 @@ #ifdef DROPBEAR_3DES_CBC #define DES #endif -#define CBC + +#define LTC_CBC_MODE #if defined(DROPBEAR_DSS) && defined(DSS_PROTOK) #define SHA512 @@ -123,12 +124,12 @@ #define MD5 #endif -#define HMAC +#define LTC_HMAC /* Various tidbits of modern neatoness */ #define BASE64 -/* default no functions */ +/* default no pthread functions */ #define LTC_MUTEX_GLOBAL(x) #define LTC_MUTEX_PROTO(x) #define LTC_MUTEX_TYPE(x) @@ -137,8 +138,6 @@ #define LTC_MUTEX_UNLOCK(x) #define FORTUNA_POOLS 0 -#endif - /* Debuggers */ /* define this if you use Valgrind, note: it CHANGES the way SOBER-128 and RC4 work (see the code) */