diff options
Diffstat (limited to 'src/lib/libcrypto/cast/cast.h')
-rw-r--r-- | src/lib/libcrypto/cast/cast.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/libcrypto/cast/cast.h b/src/lib/libcrypto/cast/cast.h index 90b45b950a..9e300178d9 100644 --- a/src/lib/libcrypto/cast/cast.h +++ b/src/lib/libcrypto/cast/cast.h | |||
@@ -63,8 +63,6 @@ | |||
63 | extern "C" { | 63 | extern "C" { |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | #include <openssl/opensslconf.h> | ||
67 | |||
68 | #ifdef OPENSSL_NO_CAST | 66 | #ifdef OPENSSL_NO_CAST |
69 | #error CAST is disabled. | 67 | #error CAST is disabled. |
70 | #endif | 68 | #endif |
@@ -83,7 +81,10 @@ typedef struct cast_key_st | |||
83 | int short_key; /* Use reduced rounds for short key */ | 81 | int short_key; /* Use reduced rounds for short key */ |
84 | } CAST_KEY; | 82 | } CAST_KEY; |
85 | 83 | ||
86 | 84 | ||
85 | #ifdef OPENSSL_FIPS | ||
86 | void private_CAST_set_key(CAST_KEY *key, int len, const unsigned char *data); | ||
87 | #endif | ||
87 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data); | 88 | void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data); |
88 | void CAST_ecb_encrypt(const unsigned char *in,unsigned char *out,CAST_KEY *key, | 89 | void CAST_ecb_encrypt(const unsigned char *in,unsigned char *out,CAST_KEY *key, |
89 | int enc); | 90 | int enc); |