comparison libtomcrypt/src/headers/tomcrypt_custom.h @ 502:43bbe17d6ba0

- Add Counter Mode support
author Matt Johnston <matt@ucc.asn.au>
date Mon, 29 Sep 2008 13:53:31 +0000
parents 00fcf5045160
children ae1df0cc3f18
comparison
equal deleted inserted replaced
501:d58c478bd399 502:43bbe17d6ba0
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