Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cryptd.c File Reference
#include <crypto/algapi.h>
#include <crypto/internal/hash.h>
#include <crypto/internal/aead.h>
#include <crypto/cryptd.h>
#include <crypto/crypto_wq.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/scatterlist.h>
#include <linux/sched.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  cryptd_cpu_queue
 
struct  cryptd_queue
 
struct  cryptd_instance_ctx
 
struct  hashd_instance_ctx
 
struct  aead_instance_ctx
 
struct  cryptd_blkcipher_ctx
 
struct  cryptd_blkcipher_request_ctx
 
struct  cryptd_hash_ctx
 
struct  cryptd_hash_request_ctx
 
struct  cryptd_aead_ctx
 
struct  cryptd_aead_request_ctx
 

Macros

#define CRYPTD_MAX_CPU_QLEN   100
 

Functions

struct cryptd_ablkciphercryptd_alloc_ablkcipher (const char *alg_name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (cryptd_alloc_ablkcipher)
 
struct crypto_blkciphercryptd_ablkcipher_child (struct cryptd_ablkcipher *tfm)
 
 EXPORT_SYMBOL_GPL (cryptd_ablkcipher_child)
 
void cryptd_free_ablkcipher (struct cryptd_ablkcipher *tfm)
 
 EXPORT_SYMBOL_GPL (cryptd_free_ablkcipher)
 
struct cryptd_ahashcryptd_alloc_ahash (const char *alg_name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (cryptd_alloc_ahash)
 
struct crypto_shashcryptd_ahash_child (struct cryptd_ahash *tfm)
 
 EXPORT_SYMBOL_GPL (cryptd_ahash_child)
 
struct shash_desccryptd_shash_desc (struct ahash_request *req)
 
 EXPORT_SYMBOL_GPL (cryptd_shash_desc)
 
void cryptd_free_ahash (struct cryptd_ahash *tfm)
 
 EXPORT_SYMBOL_GPL (cryptd_free_ahash)
 
struct cryptd_aeadcryptd_alloc_aead (const char *alg_name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (cryptd_alloc_aead)
 
struct crypto_aeadcryptd_aead_child (struct cryptd_aead *tfm)
 
 EXPORT_SYMBOL_GPL (cryptd_aead_child)
 
void cryptd_free_aead (struct cryptd_aead *tfm)
 
 EXPORT_SYMBOL_GPL (cryptd_free_aead)
 
 subsys_initcall (cryptd_init)
 
 module_exit (cryptd_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Software async crypto daemon")
 

Macro Definition Documentation

#define CRYPTD_MAX_CPU_QLEN   100

Definition at line 34 of file cryptd.c.

Function Documentation

struct crypto_blkcipher* cryptd_ablkcipher_child ( struct cryptd_ablkcipher tfm)
read

Definition at line 843 of file cryptd.c.

struct crypto_aead* cryptd_aead_child ( struct cryptd_aead tfm)
read

Definition at line 918 of file cryptd.c.

struct crypto_shash* cryptd_ahash_child ( struct cryptd_ahash tfm)
read

Definition at line 877 of file cryptd.c.

struct cryptd_ablkcipher* cryptd_alloc_ablkcipher ( const char alg_name,
u32  type,
u32  mask 
)
read

Definition at line 818 of file cryptd.c.

struct cryptd_aead* cryptd_alloc_aead ( const char alg_name,
u32  type,
u32  mask 
)
read

Definition at line 898 of file cryptd.c.

struct cryptd_ahash* cryptd_alloc_ahash ( const char alg_name,
u32  type,
u32  mask 
)
read

Definition at line 856 of file cryptd.c.

void cryptd_free_ablkcipher ( struct cryptd_ablkcipher tfm)

Definition at line 850 of file cryptd.c.

void cryptd_free_aead ( struct cryptd_aead tfm)

Definition at line 926 of file cryptd.c.

void cryptd_free_ahash ( struct cryptd_ahash tfm)

Definition at line 892 of file cryptd.c.

struct shash_desc* cryptd_shash_desc ( struct ahash_request req)
read

Definition at line 885 of file cryptd.c.

EXPORT_SYMBOL_GPL ( cryptd_alloc_ablkcipher  )
EXPORT_SYMBOL_GPL ( cryptd_ablkcipher_child  )
EXPORT_SYMBOL_GPL ( cryptd_free_ablkcipher  )
EXPORT_SYMBOL_GPL ( cryptd_alloc_ahash  )
EXPORT_SYMBOL_GPL ( cryptd_ahash_child  )
EXPORT_SYMBOL_GPL ( cryptd_shash_desc  )
EXPORT_SYMBOL_GPL ( cryptd_free_ahash  )
EXPORT_SYMBOL_GPL ( cryptd_alloc_aead  )
EXPORT_SYMBOL_GPL ( cryptd_aead_child  )
EXPORT_SYMBOL_GPL ( cryptd_free_aead  )
MODULE_DESCRIPTION ( "Software async crypto daemon"  )
module_exit ( cryptd_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( cryptd_init  )