Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
aes_ccm.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_ccm.h"

Go to the source code of this file.

Functions

void ieee80211_aes_ccm_encrypt (struct crypto_cipher *tfm, u8 *scratch, u8 *data, size_t data_len, u8 *cdata, u8 *mic)
 
int ieee80211_aes_ccm_decrypt (struct crypto_cipher *tfm, u8 *scratch, u8 *cdata, size_t data_len, u8 *mic, u8 *data)
 
struct crypto_cipherieee80211_aes_key_setup_encrypt (const u8 key[])
 
void ieee80211_aes_key_free (struct crypto_cipher *tfm)
 

Function Documentation

int ieee80211_aes_ccm_decrypt ( struct crypto_cipher tfm,
u8 scratch,
u8 cdata,
size_t  data_len,
u8 mic,
u8 data 
)

Definition at line 93 of file aes_ccm.c.

void ieee80211_aes_ccm_encrypt ( struct crypto_cipher tfm,
u8 scratch,
u8 data,
size_t  data_len,
u8 cdata,
u8 mic 
)

Definition at line 53 of file aes_ccm.c.

void ieee80211_aes_key_free ( struct crypto_cipher tfm)

Definition at line 147 of file aes_ccm.c.

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

Definition at line 135 of file aes_ccm.c.