1 // Rotation functions on 32 bit values
2 #define ROL32( A, n ) \
3 ( ((A) << (n)) | ( ((A)>>(32-(n))) & ( (1UL << (n)) - 1 ) ) )
5 #define ROR32( A, n ) ROL32( (A), 32-(n) )
13 struct // Current state
22 u32 M; // Message accumulator (single word)
25 s32 bytes_in_M; // # bytes in M
28 //void _append_data( u8 *pData, u16 size, tkip_t *p );
29 void Mds_MicGet( void* Adapter, void* pRxLayer1, u8 *pKey, u8 *pMic );
30 void Mds_MicFill( void* Adapter, void* pDes, u8 *XmitBufAddress );