diff --git a/crypto/cast/c_cfb64.c b/crypto/cast/c_cfb64.c index 095e05a563a42ceb3fd88f0fb61ce258f90fdb1f..514c005c325f9326b5b405d280762f3822d3e0d1 100644 --- a/crypto/cast/c_cfb64.c +++ b/crypto/cast/c_cfb64.c @@ -66,7 +66,7 @@ void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, CAST_KEY *schedule, unsigned char *ivec, - int *num, int _encrypt) + int *num, int enc) { register CAST_LONG v0,v1,t; register int n= *num; @@ -75,7 +75,7 @@ void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out, unsigned char *iv,c,cc; iv=ivec; - if (_encrypt) + if (enc) { while (l--) { diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c index e237ebcac43356fcb91950ad7b7d85272abfb0ea..33182f2b7126191836dc84a852e98d233602b7c2 100644 --- a/crypto/cast/c_ecb.c +++ b/crypto/cast/c_ecb.c @@ -63,13 +63,13 @@ char *CAST_version="CAST" OPENSSL_VERSION_PTEXT; void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out, - CAST_KEY *ks, int _encrypt) + CAST_KEY *ks, int enc) { CAST_LONG l,d[2]; n2l(in,l); d[0]=l; n2l(in,l); d[1]=l; - if (_encrypt) + if (enc) CAST_encrypt(d,ks); else CAST_decrypt(d,ks); diff --git a/crypto/cast/c_enc.c b/crypto/cast/c_enc.c index ef70c8898121642febcce7162c8aa67a0ca06ccb..0fe2cffeccffacac0d4f266cf16e83927b566464 100644 --- a/crypto/cast/c_enc.c +++ b/crypto/cast/c_enc.c @@ -124,14 +124,14 @@ void CAST_decrypt(CAST_LONG *data, CAST_KEY *key) } void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, - CAST_KEY *ks, unsigned char *iv, int _encrypt) + CAST_KEY *ks, unsigned char *iv, int enc) { register CAST_LONG tin0,tin1; register CAST_LONG tout0,tout1,xor0,xor1; register long l=length; CAST_LONG tin[2]; - if (_encrypt) + if (enc) { n2l(iv,tout0); n2l(iv,tout1);