Blame view

net/mac80211/michael.h 573 Bytes
f0706e828   Jiri Benc   [MAC80211]: Add m...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  /*
   * Michael MIC implementation - optimized for TKIP MIC operations
   * Copyright 2002-2003, Instant802 Networks, Inc.
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License version 2 as
   * published by the Free Software Foundation.
   */
  
  #ifndef MICHAEL_H
  #define MICHAEL_H
  
  #include <linux/types.h>
  
  #define MICHAEL_MIC_LEN 8
1b19ca396   Harvey Harrison   mac80211: introdu...
16
17
18
  struct michael_mic_ctx {
  	u32 l, r;
  };
8e8862b79   Harvey Harrison   mac80211: remove ...
19
  void michael_mic(const u8 *key, struct ieee80211_hdr *hdr,
a7b6f0c55   Harvey Harrison   mac80211: add con...
20
  		 const u8 *data, size_t data_len, u8 *mic);
f0706e828   Jiri Benc   [MAC80211]: Add m...
21
22
  
  #endif /* MICHAEL_H */