Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
twofish_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/twofish.h>
#include <crypto/cryptd.h>
#include <crypto/b128ops.h>
#include <crypto/ctr.h>
#include <crypto/lrw.h>
#include <crypto/xts.h>
#include <asm/i387.h>
#include <asm/xcr.h>
#include <asm/xsave.h>
#include <asm/crypto/twofish.h>
#include <asm/crypto/ablk_helper.h>
#include <asm/crypto/glue_helper.h>
#include <crypto/scatterwalk.h>
#include <linux/workqueue.h>
#include <linux/spinlock.h>

Go to the source code of this file.

Data Structures

struct  crypt_priv
 

Macros

#define TWOFISH_PARALLEL_BLOCKS   8
 

Functions

asmlinkage void __twofish_enc_blk_8way (struct twofish_ctx *ctx, u8 *dst, const u8 *src, bool xor)
 
asmlinkage void twofish_dec_blk_8way (struct twofish_ctx *ctx, u8 *dst, const u8 *src)
 
 module_init (twofish_init)
 
 module_exit (twofish_exit)
 
 MODULE_DESCRIPTION ("Twofish Cipher Algorithm, AVX optimized")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("twofish")
 

Macro Definition Documentation

#define TWOFISH_PARALLEL_BLOCKS   8

Definition at line 46 of file twofish_avx_glue.c.

Function Documentation

asmlinkage void __twofish_enc_blk_8way ( struct twofish_ctx ctx,
u8 dst,
const u8 src,
bool  xor 
)
MODULE_ALIAS ( "twofish"  )
MODULE_DESCRIPTION ( "Twofish Cipher  Algorithm,
AVX optimized"   
)
module_exit ( twofish_exit  )
module_init ( twofish_init  )
MODULE_LICENSE ( "GPL"  )
asmlinkage void twofish_dec_blk_8way ( struct twofish_ctx ctx,
u8 dst,
const u8 src 
)