0001
0002
0003
0004
0005
0006 #ifndef AES_CMAC_H
0007 #define AES_CMAC_H
0008
0009 #include <linux/crypto.h>
0010 #include <crypto/hash.h>
0011
0012 struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[],
0013 size_t key_len);
0014 void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad,
0015 const u8 *data, size_t data_len, u8 *mic);
0016 void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad,
0017 const u8 *data, size_t data_len, u8 *mic);
0018 void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm);
0019
0020 #endif