2 * Driver for KeyStream wireless LAN
5 * $Id: michael_mic.h 991 2009-09-14 01:38:58Z sekine $
7 * Copyright (C) 2005-2008 KeyStream Corp.
8 * Copyright (C) 2009 Renesas Technology Corp.
10 * This program is free software; you can redistribute it and/or modify
11 * it undr the terms of the GNU General Public License version 2 as
12 * published by the Free Sotware Foundation.
15 /* MichelMIC routine define */
19 uint32_t L; // Current state
20 uint32_t R; // Current state
21 uint8_t M[4]; // Message accumulator (single word)
22 int nBytesInM; // # bytes in M
27 void MichaelMICFunction(struct michel_mic_t *Mic, uint8_t * Key,
28 uint8_t * Data, int Len, uint8_t priority,