summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cast/c_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/cast/c_enc.c')
-rw-r--r--src/lib/libcrypto/cast/c_enc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/cast/c_enc.c b/src/lib/libcrypto/cast/c_enc.c
index 4305c3108c..5999a59031 100644
--- a/src/lib/libcrypto/cast/c_enc.c
+++ b/src/lib/libcrypto/cast/c_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: c_enc.c,v 1.6 2014/06/12 15:49:28 deraadt Exp $ */ 1/* $OpenBSD: c_enc.c,v 1.7 2014/10/28 07:35:58 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,8 +62,8 @@
62#ifndef OPENBSD_CAST_ASM 62#ifndef OPENBSD_CAST_ASM
63void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key) 63void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
64 { 64 {
65 register CAST_LONG l,r,t; 65 CAST_LONG l,r,t;
66 register const CAST_LONG *k; 66 const CAST_LONG *k;
67 67
68 k= &(key->data[0]); 68 k= &(key->data[0]);
69 l=data[0]; 69 l=data[0];
@@ -95,8 +95,8 @@ void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
95 95
96void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key) 96void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key)
97 { 97 {
98 register CAST_LONG l,r,t; 98 CAST_LONG l,r,t;
99 register const CAST_LONG *k; 99 const CAST_LONG *k;
100 100
101 k= &(key->data[0]); 101 k= &(key->data[0]);
102 l=data[0]; 102 l=data[0];
@@ -130,9 +130,9 @@ void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key)
130void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, 130void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length,
131 const CAST_KEY *ks, unsigned char *iv, int enc) 131 const CAST_KEY *ks, unsigned char *iv, int enc)
132 { 132 {
133 register CAST_LONG tin0,tin1; 133 CAST_LONG tin0,tin1;
134 register CAST_LONG tout0,tout1,xor0,xor1; 134 CAST_LONG tout0,tout1,xor0,xor1;
135 register long l=length; 135 long l=length;
136 CAST_LONG tin[2]; 136 CAST_LONG tin[2];
137 137
138 if (enc) 138 if (enc)