aes_ccm.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2003-2004, Instant802 Networks, Inc.
00003  * Copyright 2006, Devicescape Software, 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 AES_CCM_H
00011 #define AES_CCM_H
00012 
00013 #include <linux/crypto.h>
00014 
00015 struct crypto_cipher *ieee80211_aes_key_setup_encrypt(const u8 key[]);
00016 void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch,
00017                                u8 *data, size_t data_len,
00018                                u8 *cdata, u8 *mic);
00019 int ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch,
00020                               u8 *cdata, size_t data_len,
00021                               u8 *mic, u8 *data);
00022 void ieee80211_aes_key_free(struct crypto_cipher *tfm);
00023 
00024 #endif /* AES_CCM_H */


ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:09