comparison libtomcrypt/src/headers/tomcrypt_custom.h @ 546:568638be7203 agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 899a8851a5edf840b2f7925bcc26ffe99dcac54d) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 01 Jul 2009 04:16:32 +0000
parents 43bbe17d6ba0
children ae1df0cc3f18
comparison
equal deleted inserted replaced
500:d588e3ea557a 546:568638be7203
88 88
89 /* disable BSWAP on x86 */ 89 /* disable BSWAP on x86 */
90 /* #define LTC_NO_BSWAP */ 90 /* #define LTC_NO_BSWAP */
91 91
92 92
93 #ifdef DROPBEAR_BLOWFISH_CBC 93 #ifdef DROPBEAR_BLOWFISH
94 #define BLOWFISH 94 #define BLOWFISH
95 #endif 95 #endif
96 96
97 #ifdef DROPBEAR_AES_CBC 97 #ifdef DROPBEAR_AES
98 #define RIJNDAEL 98 #define RIJNDAEL
99 #endif 99 #endif
100 100
101 #ifdef DROPBEAR_TWOFISH_CBC 101 #ifdef DROPBEAR_TWOFISH
102 #define TWOFISH 102 #define TWOFISH
103 103
104 /* enabling just TWOFISH_SMALL will make the binary ~1kB smaller, turning on 104 /* enabling just TWOFISH_SMALL will make the binary ~1kB smaller, turning on
105 * TWOFISH_TABLES will make it a few kB bigger, but perhaps reduces runtime 105 * TWOFISH_TABLES will make it a few kB bigger, but perhaps reduces runtime
106 * memory usage? */ 106 * memory usage? */
107 #define TWOFISH_SMALL 107 #define TWOFISH_SMALL
108 /*#define TWOFISH_TABLES*/ 108 /*#define TWOFISH_TABLES*/
109 #endif 109 #endif
110 110
111 #ifdef DROPBEAR_3DES_CBC 111 #ifdef DROPBEAR_3DES
112 #define DES 112 #define DES
113 #endif 113 #endif
114 114
115 #define LTC_CBC_MODE 115 #define LTC_CBC_MODE
116
117 #ifdef DROPBEAR_ENABLE_CTR_MODE
118 #define LTC_CTR_MODE
119 #endif
116 120
117 #if defined(DROPBEAR_DSS) && defined(DSS_PROTOK) 121 #if defined(DROPBEAR_DSS) && defined(DSS_PROTOK)
118 #define SHA512 122 #define SHA512
119 #endif 123 #endif
120 124