1 typedef unsigned char uchar;
2 typedef unsigned short ushort;
3 typedef unsigned int uint;
4 typedef unsigned long ulong;
6 static unsigned long S[1][1]={0x00820200};
8 static int body(out0,out1,ks,Eswap0,Eswap1)
13 register unsigned long l,r,t,u,v;
14 register unsigned long *s;
16 register unsigned long E0,E1;
25 for (i=0; i<(16 *2); i+=4)
30 u=(u^(u<<16))^r^s[ i ];
31 t=(v^(v<<16))^r^s[ i+1];
33 l^=S[1][(t)&0x3f]| S[3][(t>> 8)&0x3f]| S[5][(t>>16)&0x3f]| S[7][(t>>24)&0x3f]| S[0][(u)&0x3f]| S[2][(u>> 8)&0x3f]| S[4][(u>>16)&0x3f]| S[6][(u>>24)&0x3f];
37 u=(u^(u<<16))^l^s[ i+2 ];
38 t=(v^(v<<16))^l^s[ i+2+1];