Print this page
3882 remove xmod & friends
*** 160,170 ****
* Do the CBC ourselves if needed.
*/
int
__des_crypt(char *buf, unsigned len, struct desparams *desp)
{
- /* EXPORT DELETE START */
short i;
unsigned mode;
unsigned dir;
char nextiv[8];
struct deskeydata softkey;
--- 160,169 ----
*** 199,209 ****
break;
}
buf += 8;
len -= 8;
}
- /* EXPORT DELETE END */
return (1);
}
/*
--- 198,207 ----
*** 211,221 ****
* We build the 16 key entries here
*/
static int
__des_setkey(uchar_t userkey[8], struct deskeydata *kd, unsigned dir)
{
- /* EXPORT DELETE START */
int32_t C, D;
short i;
/*
* First, generate C and D by permuting
--- 209,218 ----
*** 291,301 ****
}
bbit >>= 8;
}
}
- /* EXPORT DELETE END */
return (1);
}
--- 288,297 ----
*** 307,317 ****
* processor byte-order independence.
*/
static int
__des_encrypt(uchar_t *data, struct deskeydata *kd)
{
- /* EXPORT DELETE START */
chunk_t work1, work2;
/*
* Initial permutation
* and byte to chunk conversion
--- 303,312 ----
*** 474,481 ****
data[4] = work2.byte4;
data[5] = work2.byte5;
data[6] = work2.byte6;
data[7] = work2.byte7;
- /* EXPORT DELETE END */
return (1);
}
--- 469,475 ----