ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/global.h
(Generate patch)

Comparing gvpe/src/global.h (file contents):
Revision 1.4 by pcg, Fri Mar 21 23:17:01 2003 UTC vs.
Revision 1.5 by pcg, Sat Mar 22 02:35:57 2003 UTC

26 26
27#define RSA_KEYBITS 1280 // must be >= 1280 and divisible by 8 27#define RSA_KEYBITS 1280 // must be >= 1280 and divisible by 8
28#define RSA_KEYLEN ((RSA_KEYBITS) >> 3) 28#define RSA_KEYLEN ((RSA_KEYBITS) >> 3)
29#define RSA_OVERHEAD (41 + 1) // well, no define for OAEP 29#define RSA_OVERHEAD (41 + 1) // well, no define for OAEP
30 30
31#define CHALLENGE_TTL 30 // challenge bytes timeout after 30 seconds 31#define CHALLENGE_TTL 30 // challenge bytes timeout after n seconds
32 32
33#define CIPHER ENABLE_CIPHER () 33#define CIPHER ENABLE_CIPHER ()
34#define CIPHER_KEYLEN (EVP_CIPHER_key_length (CIPHER)) 34#define CIPHER_KEYLEN (EVP_CIPHER_key_length (CIPHER))
35#define DIGEST ENABLE_DIGEST () 35#define DIGEST ENABLE_DIGEST ()
36#define HMAC_KEYLEN (256 >> 3) // number of bits used for the HMAC key (also change CHG_HMAC_KEY) 36#define HMAC_KEYLEN (256 >> 3) // number of bits used for the HMAC key (also change CHG_HMAC_KEY)
49 49
50#define PKTCACHESIZE 4 // the size of the memory pool for packets 50#define PKTCACHESIZE 4 // the size of the memory pool for packets
51 51
52#define QUEUEDEPTH 16 // the number of packets that will be queued (should be low) 52#define QUEUEDEPTH 16 // the number of packets that will be queued (should be low)
53 53
54#define WINDOWSIZE 1024 // sliding window size 54#define WINDOWSIZE 512 // sliding window size
55 55
56extern char *confbase; // directory in which all config files are 56extern char *confbase; // directory in which all config files are
57extern char *thisnode; // config for current node (TODO: remove) 57extern char *thisnode; // config for current node (TODO: remove)
58extern char *pidfilename; // pid file location 58extern char *pidfilename; // pid file location
59 59

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines