Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
algapi.h File Reference
#include <linux/crypto.h>
#include <linux/list.h>
#include <linux/kernel.h>
#include <linux/skbuff.h>

Go to the source code of this file.

Data Structures

struct  crypto_type
 
struct  crypto_instance
 
struct  crypto_template
 
struct  crypto_spawn
 
struct  crypto_queue
 
struct  scatter_walk
 
struct  blkcipher_walk
 
struct  ablkcipher_walk
 

Functions

void crypto_mod_put (struct crypto_alg *alg)
 
int crypto_register_template (struct crypto_template *tmpl)
 
void crypto_unregister_template (struct crypto_template *tmpl)
 
struct crypto_templatecrypto_lookup_template (const char *name)
 
int crypto_register_instance (struct crypto_template *tmpl, struct crypto_instance *inst)
 
int crypto_unregister_instance (struct crypto_alg *alg)
 
int crypto_init_spawn (struct crypto_spawn *spawn, struct crypto_alg *alg, struct crypto_instance *inst, u32 mask)
 
int crypto_init_spawn2 (struct crypto_spawn *spawn, struct crypto_alg *alg, struct crypto_instance *inst, const struct crypto_type *frontend)
 
void crypto_drop_spawn (struct crypto_spawn *spawn)
 
struct crypto_tfmcrypto_spawn_tfm (struct crypto_spawn *spawn, u32 type, u32 mask)
 
voidcrypto_spawn_tfm2 (struct crypto_spawn *spawn)
 
struct crypto_attr_typecrypto_get_attr_type (struct rtattr **tb)
 
int crypto_check_attr_type (struct rtattr **tb, u32 type)
 
const charcrypto_attr_alg_name (struct rtattr *rta)
 
struct crypto_algcrypto_attr_alg2 (struct rtattr *rta, const struct crypto_type *frontend, u32 type, u32 mask)
 
int crypto_attr_u32 (struct rtattr *rta, u32 *num)
 
voidcrypto_alloc_instance2 (const char *name, struct crypto_alg *alg, unsigned int head)
 
struct crypto_instancecrypto_alloc_instance (const char *name, struct crypto_alg *alg)
 
void crypto_init_queue (struct crypto_queue *queue, unsigned int max_qlen)
 
int crypto_enqueue_request (struct crypto_queue *queue, struct crypto_async_request *request)
 
void__crypto_dequeue_request (struct crypto_queue *queue, unsigned int offset)
 
struct crypto_async_requestcrypto_dequeue_request (struct crypto_queue *queue)
 
int crypto_tfm_in_queue (struct crypto_queue *queue, struct crypto_tfm *tfm)
 
void crypto_inc (u8 *a, unsigned int size)
 
void crypto_xor (u8 *dst, const u8 *src, unsigned int size)
 
int blkcipher_walk_done (struct blkcipher_desc *desc, struct blkcipher_walk *walk, int err)
 
int blkcipher_walk_virt (struct blkcipher_desc *desc, struct blkcipher_walk *walk)
 
int blkcipher_walk_phys (struct blkcipher_desc *desc, struct blkcipher_walk *walk)
 
int blkcipher_walk_virt_block (struct blkcipher_desc *desc, struct blkcipher_walk *walk, unsigned int blocksize)
 
int ablkcipher_walk_done (struct ablkcipher_request *req, struct ablkcipher_walk *walk, int err)
 
int ablkcipher_walk_phys (struct ablkcipher_request *req, struct ablkcipher_walk *walk)
 
void __ablkcipher_walk_complete (struct ablkcipher_walk *walk)
 

Variables

struct crypto_type crypto_ablkcipher_type
 
struct crypto_type crypto_aead_type
 
struct crypto_type crypto_blkcipher_type
 

Function Documentation

void __ablkcipher_walk_complete ( struct ablkcipher_walk walk)

Definition at line 51 of file ablkcipher.c.

void* __crypto_dequeue_request ( struct crypto_queue queue,
unsigned int  offset 
)

Definition at line 871 of file algapi.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.

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.

struct crypto_instance* crypto_alloc_instance ( const char name,
struct crypto_alg alg 
)
read

Definition at line 812 of file algapi.c.

void* crypto_alloc_instance2 ( const char name,
struct crypto_alg alg,
unsigned int  head 
)

Definition at line 781 of file algapi.c.

struct crypto_alg* crypto_attr_alg2 ( struct rtattr rta,
const struct crypto_type frontend,
u32  type,
u32  mask 
)
read

Definition at line 747 of file algapi.c.

const char* crypto_attr_alg_name ( struct rtattr rta)

Definition at line 729 of file algapi.c.

int crypto_attr_u32 ( struct rtattr rta,
u32 num 
)

Definition at line 763 of file algapi.c.

int crypto_check_attr_type ( struct rtattr **  tb,
u32  type 
)

Definition at line 714 of file algapi.c.

struct crypto_async_request* crypto_dequeue_request ( struct crypto_queue queue)
read

Definition at line 891 of file algapi.c.

void crypto_drop_spawn ( struct crypto_spawn spawn)

Definition at line 605 of file algapi.c.

int crypto_enqueue_request ( struct crypto_queue queue,
struct crypto_async_request request 
)

Definition at line 850 of file algapi.c.

struct crypto_attr_type* crypto_get_attr_type ( struct rtattr **  tb)
read

Definition at line 696 of file algapi.c.

void crypto_inc ( u8 a,
unsigned int  size 
)

Definition at line 923 of file algapi.c.

void crypto_init_queue ( struct crypto_queue queue,
unsigned int  max_qlen 
)

Definition at line 841 of file algapi.c.

int crypto_init_spawn ( struct crypto_spawn spawn,
struct crypto_alg alg,
struct crypto_instance inst,
u32  mask 
)

Definition at line 568 of file algapi.c.

int crypto_init_spawn2 ( struct crypto_spawn spawn,
struct crypto_alg alg,
struct crypto_instance inst,
const struct crypto_type frontend 
)

Definition at line 588 of file algapi.c.

struct crypto_template* crypto_lookup_template ( const char name)
read

Definition at line 496 of file algapi.c.

void crypto_mod_put ( struct crypto_alg alg)

Definition at line 49 of file api.c.

int crypto_register_instance ( struct crypto_template tmpl,
struct crypto_instance inst 
)

Definition at line 502 of file algapi.c.

int crypto_register_template ( struct crypto_template tmpl)

Definition at line 426 of file algapi.c.

struct crypto_tfm* crypto_spawn_tfm ( struct crypto_spawn spawn,
u32  type,
u32  mask 
)
read

Definition at line 637 of file algapi.c.

void* crypto_spawn_tfm2 ( struct crypto_spawn spawn)

Definition at line 663 of file algapi.c.

int crypto_tfm_in_queue ( struct crypto_queue queue,
struct crypto_tfm tfm 
)

Definition at line 897 of file algapi.c.

int crypto_unregister_instance ( struct crypto_alg alg)

Definition at line 539 of file algapi.c.

void crypto_unregister_template ( struct crypto_template tmpl)

Definition at line 447 of file algapi.c.

void crypto_xor ( u8 dst,
const u8 src,
unsigned int  size 
)

Definition at line 945 of file algapi.c.

Variable Documentation

struct crypto_type crypto_ablkcipher_type

Definition at line 431 of file ablkcipher.c.

struct crypto_type crypto_aead_type

Definition at line 158 of file aead.c.

struct crypto_type crypto_blkcipher_type

Definition at line 539 of file blkcipher.c.