Merge tag 'staging-3.7-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / rtl8192e / rtllib_crypt.h
1 /*
2 * Original code based on Host AP (software wireless LAN access point) driver
3 * for Intersil Prism2/2.5/3.
4 *
5 * Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
6 * <jkmaline@cc.hut.fi>
7 * Copyright (c) 2002-2003, Jouni Malinen <jkmaline@cc.hut.fi>
8 *
9 * Adaption to a generic IEEE 802.11 stack by James Ketrenos
10 * <jketreno@linux.intel.com>
11 *
12 * Copyright (c) 2004, Intel Corporation
13 *
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2 as
16 * published by the Free Software Foundation. See README and COPYING for
17 * more details.
18 */
19
20 /*
21 * This file defines the interface to the rtllib crypto module.
22 */
23 #ifndef RTLLIB_CRYPT_H
24 #define RTLLIB_CRYPT_H
25
26 #include <linux/skbuff.h>
27
28 int rtllib_register_crypto_ops(struct lib80211_crypto_ops *ops);
29 int rtllib_unregister_crypto_ops(struct lib80211_crypto_ops *ops);
30 struct lib80211_crypto_ops *rtllib_get_crypto_ops(const char *name);
31 void rtllib_crypt_deinit_entries(struct lib80211_crypt_info *info, int force);
32 void rtllib_crypt_deinit_handler(unsigned long data);
33 void rtllib_crypt_delayed_deinit(struct lib80211_crypt_info *info,
34 struct lib80211_crypt_data **crypt);
35 #endif