/*1* Copyright 2003-2004, Instant802 Networks, Inc.2* Copyright 2006, Devicescape Software, Inc.3*4* This program is free software; you can redistribute it and/or modify5* it under the terms of the GNU General Public License version 2 as6* published by the Free Software Foundation.7*/89#ifndef AES_CCM_H10#define AES_CCM_H1112#include <linux/crypto.h>1314#define AES_BLOCK_LEN 161516struct crypto_cipher *ieee80211_aes_key_setup_encrypt(const u8 key[]);17void ieee80211_aes_ccm_encrypt(struct crypto_cipher *tfm, u8 *scratch,18u8 *data, size_t data_len,19u8 *cdata, u8 *mic);20int ieee80211_aes_ccm_decrypt(struct crypto_cipher *tfm, u8 *scratch,21u8 *cdata, size_t data_len,22u8 *mic, u8 *data);23void ieee80211_aes_key_free(struct crypto_cipher *tfm);2425#endif /* AES_CCM_H */262728