Print this page
3882 remove xmod & friends
*** 124,134 ****
* 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;
--- 124,133 ----
*** 163,173 ****
break;
}
buf += 8;
len -= 8;
}
- /* EXPORT DELETE END */
return (1);
}
/*
--- 162,171 ----
*** 175,185 ****
* 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
--- 173,182 ----
*** 255,265 ****
}
bbit >>= 8;
}
}
- /* EXPORT DELETE END */
}
/*
--- 252,261 ----
*** 270,280 ****
* 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
--- 266,275 ----
*** 438,446 ****
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 */
--- 433,439 ----