Defines | Functions
aes_cmac.c File Reference
#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"
Include dependency graph for kernel-3.5/aes_cmac.c:

Go to the source code of this file.

Defines

#define AAD_LEN   20
#define AES_CMAC_KEY_LEN   16
#define CMAC_TLEN   8 /* CMAC TLen = 64 bits (8 octets) */

Functions

static void aes_128_cmac_vector (struct crypto_cipher *tfm, size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac)
static void gf_mulx (u8 *pad)
void ieee80211_aes_cmac (struct crypto_cipher *tfm, const u8 *aad, const u8 *data, size_t data_len, u8 *mic)
void ieee80211_aes_cmac_key_free (struct crypto_cipher *tfm)
struct crypto_cipher * ieee80211_aes_cmac_key_setup (const u8 key[])

Define Documentation

#define AAD_LEN   20

Definition at line 22 of file kernel-3.5/aes_cmac.c.

#define AES_CMAC_KEY_LEN   16

Definition at line 20 of file kernel-3.5/aes_cmac.c.

#define CMAC_TLEN   8 /* CMAC TLen = 64 bits (8 octets) */

Definition at line 21 of file kernel-3.5/aes_cmac.c.


Function Documentation

static void aes_128_cmac_vector ( struct crypto_cipher *  tfm,
size_t  num_elem,
const u8 addr[],
const size_t *  len,
u8 mac 
) [static]

Definition at line 38 of file kernel-3.5/aes_cmac.c.

static void gf_mulx ( u8 pad) [static]

Definition at line 25 of file kernel-3.5/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 98 of file kernel-3.5/aes_cmac.c.

void ieee80211_aes_cmac_key_free ( struct crypto_cipher *  tfm)

Definition at line 129 of file kernel-3.5/aes_cmac.c.

struct crypto_cipher* ieee80211_aes_cmac_key_setup ( const u8  key[]) [read]

Definition at line 117 of file kernel-3.5/aes_cmac.c.



ros_rt_wmp
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:11