Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
ablkcipher.c File Reference
#include <crypto/internal/skcipher.h>
#include <linux/cpumask.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/rtnetlink.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/seq_file.h>
#include <linux/cryptouser.h>
#include <net/netlink.h>
#include <crypto/scatterwalk.h>
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  ablkcipher_buffer
 

Enumerations

enum  { ABLKCIPHER_WALK_SLOW = 1 << 0 }
 

Functions

void __ablkcipher_walk_complete (struct ablkcipher_walk *walk)
 
 EXPORT_SYMBOL_GPL (__ablkcipher_walk_complete)
 
int ablkcipher_walk_done (struct ablkcipher_request *req, struct ablkcipher_walk *walk, int err)
 
 EXPORT_SYMBOL_GPL (ablkcipher_walk_done)
 
int ablkcipher_walk_phys (struct ablkcipher_request *req, struct ablkcipher_walk *walk)
 
 EXPORT_SYMBOL_GPL (ablkcipher_walk_phys)
 
int skcipher_null_givencrypt (struct skcipher_givcrypt_request *req)
 
int skcipher_null_givdecrypt (struct skcipher_givcrypt_request *req)
 
 EXPORT_SYMBOL_GPL (crypto_ablkcipher_type)
 
 EXPORT_SYMBOL_GPL (crypto_givcipher_type)
 
const charcrypto_default_geniv (const struct crypto_alg *alg)
 
struct crypto_algcrypto_lookup_skcipher (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_lookup_skcipher)
 
int crypto_grab_skcipher (struct crypto_skcipher_spawn *spawn, const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_grab_skcipher)
 
struct crypto_ablkciphercrypto_alloc_ablkcipher (const char *alg_name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_alloc_ablkcipher)
 
 module_init (skcipher_module_init)
 
 module_exit (skcipher_module_exit)
 

Variables

struct crypto_type crypto_ablkcipher_type
 
struct crypto_type crypto_givcipher_type
 

Enumeration Type Documentation

anonymous enum
Enumerator:
ABLKCIPHER_WALK_SLOW 

Definition at line 42 of file ablkcipher.c.

Function Documentation

void __ablkcipher_walk_complete ( struct ablkcipher_walk walk)

Definition at line 51 of file ablkcipher.c.

int ablkcipher_walk_done ( struct ablkcipher_request req,
struct ablkcipher_walk walk,
int  err 
)

Definition at line 111 of file ablkcipher.c.

int ablkcipher_walk_phys ( struct ablkcipher_request req,
struct ablkcipher_walk walk 
)

Definition at line 301 of file ablkcipher.c.

struct crypto_ablkcipher* crypto_alloc_ablkcipher ( const char alg_name,
u32  type,
u32  mask 
)
read

Definition at line 675 of file ablkcipher.c.

const char* crypto_default_geniv ( const struct crypto_alg alg)

Definition at line 522 of file ablkcipher.c.

int crypto_grab_skcipher ( struct crypto_skcipher_spawn spawn,
const char name,
u32  type,
u32  mask 
)

Definition at line 656 of file ablkcipher.c.

struct crypto_alg* crypto_lookup_skcipher ( const char name,
u32  type,
u32  mask 
)
read

Definition at line 616 of file ablkcipher.c.

EXPORT_SYMBOL_GPL ( __ablkcipher_walk_complete  )
EXPORT_SYMBOL_GPL ( ablkcipher_walk_done  )
EXPORT_SYMBOL_GPL ( ablkcipher_walk_phys  )
EXPORT_SYMBOL_GPL ( crypto_ablkcipher_type  )
EXPORT_SYMBOL_GPL ( crypto_givcipher_type  )
EXPORT_SYMBOL_GPL ( crypto_lookup_skcipher  )
EXPORT_SYMBOL_GPL ( crypto_grab_skcipher  )
EXPORT_SYMBOL_GPL ( crypto_alloc_ablkcipher  )
module_exit ( skcipher_module_exit  )
module_init ( skcipher_module_init  )
int skcipher_null_givdecrypt ( struct skcipher_givcrypt_request req)

Definition at line 359 of file ablkcipher.c.

int skcipher_null_givencrypt ( struct skcipher_givcrypt_request req)

Definition at line 354 of file ablkcipher.c.

Variable Documentation

struct crypto_type crypto_ablkcipher_type
Initial value:
= {
.ctxsize = crypto_ablkcipher_ctxsize,
.init = crypto_init_ablkcipher_ops,
.report = crypto_ablkcipher_report,
}

Definition at line 431 of file ablkcipher.c.

struct crypto_type crypto_givcipher_type
Initial value:
= {
.ctxsize = crypto_ablkcipher_ctxsize,
.init = crypto_init_givcipher_ops,
.report = crypto_givcipher_report,
}

Definition at line 512 of file ablkcipher.c.