Print this page
first pass
@@ -124,11 +124,10 @@
* Do the CBC ourselves if needed.
*/
int
__des_crypt(char *buf, unsigned int len, struct desparams *desp)
{
-/* EXPORT DELETE START */
short i;
unsigned mode;
unsigned dir;
char nextiv[8];
struct deskeydata softkey;
@@ -163,11 +162,10 @@
break;
}
buf += 8;
len -= 8;
}
-/* EXPORT DELETE END */
return (1);
}
/*
@@ -175,11 +173,10 @@
* We build the 16 key entries here
*/
static void
des_setkey(uchar_t userkey[8], struct deskeydata *kd, unsigned int dir)
{
-/* EXPORT DELETE START */
long C, D;
short i;
/*
* First, generate C and D by permuting
@@ -255,11 +252,10 @@
}
bbit >>= 8;
}
}
-/* EXPORT DELETE END */
}
/*
@@ -270,11 +266,10 @@
* processor byte-order independence.
*/
static void
des_encrypt(uchar_t *data, struct deskeydata *kd)
{
-/* EXPORT DELETE START */
chunk_t work1, work2;
/*
* Initial permutation
* and byte to chunk conversion
@@ -438,9 +433,7 @@
data[3] = work2.byte3;
data[4] = work2.byte4;
data[5] = work2.byte5;
data[6] = work2.byte6;
data[7] = work2.byte7;
-
-/* EXPORT DELETE END */
}
#endif /* def CRYPT */