00001 /* 00002 * Copyright 2008, Jouni Malinen <j@w1.fi> 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License version 2 as 00006 * published by the Free Software Foundation. 00007 */ 00008 00009 #ifndef AES_CMAC_H 00010 #define AES_CMAC_H 00011 00012 #include <linux/crypto.h> 00013 00014 struct crypto_cipher * ieee80211_aes_cmac_key_setup(const u8 key[]); 00015 void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad, 00016 const u8 *data, size_t data_len, u8 *mic); 00017 void ieee80211_aes_cmac_key_free(struct crypto_cipher *tfm); 00018 00019 #endif /* AES_CMAC_H */