diff options
Diffstat (limited to 'include/openssl/rc2.h')
-rw-r--r-- | include/openssl/rc2.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/openssl/rc2.h b/include/openssl/rc2.h index 29d02d7322..0bf6ae31ec 100644 --- a/include/openssl/rc2.h +++ b/include/openssl/rc2.h @@ -1,4 +1,3 @@ -/* crypto/rc2/rc2.h */ /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -59,11 +58,13 @@ #ifndef HEADER_RC2_H # define HEADER_RC2_H -# include <openssl/opensslconf.h>/* OPENSSL_NO_RC2, RC2_INT */ +# include <openssl/opensslconf.h> # ifdef OPENSSL_NO_RC2 # error RC2 is disabled. # endif +typedef unsigned int RC2_INT; + # define RC2_ENCRYPT 1 # define RC2_DECRYPT 0 @@ -78,10 +79,6 @@ typedef struct rc2_key_st { RC2_INT data[64]; } RC2_KEY; -# ifdef OPENSSL_FIPS -void private_RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, - int bits); -# endif void RC2_set_key(RC2_KEY *key, int len, const unsigned char *data, int bits); void RC2_ecb_encrypt(const unsigned char *in, unsigned char *out, RC2_KEY *key, int enc); |