1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2008, Jouni Malinen <j@w1.fi>
9 #include <linux/crypto.h>
10 #include <crypto/hash.h>
12 struct crypto_shash
*ieee80211_aes_cmac_key_setup(const u8 key
[],
14 void ieee80211_aes_cmac(struct crypto_shash
*tfm
, const u8
*aad
,
15 const u8
*data
, size_t data_len
, u8
*mic
);
16 void ieee80211_aes_cmac_256(struct crypto_shash
*tfm
, const u8
*aad
,
17 const u8
*data
, size_t data_len
, u8
*mic
);
18 void ieee80211_aes_cmac_key_free(struct crypto_shash
*tfm
);
20 #endif /* AES_CMAC_H */