diff options
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2ofb64.c')
| -rw-r--r-- | src/lib/libcrypto/rc2/rc2ofb64.c | 12 | 
1 files changed, 4 insertions, 8 deletions
| diff --git a/src/lib/libcrypto/rc2/rc2ofb64.c b/src/lib/libcrypto/rc2/rc2ofb64.c index 4f09167447..9e297867ed 100644 --- a/src/lib/libcrypto/rc2/rc2ofb64.c +++ b/src/lib/libcrypto/rc2/rc2ofb64.c | |||
| @@ -56,20 +56,16 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] | 
| 57 | */ | 57 | */ | 
| 58 | 58 | ||
| 59 | #include "rc2.h" | 59 | #include <openssl/rc2.h> | 
| 60 | #include "rc2_locl.h" | 60 | #include "rc2_locl.h" | 
| 61 | 61 | ||
| 62 | /* The input and output encrypted as though 64bit ofb mode is being | 62 | /* The input and output encrypted as though 64bit ofb mode is being | 
| 63 | * used. The extra state information to record how much of the | 63 | * used. The extra state information to record how much of the | 
| 64 | * 64bit block we have used is contained in *num; | 64 | * 64bit block we have used is contained in *num; | 
| 65 | */ | 65 | */ | 
| 66 | void RC2_ofb64_encrypt(in, out, length, schedule, ivec, num) | 66 | void RC2_ofb64_encrypt(const unsigned char *in, unsigned char *out, | 
| 67 | unsigned char *in; | 67 | long length, RC2_KEY *schedule, unsigned char *ivec, | 
| 68 | unsigned char *out; | 68 | int *num) | 
| 69 | long length; | ||
| 70 | RC2_KEY *schedule; | ||
| 71 | unsigned char *ivec; | ||
| 72 | int *num; | ||
| 73 | { | 69 | { | 
| 74 | register unsigned long v0,v1,t; | 70 | register unsigned long v0,v1,t; | 
| 75 | register int n= *num; | 71 | register int n= *num; | 
