2 * Driver for KeyStream wireless LAN
4 * Copyright (C) 2005-2008 KeyStream Corp.
5 * Copyright (C) 2009 Renesas Technology Corp.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 /* MichaelMIC routine define */
13 struct michael_mic_t {
16 u32 L; // Current state
17 u32 R; // Current state
18 u8 M[4]; // Message accumulator (single word)
19 int nBytesInM; // # bytes in M
23 void MichaelMICFunction(struct michael_mic_t *Mic, u8 *Key,
24 u8 *Data, int Len, u8 priority,