comparison 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
comparison
equal deleted inserted replaced
382:0cbe8f6dbf9e 384:a05fb340a95d
109 #endif 109 #endif
110 110
111 #ifdef DROPBEAR_3DES_CBC 111 #ifdef DROPBEAR_3DES_CBC
112 #define DES 112 #define DES
113 #endif 113 #endif
114 #define CBC 114
115 #define LTC_CBC_MODE
115 116
116 #if defined(DROPBEAR_DSS) && defined(DSS_PROTOK) 117 #if defined(DROPBEAR_DSS) && defined(DSS_PROTOK)
117 #define SHA512 118 #define SHA512
118 #endif 119 #endif
119 120
121 122
122 #ifdef DROPBEAR_MD5_HMAC 123 #ifdef DROPBEAR_MD5_HMAC
123 #define MD5 124 #define MD5
124 #endif 125 #endif
125 126
126 #define HMAC 127 #define LTC_HMAC
127 128
128 /* Various tidbits of modern neatoness */ 129 /* Various tidbits of modern neatoness */
129 #define BASE64 130 #define BASE64
130 131
131 /* default no functions */ 132 /* default no pthread functions */
132 #define LTC_MUTEX_GLOBAL(x) 133 #define LTC_MUTEX_GLOBAL(x)
133 #define LTC_MUTEX_PROTO(x) 134 #define LTC_MUTEX_PROTO(x)
134 #define LTC_MUTEX_TYPE(x) 135 #define LTC_MUTEX_TYPE(x)
135 #define LTC_MUTEX_INIT(x) 136 #define LTC_MUTEX_INIT(x)
136 #define LTC_MUTEX_LOCK(x) 137 #define LTC_MUTEX_LOCK(x)
137 #define LTC_MUTEX_UNLOCK(x) 138 #define LTC_MUTEX_UNLOCK(x)
138 #define FORTUNA_POOLS 0 139 #define FORTUNA_POOLS 0
139
140 #endif
141 140
142 /* Debuggers */ 141 /* Debuggers */
143 142
144 /* define this if you use Valgrind, note: it CHANGES the way SOBER-128 and RC4 work (see the code) */ 143 /* define this if you use Valgrind, note: it CHANGES the way SOBER-128 and RC4 work (see the code) */
145 /* #define LTC_VALGRIND */ 144 /* #define LTC_VALGRIND */