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