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

Go to the source code of this file.

Data Structures

struct  crypto_hash_walk
 
struct  ahash_instance
 
struct  shash_instance
 
struct  crypto_ahash_spawn
 
struct  crypto_shash_spawn
 

Functions

int crypto_hash_walk_done (struct crypto_hash_walk *walk, int err)
 
int crypto_hash_walk_first (struct ahash_request *req, struct crypto_hash_walk *walk)
 
int crypto_hash_walk_first_compat (struct hash_desc *hdesc, struct crypto_hash_walk *walk, struct scatterlist *sg, unsigned int len)
 
int crypto_register_ahash (struct ahash_alg *alg)
 
int crypto_unregister_ahash (struct ahash_alg *alg)
 
int ahash_register_instance (struct crypto_template *tmpl, struct ahash_instance *inst)
 
void ahash_free_instance (struct crypto_instance *inst)
 
int crypto_init_ahash_spawn (struct crypto_ahash_spawn *spawn, struct hash_alg_common *alg, struct crypto_instance *inst)
 
struct hash_alg_commonahash_attr_alg (struct rtattr *rta, u32 type, u32 mask)
 
int crypto_register_shash (struct shash_alg *alg)
 
int crypto_unregister_shash (struct shash_alg *alg)
 
int crypto_register_shashes (struct shash_alg *algs, int count)
 
int crypto_unregister_shashes (struct shash_alg *algs, int count)
 
int shash_register_instance (struct crypto_template *tmpl, struct shash_instance *inst)
 
void shash_free_instance (struct crypto_instance *inst)
 
int crypto_init_shash_spawn (struct crypto_shash_spawn *spawn, struct shash_alg *alg, struct crypto_instance *inst)
 
struct shash_algshash_attr_alg (struct rtattr *rta, u32 type, u32 mask)
 
int shash_ahash_update (struct ahash_request *req, struct shash_desc *desc)
 
int shash_ahash_finup (struct ahash_request *req, struct shash_desc *desc)
 
int shash_ahash_digest (struct ahash_request *req, struct shash_desc *desc)
 
int crypto_init_shash_ops_async (struct crypto_tfm *tfm)
 

Variables

struct crypto_type crypto_ahash_type
 

Function Documentation

struct hash_alg_common* ahash_attr_alg ( struct rtattr rta,
u32  type,
u32  mask 
)
read

Definition at line 523 of file ahash.c.

void ahash_free_instance ( struct crypto_instance inst)

Definition at line 507 of file ahash.c.

int ahash_register_instance ( struct crypto_template tmpl,
struct ahash_instance inst 
)

Definition at line 494 of file ahash.c.

int crypto_hash_walk_done ( struct crypto_hash_walk walk,
int  err 
)

Definition at line 78 of file ahash.c.

int crypto_hash_walk_first ( struct ahash_request req,
struct crypto_hash_walk walk 
)

Definition at line 117 of file ahash.c.

int crypto_hash_walk_first_compat ( struct hash_desc hdesc,
struct crypto_hash_walk walk,
struct scatterlist sg,
unsigned int  len 
)

Definition at line 133 of file ahash.c.

int crypto_init_ahash_spawn ( struct crypto_ahash_spawn spawn,
struct hash_alg_common alg,
struct crypto_instance inst 
)

Definition at line 514 of file ahash.c.

int crypto_init_shash_ops_async ( struct crypto_tfm tfm)

Definition at line 331 of file shash.c.

int crypto_init_shash_spawn ( struct crypto_shash_spawn spawn,
struct shash_alg alg,
struct crypto_instance inst 
)

Definition at line 688 of file shash.c.

int crypto_register_ahash ( struct ahash_alg alg)

Definition at line 475 of file ahash.c.

int crypto_register_shash ( struct shash_alg alg)

Definition at line 613 of file shash.c.

int crypto_register_shashes ( struct shash_alg algs,
int  count 
)

Definition at line 632 of file shash.c.

int crypto_unregister_ahash ( struct ahash_alg alg)

Definition at line 488 of file ahash.c.

int crypto_unregister_shash ( struct shash_alg alg)

Definition at line 626 of file shash.c.

int crypto_unregister_shashes ( struct shash_alg algs,
int  count 
)

Definition at line 652 of file shash.c.

int shash_ahash_digest ( struct ahash_request req,
struct shash_desc desc 
)

Definition at line 274 of file shash.c.

int shash_ahash_finup ( struct ahash_request req,
struct shash_desc desc 
)

Definition at line 242 of file shash.c.

int shash_ahash_update ( struct ahash_request req,
struct shash_desc desc 
)

Definition at line 219 of file shash.c.

struct shash_alg* shash_attr_alg ( struct rtattr rta,
u32  type,
u32  mask 
)
read

Definition at line 697 of file shash.c.

void shash_free_instance ( struct crypto_instance inst)

Definition at line 681 of file shash.c.

int shash_register_instance ( struct crypto_template tmpl,
struct shash_instance inst 
)

Definition at line 668 of file shash.c.

Variable Documentation

struct crypto_type crypto_ahash_type

Definition at line 439 of file ahash.c.