michael.h
Go to the documentation of this file.
00001 /*
00002  * Michael MIC implementation - optimized for TKIP MIC operations
00003  * Copyright 2002-2003, Instant802 Networks, Inc.
00004  *
00005  * This program is free software; you can redistribute it and/or modify
00006  * it under the terms of the GNU General Public License version 2 as
00007  * published by the Free Software Foundation.
00008  */
00009 
00010 #ifndef MICHAEL_H
00011 #define MICHAEL_H
00012 
00013 #include <linux/types.h>
00014 
00015 #define MICHAEL_MIC_LEN 8
00016 
00017 struct michael_mic_ctx {
00018         u32 l, r;
00019 };
00020 
00021 void michael_mic(const u8 *key, struct ieee80211_hdr *hdr,
00022                  const u8 *data, size_t data_len, u8 *mic);
00023 
00024 #endif /* MICHAEL_H */


ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Fri Jan 3 2014 12:07:55