Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
aead.c File Reference
#include <crypto/internal/aead.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/rtnetlink.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/seq_file.h>
#include <linux/cryptouser.h>
#include <net/netlink.h>
#include "internal.h"

Go to the source code of this file.

Functions

int crypto_aead_setauthsize (struct crypto_aead *tfm, unsigned int authsize)
 
 EXPORT_SYMBOL_GPL (crypto_aead_setauthsize)
 
 EXPORT_SYMBOL_GPL (crypto_aead_type)
 
 EXPORT_SYMBOL_GPL (crypto_nivaead_type)
 
struct crypto_instanceaead_geniv_alloc (struct crypto_template *tmpl, struct rtattr **tb, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (aead_geniv_alloc)
 
void aead_geniv_free (struct crypto_instance *inst)
 
 EXPORT_SYMBOL_GPL (aead_geniv_free)
 
int aead_geniv_init (struct crypto_tfm *tfm)
 
 EXPORT_SYMBOL_GPL (aead_geniv_init)
 
void aead_geniv_exit (struct crypto_tfm *tfm)
 
 EXPORT_SYMBOL_GPL (aead_geniv_exit)
 
struct crypto_algcrypto_lookup_aead (const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_lookup_aead)
 
int crypto_grab_aead (struct crypto_aead_spawn *spawn, const char *name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_grab_aead)
 
struct crypto_aeadcrypto_alloc_aead (const char *alg_name, u32 type, u32 mask)
 
 EXPORT_SYMBOL_GPL (crypto_alloc_aead)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Authenticated Encryption with Associated Data (AEAD)")
 

Variables

struct crypto_type crypto_aead_type
 
struct crypto_type crypto_nivaead_type
 

Function Documentation

struct crypto_instance* aead_geniv_alloc ( struct crypto_template tmpl,
struct rtattr **  tb,
u32  type,
u32  mask 
)
read

Definition at line 273 of file aead.c.

void aead_geniv_exit ( struct crypto_tfm tfm)

Definition at line 393 of file aead.c.

void aead_geniv_free ( struct crypto_instance inst)

Definition at line 370 of file aead.c.

int aead_geniv_init ( struct crypto_tfm tfm)

Definition at line 377 of file aead.c.

int crypto_aead_setauthsize ( struct crypto_aead tfm,
unsigned int  authsize 
)

Definition at line 62 of file aead.c.

struct crypto_aead* crypto_alloc_aead ( const char alg_name,
u32  type,
u32  mask 
)
read

Definition at line 528 of file aead.c.

int crypto_grab_aead ( struct crypto_aead_spawn spawn,
const char name,
u32  type,
u32  mask 
)

Definition at line 507 of file aead.c.

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

Definition at line 473 of file aead.c.

EXPORT_SYMBOL_GPL ( crypto_aead_setauthsize  )
EXPORT_SYMBOL_GPL ( crypto_aead_type  )
EXPORT_SYMBOL_GPL ( crypto_nivaead_type  )
EXPORT_SYMBOL_GPL ( aead_geniv_alloc  )
EXPORT_SYMBOL_GPL ( aead_geniv_free  )
EXPORT_SYMBOL_GPL ( aead_geniv_init  )
EXPORT_SYMBOL_GPL ( aead_geniv_exit  )
EXPORT_SYMBOL_GPL ( crypto_lookup_aead  )
EXPORT_SYMBOL_GPL ( crypto_grab_aead  )
EXPORT_SYMBOL_GPL ( crypto_alloc_aead  )
MODULE_DESCRIPTION ( "Authenticated Encryption with Associated Data (AEAD)"  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct crypto_type crypto_aead_type
Initial value:
= {
.ctxsize = crypto_aead_ctxsize,
.init = crypto_init_aead_ops,
.report = crypto_aead_report,
}

Definition at line 158 of file aead.c.

struct crypto_type crypto_nivaead_type
Initial value:
= {
.ctxsize = crypto_aead_ctxsize,
.init = crypto_init_nivaead_ops,
.report = crypto_nivaead_report,
}

Definition at line 244 of file aead.c.