diff options
Diffstat (limited to 'src/lib/libcrypto/rc2/rc2_cbc.c')
-rw-r--r-- | src/lib/libcrypto/rc2/rc2_cbc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/rc2/rc2_cbc.c b/src/lib/libcrypto/rc2/rc2_cbc.c index 7d826e32e1..a947f1d3c3 100644 --- a/src/lib/libcrypto/rc2/rc2_cbc.c +++ b/src/lib/libcrypto/rc2/rc2_cbc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc2_cbc.c,v 1.4 2014/06/12 15:49:30 deraadt Exp $ */ | 1 | /* $OpenBSD: rc2_cbc.c,v 1.5 2014/10/28 07:35:59 jsg Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -62,9 +62,9 @@ | |||
62 | void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | 62 | void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, |
63 | RC2_KEY *ks, unsigned char *iv, int encrypt) | 63 | RC2_KEY *ks, unsigned char *iv, int encrypt) |
64 | { | 64 | { |
65 | register unsigned long tin0,tin1; | 65 | unsigned long tin0,tin1; |
66 | register unsigned long tout0,tout1,xor0,xor1; | 66 | unsigned long tout0,tout1,xor0,xor1; |
67 | register long l=length; | 67 | long l=length; |
68 | unsigned long tin[2]; | 68 | unsigned long tin[2]; |
69 | 69 | ||
70 | if (encrypt) | 70 | if (encrypt) |
@@ -136,8 +136,8 @@ void RC2_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, | |||
136 | void RC2_encrypt(unsigned long *d, RC2_KEY *key) | 136 | void RC2_encrypt(unsigned long *d, RC2_KEY *key) |
137 | { | 137 | { |
138 | int i,n; | 138 | int i,n; |
139 | register RC2_INT *p0,*p1; | 139 | RC2_INT *p0,*p1; |
140 | register RC2_INT x0,x1,x2,x3,t; | 140 | RC2_INT x0,x1,x2,x3,t; |
141 | unsigned long l; | 141 | unsigned long l; |
142 | 142 | ||
143 | l=d[0]; | 143 | l=d[0]; |
@@ -181,8 +181,8 @@ void RC2_encrypt(unsigned long *d, RC2_KEY *key) | |||
181 | void RC2_decrypt(unsigned long *d, RC2_KEY *key) | 181 | void RC2_decrypt(unsigned long *d, RC2_KEY *key) |
182 | { | 182 | { |
183 | int i,n; | 183 | int i,n; |
184 | register RC2_INT *p0,*p1; | 184 | RC2_INT *p0,*p1; |
185 | register RC2_INT x0,x1,x2,x3,t; | 185 | RC2_INT x0,x1,x2,x3,t; |
186 | unsigned long l; | 186 | unsigned long l; |
187 | 187 | ||
188 | l=d[0]; | 188 | l=d[0]; |