Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
lrw.c File Reference
#include <crypto/algapi.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <crypto/b128ops.h>
#include <crypto/gf128mul.h>
#include <crypto/lrw.h>

Go to the source code of this file.

Data Structures

struct  priv
 
struct  sinfo
 

Functions

int lrw_init_table (struct lrw_table_ctx *ctx, const u8 *tweak)
 
 EXPORT_SYMBOL_GPL (lrw_init_table)
 
void lrw_free_table (struct lrw_table_ctx *ctx)
 
 EXPORT_SYMBOL_GPL (lrw_free_table)
 
int lrw_crypt (struct blkcipher_desc *desc, struct scatterlist *sdst, struct scatterlist *ssrc, unsigned int nbytes, struct lrw_crypt_req *req)
 
 EXPORT_SYMBOL_GPL (lrw_crypt)
 
 module_init (crypto_module_init)
 
 module_exit (crypto_module_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("LRW block cipher mode")
 

Function Documentation

EXPORT_SYMBOL_GPL ( lrw_init_table  )
EXPORT_SYMBOL_GPL ( lrw_free_table  )
EXPORT_SYMBOL_GPL ( lrw_crypt  )
int lrw_crypt ( struct blkcipher_desc desc,
struct scatterlist sdst,
struct scatterlist ssrc,
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.

MODULE_DESCRIPTION ( "LRW block cipher mode )
module_exit ( crypto_module_exit  )
module_init ( crypto_module_init  )
MODULE_LICENSE ( "GPL"  )