root/drivers/net/wireless/intersil/orinoco/mic.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   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 #include <crypto/hash.h>
  10 
  11 #define MICHAEL_MIC_LEN 8
  12 
  13 /* Forward declarations */
  14 struct orinoco_private;
  15 struct crypto_ahash;
  16 
  17 int orinoco_mic_init(struct orinoco_private *priv);
  18 void orinoco_mic_free(struct orinoco_private *priv);
  19 int orinoco_mic(struct crypto_shash *tfm_michael, u8 *key,
  20                 u8 *da, u8 *sa, u8 priority,
  21                 u8 *data, size_t data_len, u8 *mic);
  22 
  23 #endif /* ORINOCO_MIC_H */

/* [<][>][^][v][top][bottom][index][help] */