]> git.wh0rd.org - ICEs.git/blob - not-unused/des.i.2
more
[ICEs.git] / not-unused / des.i.2
1 typedef unsigned int u_int32_t __attribute__ ((__mode__(__SI__)));
2 u_int32_t fp_maskl[8][256];
3 u_int32_t saltbits;
4 int do_des(u_int32_t l_in, u_int32_t r_in, u_int32_t * l_out, u_int32_t * r_out,
5 int count)
6 {
7 u_int32_t l;
8 u_int32_t r;
9 u_int32_t f;
10 u_int32_t r48l;
11 u_int32_t r48r;
12 int round;
13 while (count--)
14 while (round--)
15 f = (r48l ^ r48r);
16 *l_out = f;
17 }