sfc: Don't use enums as a bitmask.
[zen-stable.git] / drivers / net / wireless / orinoco / mic.h
blob04d05bc566d622edb063a15d3724afa418412653
1 /* Orinoco MIC helpers
3 * See copyright notice in main.c
4 */
5 #ifndef _ORINOCO_MIC_H_
6 #define _ORINOCO_MIC_H_
8 #include <linux/types.h>
10 #define MICHAEL_MIC_LEN 8
12 /* Forward declarations */
13 struct orinoco_private;
14 struct crypto_hash;
16 int orinoco_mic_init(struct orinoco_private *priv);
17 void orinoco_mic_free(struct orinoco_private *priv);
18 int orinoco_mic(struct crypto_hash *tfm_michael, u8 *key,
19 u8 *da, u8 *sa, u8 priority,
20 u8 *data, size_t data_len, u8 *mic);
22 #endif /* ORINOCO_MIC_H */