Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
internal.h File Reference
#include <crypto/algapi.h>
#include <linux/completion.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/notifier.h>
#include <linux/rwsem.h>
#include <linux/slab.h>
#include <linux/fips.h>

Go to the source code of this file.

Data Structures

struct  crypto_larval
 

Enumerations

enum  {
  CRYPTO_MSG_ALG_REQUEST, CRYPTO_MSG_ALG_REGISTER, CRYPTO_MSG_ALG_UNREGISTER, CRYPTO_MSG_TMPL_REGISTER,
  CRYPTO_MSG_TMPL_UNREGISTER
}
 

Functions

struct crypto_algcrypto_mod_get (struct crypto_alg *alg)
 
struct crypto_algcrypto_alg_lookup (const char *name, u32 type, u32 mask)
 
struct crypto_algcrypto_alg_mod_lookup (const char *name, u32 type, u32 mask)
 
int crypto_init_cipher_ops (struct crypto_tfm *tfm)
 
int crypto_init_compress_ops (struct crypto_tfm *tfm)
 
void crypto_exit_cipher_ops (struct crypto_tfm *tfm)
 
void crypto_exit_compress_ops (struct crypto_tfm *tfm)
 
struct crypto_larvalcrypto_larval_alloc (const char *name, u32 type, u32 mask)
 
void crypto_larval_kill (struct crypto_alg *alg)
 
struct crypto_algcrypto_larval_lookup (const char *name, u32 type, u32 mask)
 
void crypto_alg_tested (const char *name, int err)
 
void crypto_remove_spawns (struct crypto_alg *alg, struct list_head *list, struct crypto_alg *nalg)
 
void crypto_remove_final (struct list_head *list)
 
void crypto_shoot_alg (struct crypto_alg *alg)
 
struct crypto_tfm__crypto_alloc_tfm (struct crypto_alg *alg, u32 type, u32 mask)
 
voidcrypto_create_tfm (struct crypto_alg *alg, const struct crypto_type *frontend)
 
struct crypto_algcrypto_find_alg (const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask)
 
voidcrypto_alloc_tfm (const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask)
 
int crypto_register_notifier (struct notifier_block *nb)
 
int crypto_unregister_notifier (struct notifier_block *nb)
 
int crypto_probing_notify (unsigned long val, void *v)
 

Variables

struct list_head crypto_alg_list
 
struct rw_semaphore crypto_alg_sem
 
struct blocking_notifier_head crypto_chain
 

Enumeration Type Documentation

anonymous enum
Enumerator:
CRYPTO_MSG_ALG_REQUEST 
CRYPTO_MSG_ALG_REGISTER 
CRYPTO_MSG_ALG_UNREGISTER 
CRYPTO_MSG_TMPL_REGISTER 
CRYPTO_MSG_TMPL_UNREGISTER 

Definition at line 31 of file internal.h.

Function Documentation

struct crypto_tfm* __crypto_alloc_tfm ( struct crypto_alg alg,
u32  type,
u32  mask 
)
read

Definition at line 357 of file api.c.

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

Definition at line 196 of file api.c.

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

Definition at line 250 of file api.c.

void crypto_alg_tested ( const char name,
int  err 
)

Definition at line 226 of file algapi.c.

void* crypto_alloc_tfm ( const char alg_name,
const struct crypto_type frontend,
u32  type,
u32  mask 
)

Definition at line 531 of file api.c.

void* crypto_create_tfm ( struct crypto_alg alg,
const struct crypto_type frontend 
)

Definition at line 449 of file api.c.

void crypto_exit_cipher_ops ( struct crypto_tfm tfm)

Definition at line 120 of file cipher.c.

void crypto_exit_compress_ops ( struct crypto_tfm tfm)

Definition at line 46 of file compress.c.

struct crypto_alg* crypto_find_alg ( const char alg_name,
const struct crypto_type frontend,
u32  type,
u32  mask 
)
read

Definition at line 490 of file api.c.

int crypto_init_cipher_ops ( struct crypto_tfm tfm)

Definition at line 106 of file cipher.c.

int crypto_init_compress_ops ( struct crypto_tfm tfm)

Definition at line 36 of file compress.c.

struct crypto_larval* crypto_larval_alloc ( const char name,
u32  type,
u32  mask 
)
read

Definition at line 113 of file api.c.

void crypto_larval_kill ( struct crypto_alg alg)

Definition at line 159 of file api.c.

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

Definition at line 208 of file api.c.

struct crypto_alg* crypto_mod_get ( struct crypto_alg alg)
read

Definition at line 43 of file api.c.

int crypto_probing_notify ( unsigned long  val,
void v 
)

Definition at line 236 of file api.c.

int crypto_register_notifier ( struct notifier_block nb)

Definition at line 684 of file algapi.c.

void crypto_remove_final ( struct list_head list)

Definition at line 305 of file algapi.c.

void crypto_remove_spawns ( struct crypto_alg alg,
struct list_head list,
struct crypto_alg nalg 
)

Definition at line 114 of file algapi.c.

void crypto_shoot_alg ( struct crypto_alg alg)

Definition at line 349 of file api.c.

int crypto_unregister_notifier ( struct notifier_block nb)

Definition at line 690 of file algapi.c.

Variable Documentation

struct list_head crypto_alg_list
struct rw_semaphore crypto_alg_sem