From c8fea8d38011ede78e3f86d774886e32272973bb Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 30 Dec 2006 18:47:07 +0000 Subject: add d80211 from a recent wireless-dev checkout SVN-Revision: 5939 --- package/d80211/src/michael.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/d80211/src/michael.h (limited to 'package/d80211/src/michael.h') diff --git a/package/d80211/src/michael.h b/package/d80211/src/michael.h new file mode 100644 index 0000000000..2e6aebabee --- /dev/null +++ b/package/d80211/src/michael.h @@ -0,0 +1,20 @@ +/* + * 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 + +#define MICHAEL_MIC_LEN 8 + +void michael_mic(u8 *key, u8 *da, u8 *sa, u8 priority, + u8 *data, size_t data_len, u8 *mic); + +#endif /* MICHAEL_H */ -- cgit v1.2.3