diff options
author | Jeremy Sowden | 2019-02-28 12:15:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-02-28 19:14:53 +0100 |
commit | 8b523f20417d5b8423895dd6b3118a6ab9d91d98 (patch) | |
tree | e6664b4771d1d118291f9ad5f0ff4d28a971f4d6 /drivers/staging/ks7010/michael_mic.h | |
parent | staging: rtl8192e: Fix space and suspect issue (diff) | |
download | kernel-qcow2-linux-8b523f20417d5b8423895dd6b3118a6ab9d91d98.tar.gz kernel-qcow2-linux-8b523f20417d5b8423895dd6b3118a6ab9d91d98.tar.xz kernel-qcow2-linux-8b523f20417d5b8423895dd6b3118a6ab9d91d98.zip |
staging: ks7010: removed custom Michael MIC implementation.
Changed the driver to use the kernel's own implementation.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010/michael_mic.h')
-rw-r--r-- | drivers/staging/ks7010/michael_mic.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/staging/ks7010/michael_mic.h b/drivers/staging/ks7010/michael_mic.h deleted file mode 100644 index f0ac164b999b..000000000000 --- a/drivers/staging/ks7010/michael_mic.h +++ /dev/null @@ -1,21 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Driver for KeyStream wireless LAN - * - * Copyright (C) 2005-2008 KeyStream Corp. - * Copyright (C) 2009 Renesas Technology Corp. - */ - -/* MichaelMIC routine define */ -struct michael_mic { - u32 k0; // Key - u32 k1; // Key - u32 l; // Current state - u32 r; // Current state - u8 m[4]; // Message accumulator (single word) - int m_bytes; // # bytes in M - u8 result[8]; -}; - -void michael_mic_function(struct michael_mic *mic, u8 *key, - u8 *data, unsigned int len, u8 priority, u8 *result); |