diff options
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2ofb64.c')
-rw-r--r-- | src/lib/libcrypto/rc2/rc2ofb64.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/libcrypto/rc2/rc2ofb64.c b/src/lib/libcrypto/rc2/rc2ofb64.c index 4f09167447..42cdd40cdd 100644 --- a/src/lib/libcrypto/rc2/rc2ofb64.c +++ b/src/lib/libcrypto/rc2/rc2ofb64.c | |||
@@ -56,20 +56,15 @@ | |||
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(unsigned char *in, unsigned char *out, long length, |
67 | unsigned char *in; | 67 | RC2_KEY *schedule, unsigned char *ivec, int *num) |
68 | unsigned char *out; | ||
69 | long length; | ||
70 | RC2_KEY *schedule; | ||
71 | unsigned char *ivec; | ||
72 | int *num; | ||
73 | { | 68 | { |
74 | register unsigned long v0,v1,t; | 69 | register unsigned long v0,v1,t; |
75 | register int n= *num; | 70 | register int n= *num; |