Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/err.h>
#include <crypto/aes.h>
#include <net/mac80211.h>
#include "key.h"
#include "aes_cmac.h"
Go to the source code of this file.
Macros | |
#define | AES_CMAC_KEY_LEN 16 |
#define | CMAC_TLEN 8 /* CMAC TLen = 64 bits (8 octets) */ |
#define | AAD_LEN 20 |
Functions | |
void | ieee80211_aes_cmac (struct crypto_cipher *tfm, const u8 *aad, const u8 *data, size_t data_len, u8 *mic) |
struct crypto_cipher * | ieee80211_aes_cmac_key_setup (const u8 key[]) |
void | ieee80211_aes_cmac_key_free (struct crypto_cipher *tfm) |
#define AAD_LEN 20 |
Definition at line 22 of file aes_cmac.c.
#define AES_CMAC_KEY_LEN 16 |
Definition at line 20 of file aes_cmac.c.
#define CMAC_TLEN 8 /* CMAC TLen = 64 bits (8 octets) */ |
Definition at line 21 of file aes_cmac.c.
void ieee80211_aes_cmac | ( | struct crypto_cipher * | tfm, |
const u8 * | aad, | ||
const u8 * | data, | ||
size_t | data_len, | ||
u8 * | mic | ||
) |
Definition at line 94 of file aes_cmac.c.
void ieee80211_aes_cmac_key_free | ( | struct crypto_cipher * | tfm | ) |
Definition at line 125 of file aes_cmac.c.
|
read |
Definition at line 113 of file aes_cmac.c.