comparison options.h @ 229:1c03b27e1ceb

- "twofish-cbc" is an alias for "twofish256-cbc" - increase the maximum key length constant
author Matt Johnston <matt@ucc.asn.au>
date Tue, 30 Aug 2005 17:30:39 +0000
parents 5e4110bb753a
children 225e6822ef53
comparison
equal deleted inserted replaced
228:5e4110bb753a 229:1c03b27e1ceb
276 276
277 /* largest of MD5 and SHA1 */ 277 /* largest of MD5 and SHA1 */
278 #define MAX_MAC_LEN SHA1_HASH_SIZE 278 #define MAX_MAC_LEN SHA1_HASH_SIZE
279 279
280 280
281 #define MAX_KEY_LEN 24 /* 3DES requires a 24 byte key */ 281 #define MAX_KEY_LEN 32 /* 256 bytes for aes256 etc */
282 #define MAX_IV_LEN 20 /* must be same as max blocksize, 282 #define MAX_IV_LEN 20 /* must be same as max blocksize,
283 and >= SHA1_HASH_SIZE */ 283 and >= SHA1_HASH_SIZE */
284 #define MAX_MAC_KEY 20 284 #define MAX_MAC_KEY 20
285 285
286 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't 286 #define MAX_NAME_LEN 64 /* maximum length of a protocol name, isn't