2001-05-31 Ezra Peisach <epeisach@mit.edu>
+ * f_cbc.c (mit_des_cbc_encrypt): Do not use a variable named "encrypt".
+ * d3_cbc.c (mit_des3_cbc_encrypt): Likewise.
+
* des_int.h (mit_des_cbc_encrypt, mit_des3_ecb_encrypt,
mit_des3_cbc_encrypt): Don't use "encrypt" as argument name.
*/
int
-mit_des3_cbc_encrypt(in, out, length, ks1, ks2, ks3, ivec, encrypt)
+mit_des3_cbc_encrypt(in, out, length, ks1, ks2, ks3, ivec, enc)
const mit_des_cblock FAR *in;
mit_des_cblock FAR *out;
unsigned long length;
const mit_des_key_schedule ks1, ks2, ks3;
const mit_des_cblock ivec;
- int encrypt;
+ int enc;
{
register unsigned DES_INT32 left, right;
register unsigned DES_INT32 temp;
/*
* Deal with encryption and decryption separately.
*/
- if (encrypt) {
+ if (enc) {
/*
* Initialize left and right with the contents of the initial
* vector.
*/
int
-mit_des_cbc_encrypt(in, out, length, schedule, ivec, encrypt)
+mit_des_cbc_encrypt(in, out, length, schedule, ivec, enc)
const mit_des_cblock FAR *in;
mit_des_cblock FAR *out;
unsigned long length;
const mit_des_key_schedule schedule;
const mit_des_cblock ivec;
- int encrypt;
+ int enc;
{
register unsigned DES_INT32 left, right;
register unsigned DES_INT32 temp;
/*
* Deal with encryption and decryption separately.
*/
- if (encrypt) {
+ if (enc) {
/*
* Initialize left and right with the contents of the initial
* vector.