diff options
author | markus <> | 2002-09-05 12:51:50 +0000 |
---|---|---|
committer | markus <> | 2002-09-05 12:51:50 +0000 |
commit | 15b5d84f9da2ce4bfae8580e56e34a859f74ad71 (patch) | |
tree | bf939e82d7fd73cc8a01cf6959002209972091bc /src/lib/libcrypto/rc2/rc2cfb64.c | |
parent | 027351f729b9e837200dae6e1520cda6577ab930 (diff) | |
download | openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.tar.gz openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.tar.bz2 openbsd-15b5d84f9da2ce4bfae8580e56e34a859f74ad71.zip |
import openssl-0.9.7-beta1
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2cfb64.c')
-rw-r--r-- | src/lib/libcrypto/rc2/rc2cfb64.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/lib/libcrypto/rc2/rc2cfb64.c b/src/lib/libcrypto/rc2/rc2cfb64.c index d409fb77e9..b3a0158a6e 100644 --- a/src/lib/libcrypto/rc2/rc2cfb64.c +++ b/src/lib/libcrypto/rc2/rc2cfb64.c | |||
@@ -56,7 +56,7 @@ | |||
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 cfb mode is being | 62 | /* The input and output encrypted as though 64bit cfb mode is being |
@@ -64,14 +64,9 @@ | |||
64 | * 64bit block we have used is contained in *num; | 64 | * 64bit block we have used is contained in *num; |
65 | */ | 65 | */ |
66 | 66 | ||
67 | void RC2_cfb64_encrypt(in, out, length, schedule, ivec, num, encrypt) | 67 | void RC2_cfb64_encrypt(const unsigned char *in, unsigned char *out, |
68 | unsigned char *in; | 68 | long length, RC2_KEY *schedule, unsigned char *ivec, |
69 | unsigned char *out; | 69 | int *num, int encrypt) |
70 | long length; | ||
71 | RC2_KEY *schedule; | ||
72 | unsigned char *ivec; | ||
73 | int *num; | ||
74 | int encrypt; | ||
75 | { | 70 | { |
76 | register unsigned long v0,v1,t; | 71 | register unsigned long v0,v1,t; |
77 | register int n= *num; | 72 | register int n= *num; |