summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc5
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc5')
-rw-r--r--src/lib/libcrypto/rc5/rc5_enc.c8
-rw-r--r--src/lib/libcrypto/rc5/rc5cfb64.c8
-rw-r--r--src/lib/libcrypto/rc5/rc5ofb64.c10
3 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/libcrypto/rc5/rc5_enc.c b/src/lib/libcrypto/rc5/rc5_enc.c
index 8fdbabe8b6..3828fe29c5 100644
--- a/src/lib/libcrypto/rc5/rc5_enc.c
+++ b/src/lib/libcrypto/rc5/rc5_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rc5_enc.c,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */ 1/* $OpenBSD: rc5_enc.c,v 1.3 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 *
@@ -64,9 +64,9 @@ void RC5_32_cbc_encrypt(const unsigned char *in, unsigned char *out,
64 long length, RC5_32_KEY *ks, unsigned char *iv, 64 long length, RC5_32_KEY *ks, unsigned char *iv,
65 int encrypt) 65 int encrypt)
66 { 66 {
67 register unsigned long tin0,tin1; 67 unsigned long tin0,tin1;
68 register unsigned long tout0,tout1,xor0,xor1; 68 unsigned long tout0,tout1,xor0,xor1;
69 register long l=length; 69 long l=length;
70 unsigned long tin[2]; 70 unsigned long tin[2];
71 71
72 if (encrypt) 72 if (encrypt)
diff --git a/src/lib/libcrypto/rc5/rc5cfb64.c b/src/lib/libcrypto/rc5/rc5cfb64.c
index eebf828e65..0f4d11248c 100644
--- a/src/lib/libcrypto/rc5/rc5cfb64.c
+++ b/src/lib/libcrypto/rc5/rc5cfb64.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rc5cfb64.c,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */ 1/* $OpenBSD: rc5cfb64.c,v 1.3 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 *
@@ -68,9 +68,9 @@ void RC5_32_cfb64_encrypt(const unsigned char *in, unsigned char *out,
68 long length, RC5_32_KEY *schedule, 68 long length, RC5_32_KEY *schedule,
69 unsigned char *ivec, int *num, int encrypt) 69 unsigned char *ivec, int *num, int encrypt)
70 { 70 {
71 register unsigned long v0,v1,t; 71 unsigned long v0,v1,t;
72 register int n= *num; 72 int n= *num;
73 register long l=length; 73 long l=length;
74 unsigned long ti[2]; 74 unsigned long ti[2];
75 unsigned char *iv,c,cc; 75 unsigned char *iv,c,cc;
76 76
diff --git a/src/lib/libcrypto/rc5/rc5ofb64.c b/src/lib/libcrypto/rc5/rc5ofb64.c
index b823aeb148..0a8686092b 100644
--- a/src/lib/libcrypto/rc5/rc5ofb64.c
+++ b/src/lib/libcrypto/rc5/rc5ofb64.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: rc5ofb64.c,v 1.2 2014/06/12 15:49:30 deraadt Exp $ */ 1/* $OpenBSD: rc5ofb64.c,v 1.3 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 *
@@ -67,11 +67,11 @@ void RC5_32_ofb64_encrypt(const unsigned char *in, unsigned char *out,
67 long length, RC5_32_KEY *schedule, 67 long length, RC5_32_KEY *schedule,
68 unsigned char *ivec, int *num) 68 unsigned char *ivec, int *num)
69 { 69 {
70 register unsigned long v0,v1,t; 70 unsigned long v0,v1,t;
71 register int n= *num; 71 int n= *num;
72 register long l=length; 72 long l=length;
73 unsigned char d[8]; 73 unsigned char d[8];
74 register char *dp; 74 char *dp;
75 unsigned long ti[2]; 75 unsigned long ti[2];
76 unsigned char *iv; 76 unsigned char *iv;
77 int save=0; 77 int save=0;