]>
Commit | Line | Data |
---|---|---|
d2912cb1 | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
765cb46a JM |
2 | /* |
3 | * Copyright 2008, Jouni Malinen <[email protected]> | |
765cb46a JM |
4 | */ |
5 | ||
6 | #ifndef AES_CMAC_H | |
7 | #define AES_CMAC_H | |
8 | ||
9 | #include <linux/crypto.h> | |
26717828 | 10 | #include <crypto/hash.h> |
765cb46a | 11 | |
26717828 AB |
12 | struct crypto_shash *ieee80211_aes_cmac_key_setup(const u8 key[], |
13 | size_t key_len); | |
14 | void ieee80211_aes_cmac(struct crypto_shash *tfm, const u8 *aad, | |
765cb46a | 15 | const u8 *data, size_t data_len, u8 *mic); |
26717828 | 16 | void ieee80211_aes_cmac_256(struct crypto_shash *tfm, const u8 *aad, |
56c52da2 | 17 | const u8 *data, size_t data_len, u8 *mic); |
26717828 | 18 | void ieee80211_aes_cmac_key_free(struct crypto_shash *tfm); |
765cb46a JM |
19 | |
20 | #endif /* AES_CMAC_H */ |