comparison options.h @ 233:225e6822ef53

bytes/bits in a comment.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 30 Aug 2005 18:00:11 +0000
parents 1c03b27e1ceb
children b3cca2d9ee3c
comparison
equal deleted inserted replaced
232:cbf1165d9386 233:225e6822ef53
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 32 /* 256 bytes for aes256 etc */ 281 #define MAX_KEY_LEN 32 /* 256 bits 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