Merge branch 'for-linus-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/mason...
[deliverable/linux.git] / drivers / net / wireless / intersil / orinoco / mic.h
CommitLineData
4adb474b
DK
1/* Orinoco MIC helpers
2 *
3 * See copyright notice in main.c
4 */
5#ifndef _ORINOCO_MIC_H_
6#define _ORINOCO_MIC_H_
7
8#include <linux/types.h>
9
10#define MICHAEL_MIC_LEN 8
11
12/* Forward declarations */
13struct orinoco_private;
a60b7faf 14struct crypto_ahash;
4adb474b
DK
15
16int orinoco_mic_init(struct orinoco_private *priv);
17void orinoco_mic_free(struct orinoco_private *priv);
a60b7faf 18int orinoco_mic(struct crypto_ahash *tfm_michael, u8 *key,
4adb474b
DK
19 u8 *da, u8 *sa, u8 priority,
20 u8 *data, size_t data_len, u8 *mic);
21
22#endif /* ORINOCO_MIC_H */
This page took 0.545749 seconds and 5 git commands to generate.