summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/ofb64ede.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/ofb64ede.c')
-rw-r--r--src/lib/libcrypto/des/ofb64ede.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/des/ofb64ede.c b/src/lib/libcrypto/des/ofb64ede.c
index 1d916e9305..474d38caaf 100644
--- a/src/lib/libcrypto/des/ofb64ede.c
+++ b/src/lib/libcrypto/des/ofb64ede.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ofb64ede.c,v 1.5 2014/10/28 07:35:58 jsg Exp $ */ 1/* $OpenBSD: ofb64ede.c,v 1.6 2015/02/07 13:19:15 doug 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 *
@@ -105,8 +105,6 @@ void DES_ede3_ofb64_encrypt(const unsigned char *in,
105 } 105 }
106 if (save) 106 if (save)
107 { 107 {
108/* v0=ti[0];
109 v1=ti[1];*/
110 iv = &(*ivec)[0]; 108 iv = &(*ivec)[0];
111 l2c(v0,iv); 109 l2c(v0,iv);
112 l2c(v1,iv); 110 l2c(v1,iv);
@@ -114,12 +112,3 @@ void DES_ede3_ofb64_encrypt(const unsigned char *in,
114 v0=v1=ti[0]=ti[1]=0; 112 v0=v1=ti[0]=ti[1]=0;
115 *num=n; 113 *num=n;
116 } 114 }
117
118#ifdef undef /* MACRO */
119void DES_ede2_ofb64_encrypt(unsigned char *in,
120 unsigned char *out, long length, DES_key_schedule k1,
121 DES_key_schedule k2, DES_cblock (*ivec), int *num)
122 {
123 DES_ede3_ofb64_encrypt(in, out, length, k1,k2,k1, ivec, num);
124 }
125#endif