Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
lrw.h File Reference
#include <crypto/b128ops.h>

Go to the source code of this file.

Data Structures

struct  lrw_table_ctx
 
struct  lrw_crypt_req
 

Macros

#define LRW_BLOCK_SIZE   16
 

Functions

int lrw_init_table (struct lrw_table_ctx *ctx, const u8 *tweak)
 
void lrw_free_table (struct lrw_table_ctx *ctx)
 
int lrw_crypt (struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes, struct lrw_crypt_req *req)
 

Macro Definition Documentation

#define LRW_BLOCK_SIZE   16

Definition at line 10 of file lrw.h.

Function Documentation

int lrw_crypt ( struct blkcipher_desc desc,
struct scatterlist dst,
struct scatterlist src,
unsigned int  nbytes,
struct lrw_crypt_req req 
)

Definition at line 217 of file lrw.c.

void lrw_free_table ( struct lrw_table_ctx ctx)

Definition at line 72 of file lrw.c.

int lrw_init_table ( struct lrw_table_ctx ctx,
const u8 tweak 
)

Definition at line 48 of file lrw.c.