Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
api.c File Reference
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/kmod.h>
#include <linux/module.h>
#include <linux/param.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "internal.h"

Go to the source code of this file.

Functions

 LIST_HEAD (crypto_alg_list)
 
 EXPORT_SYMBOL_GPL (crypto_alg_list)
 
 DECLARE_RWSEM (crypto_alg_sem)
 
 EXPORT_SYMBOL_GPL (crypto_alg_sem)
 
 BLOCKING_NOTIFIER_HEAD (crypto_chain)
 
 EXPORT_SYMBOL_GPL (crypto_chain)
 
struct crypto_algcrypto_mod_get (struct crypto_alg *alg)
 
 EXPORT_SYMBOL_GPL (crypto_mod_get)
 
void crypto_mod_put (struct crypto_alg *alg)
 
 EXPORT_SYMBOL_GPL (crypto_mod_put)
 
struct crypto_larvalcrypto_larval_alloc (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_larval_alloc)
 
void crypto_larval_kill (struct crypto_alg *alg)
 
 EXPORT_SYMBOL_GPL (crypto_larval_kill)
 
struct crypto_algcrypto_alg_lookup (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_alg_lookup)
 
struct crypto_algcrypto_larval_lookup (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_larval_lookup)
 
int crypto_probing_notify (unsigned long val, void *v)
 
 EXPORT_SYMBOL_GPL (crypto_probing_notify)
 
struct crypto_algcrypto_alg_mod_lookup (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_alg_mod_lookup)
 
void crypto_shoot_alg (struct crypto_alg *alg)
 
 EXPORT_SYMBOL_GPL (crypto_shoot_alg)
 
struct crypto_tfm__crypto_alloc_tfm (struct crypto_alg *alg, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (__crypto_alloc_tfm)
 
struct crypto_tfmcrypto_alloc_base (const char *alg_name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_alloc_base)
 
voidcrypto_create_tfm (struct crypto_alg *alg, const struct crypto_type *frontend)
 
 EXPORT_SYMBOL_GPL (crypto_create_tfm)
 
struct crypto_algcrypto_find_alg (const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_find_alg)
 
voidcrypto_alloc_tfm (const char *alg_name, const struct crypto_type *frontend, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_alloc_tfm)
 
void crypto_destroy_tfm (void *mem, struct crypto_tfm *tfm)
 
 EXPORT_SYMBOL_GPL (crypto_destroy_tfm)
 
int crypto_has_alg (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_has_alg)
 
 MODULE_DESCRIPTION ("Cryptographic core API")
 
 MODULE_LICENSE ("GPL")
 

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.

BLOCKING_NOTIFIER_HEAD ( crypto_chain  )
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.

struct crypto_tfm* crypto_alloc_base ( const char alg_name,
u32  type,
u32  mask 
)
read

Definition at line 415 of file api.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_destroy_tfm ( void mem,
struct crypto_tfm tfm 
)

Definition at line 574 of file api.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_has_alg ( const char name,
u32  type,
u32  mask 
)

Definition at line 591 of file api.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.

void crypto_mod_put ( struct crypto_alg alg)

Definition at line 49 of file api.c.

int crypto_probing_notify ( unsigned long  val,
void v 
)

Definition at line 236 of file api.c.

void crypto_shoot_alg ( struct crypto_alg alg)

Definition at line 349 of file api.c.

DECLARE_RWSEM ( crypto_alg_sem  )
EXPORT_SYMBOL_GPL ( crypto_alg_list  )
EXPORT_SYMBOL_GPL ( crypto_alg_sem  )
EXPORT_SYMBOL_GPL ( crypto_chain  )
EXPORT_SYMBOL_GPL ( crypto_mod_get  )
EXPORT_SYMBOL_GPL ( crypto_mod_put  )
EXPORT_SYMBOL_GPL ( crypto_larval_alloc  )
EXPORT_SYMBOL_GPL ( crypto_larval_kill  )
EXPORT_SYMBOL_GPL ( crypto_alg_lookup  )
EXPORT_SYMBOL_GPL ( crypto_larval_lookup  )
EXPORT_SYMBOL_GPL ( crypto_probing_notify  )
EXPORT_SYMBOL_GPL ( crypto_alg_mod_lookup  )
EXPORT_SYMBOL_GPL ( crypto_shoot_alg  )
EXPORT_SYMBOL_GPL ( __crypto_alloc_tfm  )
EXPORT_SYMBOL_GPL ( crypto_alloc_base  )
EXPORT_SYMBOL_GPL ( crypto_create_tfm  )
EXPORT_SYMBOL_GPL ( crypto_find_alg  )
EXPORT_SYMBOL_GPL ( crypto_alloc_tfm  )
EXPORT_SYMBOL_GPL ( crypto_destroy_tfm  )
EXPORT_SYMBOL_GPL ( crypto_has_alg  )
LIST_HEAD ( crypto_alg_list  )
MODULE_DESCRIPTION ( "Cryptographic core API"  )
MODULE_LICENSE ( "GPL"  )