Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cast6_avx_glue.c File Reference
#include <linux/module.h>
#include <linux/hardirq.h>
#include <linux/types.h>
#include <linux/crypto.h>
#include <linux/err.h>
#include <crypto/algapi.h>
#include <crypto/cast6.h>
#include <crypto/cryptd.h>
#include <crypto/b128ops.h>
#include <crypto/ctr.h>
#include <crypto/lrw.h>
#include <crypto/xts.h>
#include <asm/xcr.h>
#include <asm/xsave.h>
#include <asm/crypto/ablk_helper.h>
#include <asm/crypto/glue_helper.h>

Go to the source code of this file.

Data Structures

struct  crypt_priv
 
struct  cast6_lrw_ctx
 
struct  cast6_xts_ctx
 

Macros

#define CAST6_PARALLEL_BLOCKS   8
 

Functions

asmlinkage void __cast6_enc_blk_8way (struct cast6_ctx *ctx, u8 *dst, const u8 *src, bool xor)
 
asmlinkage void cast6_dec_blk_8way (struct cast6_ctx *ctx, u8 *dst, const u8 *src)
 
 module_init (cast6_init)
 
 module_exit (cast6_exit)
 
 MODULE_DESCRIPTION ("Cast6 Cipher Algorithm, AVX optimized")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("cast6")
 

Macro Definition Documentation

#define CAST6_PARALLEL_BLOCKS   8

Definition at line 41 of file cast6_avx_glue.c.

Function Documentation

asmlinkage void __cast6_enc_blk_8way ( struct cast6_ctx ctx,
u8 dst,
const u8 src,
bool  xor 
)
asmlinkage void cast6_dec_blk_8way ( struct cast6_ctx ctx,
u8 dst,
const u8 src 
)
MODULE_ALIAS ( "cast6"  )
MODULE_DESCRIPTION ( "Cast6 Cipher  Algorithm,
AVX optimized"   
)
module_exit ( cast6_exit  )
module_init ( cast6_init  )
MODULE_LICENSE ( "GPL"  )