]>
Commit | Line | Data |
---|---|---|
b48b2e86 AM |
1 | diff -urbB openssl-0.9.7h.org/crypto/evp/evp.h openssl-0.9.7h/crypto/evp/evp.h |
2 | --- openssl-0.9.7h.org/crypto/evp/evp.h 2005-05-17 21:48:42.000000000 +0200 | |
3 | +++ openssl-0.9.7h/crypto/evp/evp.h 2005-10-13 08:18:24.145355808 +0200 | |
4 | @@ -132,7 +132,11 @@ | |
5 | #define EVP_CAST5_KEY_SIZE 16 | |
6 | #define EVP_RC5_32_12_16_KEY_SIZE 16 | |
7 | */ | |
8 | +#ifdef OPENSSL_FIPS | |
9 | #define EVP_MAX_MD_SIZE 64 /* longest known SHA512 */ | |
10 | +#else | |
d06c5d47 | 11 | +#define EVP_MAX_MD_SIZE (16+20) /* The SSLv3 md5+sha1 type */ |
b48b2e86 AM |
12 | +#endif |
13 | #define EVP_MAX_KEY_LENGTH 32 | |
14 | #define EVP_MAX_IV_LENGTH 16 | |
15 | #define EVP_MAX_BLOCK_LENGTH 32 | |
16 | diff -urbB openssl-0.9.7h.org/crypto/hmac/hmac.h openssl-0.9.7h/crypto/hmac/hmac.h | |
17 | --- openssl-0.9.7h.org/crypto/hmac/hmac.h 2005-05-07 19:21:29.000000000 +0200 | |
18 | +++ openssl-0.9.7h/crypto/hmac/hmac.h 2005-10-13 08:18:56.523433592 +0200 | |
19 | @@ -64,7 +64,11 @@ | |
20 | ||
21 | #include <openssl/evp.h> | |
22 | ||
23 | +#ifdef OPENSSL_FIPS | |
24 | #define HMAC_MAX_MD_CBLOCK 128 | |
25 | +#else | |
26 | +#define HMAC_MAX_MD_CBLOCK 64 | |
27 | +#endif | |
28 | ||
29 | #ifdef __cplusplus | |
30 | extern "C" { | |
31 |