Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
crypto.c File Reference
#include <linux/crypto.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/uwb.h>
#include <linux/slab.h>
#include <linux/usb/wusb.h>
#include <linux/scatterlist.h>

Go to the source code of this file.

Data Structures

struct  aes_ccm_block
 
struct  aes_ccm_b0
 
struct  aes_ccm_b1
 
struct  aes_ccm_a
 

Functions

 module_param (debug_crypto_verify, int, 0)
 
 MODULE_PARM_DESC (debug_crypto_verify,"verify the key generation algorithms")
 
struct aes_ccm_block __attribute__ ((packed))
 
ssize_t wusb_prf (void *out, size_t out_size, const u8 key[16], const struct aes_ccm_nonce *_n, const struct aes_ccm_label *a, const void *b, size_t blen, size_t len)
 
int wusb_crypto_init (void)
 
void wusb_crypto_exit (void)
 

Variables

u8 data [16]
 
u8 flags
 
struct aes_ccm_nonce ccm_nonce
 
__be16 lm
 
__be16 la
 
u8 mac_header [10]
 
__le16 eo
 
u8 security_reserved
 
u8 padding
 
__be16 counter
 

Function Documentation

struct aes_ccm_block __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

module_param ( debug_crypto_verify  ,
int  ,
 
)
MODULE_PARM_DESC ( debug_crypto_verify  ,
"verify the key generation algorithms"   
)
void wusb_crypto_exit ( void  )

Definition at line 515 of file crypto.c.

int wusb_crypto_init ( void  )

Definition at line 502 of file crypto.c.

ssize_t wusb_prf ( void out,
size_t  out_size,
const u8  key[16],
const struct aes_ccm_nonce _n,
const struct aes_ccm_label a,
const void b,
size_t  blen,
size_t  len 
)

Definition at line 299 of file crypto.c.

Variable Documentation

struct aes_ccm_nonce ccm_nonce

Definition at line 101 of file crypto.c.

__be16 counter

Definition at line 126 of file crypto.c.

u8 data[16]

Definition at line 77 of file crypto.c.

__le16 eo

Definition at line 111 of file crypto.c.

u8 flags

Definition at line 100 of file crypto.c.

__be16 la

Definition at line 109 of file crypto.c.

__be16 lm

Definition at line 102 of file crypto.c.

Definition at line 110 of file crypto.c.

u8 padding

Definition at line 113 of file crypto.c.

u8 security_reserved

Definition at line 112 of file crypto.c.