1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Driver for KeyStream wireless LAN
5 * Copyright (C) 2005-2008 KeyStream Corp.
6 * Copyright (C) 2009 Renesas Technology Corp.
9 /* MichaelMIC routine define */
13 u32 l; // Current state
14 u32 r; // Current state
15 u8 m[4]; // Message accumulator (single word)
16 int m_bytes; // # bytes in M
20 void michael_mic_function(struct michael_mic *mic, u8 *key,
21 u8 *data, unsigned int len, u8 priority, u8 *result);