Go to the documentation of this file.
54 static void s_vClear(
void);
56 static void s_vSetKey(
unsigned long dwK0,
unsigned long dwK1);
57 static void s_vAppendByte(
unsigned char b);
60 static unsigned long L,
R;
62 static unsigned long K0,
K1;
63 static unsigned long M;
64 static unsigned int nBytesInM;
93 static void s_vClear (
void)
102 static void s_vSetKey (
unsigned long dwK0,
unsigned long dwK1)
111 static void s_vAppendByte (
unsigned char b)
114 M |= b << (8*nBytesInM);
122 R ^= ((
L & 0xff00ff00) >> 8) | ((
L & 0x00ff00ff) << 8);
137 s_vSetKey(dwK0, dwK1);
157 s_vAppendByte(*src++);
171 while( nBytesInM != 0 )