/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Copyright 2008, Jouni Malinen <[email protected]>3*/45#ifndef AES_CMAC_H6#define AES_CMAC_H78#include <linux/crypto.h>9#include <crypto/hash.h>1011struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[],12size_t key_len);13void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad,14const u8 *data, size_t data_len, u8 *mic);15void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad,16const u8 *data, size_t data_len, u8 *mic);17void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm);1819#endif /* AES_CMAC_H */202122