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.13 by pcg, Tue Apr 8 02:00:54 2003 UTC vs.
Revision 1.15 by pcg, Thu Oct 16 02:41:21 2003 UTC

1/* 1/*
2 global.h -- global variables and constants 2 global.h -- global variables and constants
3 Copyright (C) 2003 Marc Lehmann <pcg@goof.com>
3 4
4 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version. 8 (at your option) any later version.
37#define RSA_HASH EVP_ripemd160 ()// speed don't matter, boy, safety does.. I need sha256 :( 38#define RSA_HASH EVP_ripemd160 ()// speed don't matter, boy, safety does.. I need sha256 :(
38#define RSA_HASHLEN (160 >> 3) 39#define RSA_HASHLEN (160 >> 3)
39#define RSA_RESLEN RSA_HASHLEN 40#define RSA_RESLEN RSA_HASHLEN
40 41
41#define RSA_IDLEN 16 // how many bytes are used to identify the challenge 42#define RSA_IDLEN 16 // how many bytes are used to identify the challenge
42#define RSA_TTL 20 // challenge bytes timeout after n seconds 43#define RSA_TTL 120 // challenge bytes timeout after n seconds
43 44
44#define CIPHER ENABLE_CIPHER () 45#define CIPHER ENABLE_CIPHER ()
45#define CIPHER_KEYLEN (EVP_CIPHER_key_length (CIPHER)) 46#define CIPHER_KEYLEN (EVP_CIPHER_key_length (CIPHER))
46#define DIGEST ENABLE_DIGEST () 47#define DIGEST ENABLE_DIGEST ()
47#define HMAC_KEYLEN (256 >> 3) // number of bits used for the HMAC key (also change CHG_HMAC_KEY) 48#define HMAC_KEYLEN (256 >> 3) // number of bits used for the HMAC key (also change CHG_HMAC_KEY)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines