Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
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