aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/des/cfb_enc.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-29 07:45:37 +0000
committerRichard Levitte <levitte@openssl.org>2001-03-29 07:45:37 +0000
commit080b8cadfa9a9c7655fb0dbd5e432b09d708ab3b (patch)
treed233e346f517c1eedaa0066c31380b8d225e0c07 /crypto/des/cfb_enc.c
parent7cdd2aa128811724497b98d20dd06a2efca9c266 (diff)
downloadopenssl-080b8cadfa9a9c7655fb0dbd5e432b09d708ab3b.tar.gz
Since there has been reports of clashes between OpenSSL's
des_encrypt() and des_encrypt() defined on some systems (Solaris and Unixware and maybe others), we rename des_encrypt() to des_encrypt1(). This should have very little impact on external software unless someone has written a mode of DES, since that's all des_encrypt() is meant for.
Diffstat (limited to 'crypto/des/cfb_enc.c')
-rw-r--r--crypto/des/cfb_enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/cfb_enc.c b/crypto/des/cfb_enc.c
index cca34dd7c5..ec4fd4ea67 100644
--- a/crypto/des/cfb_enc.c
+++ b/crypto/des/cfb_enc.c
@@ -100,7 +100,7 @@ void des_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
l-=n;
ti[0]=v0;
ti[1]=v1;
- des_encrypt((DES_LONG *)ti,schedule,DES_ENCRYPT);
+ des_encrypt1((DES_LONG *)ti,schedule,DES_ENCRYPT);
c2ln(in,d0,d1,n);
in+=n;
d0=(d0^ti[0])&mask0;
@@ -132,7 +132,7 @@ void des_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits,
l-=n;
ti[0]=v0;
ti[1]=v1;
- des_encrypt((DES_LONG *)ti,schedule,DES_ENCRYPT);
+ des_encrypt1((DES_LONG *)ti,schedule,DES_ENCRYPT);
c2ln(in,d0,d1,n);
in+=n;
/* 30-08-94 - eay - changed because l>>32 and