Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
blkcipher.c File Reference
#include <crypto/internal/skcipher.h>
#include <crypto/scatterwalk.h>
#include <linux/errno.h>
#include <linux/hardirq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/cryptouser.h>
#include <net/netlink.h>
#include "internal.h"

Go to the source code of this file.

Enumerations

enum  { BLKCIPHER_WALK_PHYS = 1 << 0, BLKCIPHER_WALK_SLOW = 1 << 1, BLKCIPHER_WALK_COPY = 1 << 2, BLKCIPHER_WALK_DIFF = 1 << 3 }
 

Functions

int blkcipher_walk_done (struct blkcipher_desc *desc, struct blkcipher_walk *walk, int err)
 
 EXPORT_SYMBOL_GPL (blkcipher_walk_done)
 
int blkcipher_walk_virt (struct blkcipher_desc *desc, struct blkcipher_walk *walk)
 
 EXPORT_SYMBOL_GPL (blkcipher_walk_virt)
 
int blkcipher_walk_phys (struct blkcipher_desc *desc, struct blkcipher_walk *walk)
 
 EXPORT_SYMBOL_GPL (blkcipher_walk_phys)
 
int blkcipher_walk_virt_block (struct blkcipher_desc *desc, struct blkcipher_walk *walk, unsigned int blocksize)
 
 EXPORT_SYMBOL_GPL (blkcipher_walk_virt_block)
 
 EXPORT_SYMBOL_GPL (crypto_blkcipher_type)
 
struct crypto_instanceskcipher_geniv_alloc (struct crypto_template *tmpl, struct rtattr **tb, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (skcipher_geniv_alloc)
 
void skcipher_geniv_free (struct crypto_instance *inst)
 
 EXPORT_SYMBOL_GPL (skcipher_geniv_free)
 
int skcipher_geniv_init (struct crypto_tfm *tfm)
 
 EXPORT_SYMBOL_GPL (skcipher_geniv_init)
 
void skcipher_geniv_exit (struct crypto_tfm *tfm)
 
 EXPORT_SYMBOL_GPL (skcipher_geniv_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Generic block chaining cipher type")
 

Variables

struct crypto_type crypto_blkcipher_type
 

Enumeration Type Documentation

anonymous enum
Enumerator:
BLKCIPHER_WALK_PHYS 
BLKCIPHER_WALK_SLOW 
BLKCIPHER_WALK_COPY 
BLKCIPHER_WALK_DIFF 

Definition at line 32 of file blkcipher.c.

Function Documentation

int blkcipher_walk_done ( struct blkcipher_desc desc,
struct blkcipher_walk walk,
int  err 
)

Definition at line 105 of file blkcipher.c.

int blkcipher_walk_phys ( struct blkcipher_desc desc,
struct blkcipher_walk walk 
)

Definition at line 314 of file blkcipher.c.

int blkcipher_walk_virt ( struct blkcipher_desc desc,
struct blkcipher_walk walk 
)

Definition at line 305 of file blkcipher.c.

int blkcipher_walk_virt_block ( struct blkcipher_desc desc,
struct blkcipher_walk walk,
unsigned int  blocksize 
)

Definition at line 351 of file blkcipher.c.

EXPORT_SYMBOL_GPL ( blkcipher_walk_done  )
EXPORT_SYMBOL_GPL ( blkcipher_walk_virt  )
EXPORT_SYMBOL_GPL ( blkcipher_walk_phys  )
EXPORT_SYMBOL_GPL ( blkcipher_walk_virt_block  )
EXPORT_SYMBOL_GPL ( crypto_blkcipher_type  )
EXPORT_SYMBOL_GPL ( skcipher_geniv_alloc  )
EXPORT_SYMBOL_GPL ( skcipher_geniv_free  )
EXPORT_SYMBOL_GPL ( skcipher_geniv_init  )
EXPORT_SYMBOL_GPL ( skcipher_geniv_exit  )
MODULE_DESCRIPTION ( "Generic block chaining cipher type )
MODULE_LICENSE ( "GPL"  )
struct crypto_instance* skcipher_geniv_alloc ( struct crypto_template tmpl,
struct rtattr **  tb,
u32  type,
u32  mask 
)
read

Definition at line 567 of file blkcipher.c.

void skcipher_geniv_exit ( struct crypto_tfm tfm)

Definition at line 725 of file blkcipher.c.

void skcipher_geniv_free ( struct crypto_instance inst)

Definition at line 702 of file blkcipher.c.

int skcipher_geniv_init ( struct crypto_tfm tfm)

Definition at line 709 of file blkcipher.c.

Variable Documentation

struct crypto_type crypto_blkcipher_type
Initial value:
= {
.ctxsize = crypto_blkcipher_ctxsize,
.init = crypto_init_blkcipher_ops,
.report = crypto_blkcipher_report,
}

Definition at line 539 of file blkcipher.c.