Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
twofish_glue_3way.c File Reference
#include <asm/processor.h>
#include <linux/crypto.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/types.h>
#include <crypto/algapi.h>
#include <crypto/twofish.h>
#include <crypto/b128ops.h>
#include <asm/crypto/twofish.h>
#include <asm/crypto/glue_helper.h>
#include <crypto/lrw.h>
#include <crypto/xts.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (__twofish_enc_blk_3way)
 
 EXPORT_SYMBOL_GPL (twofish_dec_blk_3way)
 
void twofish_dec_blk_cbc_3way (void *ctx, u128 *dst, const u128 *src)
 
 EXPORT_SYMBOL_GPL (twofish_dec_blk_cbc_3way)
 
void twofish_enc_blk_ctr (void *ctx, u128 *dst, const u128 *src, u128 *iv)
 
 EXPORT_SYMBOL_GPL (twofish_enc_blk_ctr)
 
void twofish_enc_blk_ctr_3way (void *ctx, u128 *dst, const u128 *src, u128 *iv)
 
 EXPORT_SYMBOL_GPL (twofish_enc_blk_ctr_3way)
 
int lrw_twofish_setkey (struct crypto_tfm *tfm, const u8 *key, unsigned int keylen)
 
 EXPORT_SYMBOL_GPL (lrw_twofish_setkey)
 
void lrw_twofish_exit_tfm (struct crypto_tfm *tfm)
 
 EXPORT_SYMBOL_GPL (lrw_twofish_exit_tfm)
 
int xts_twofish_setkey (struct crypto_tfm *tfm, const u8 *key, unsigned int keylen)
 
 EXPORT_SYMBOL_GPL (xts_twofish_setkey)
 
 module_param (force, int, 0)
 
 MODULE_PARM_DESC (force,"Force module load, ignore CPU blacklist")
 
 module_init (init)
 
 module_exit (fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Twofish Cipher Algorithm, 3-way parallel asm optimized")
 
 MODULE_ALIAS ("twofish")
 
 MODULE_ALIAS ("twofish-asm")
 

Function Documentation

EXPORT_SYMBOL_GPL ( __twofish_enc_blk_3way  )
EXPORT_SYMBOL_GPL ( twofish_dec_blk_3way  )
EXPORT_SYMBOL_GPL ( twofish_dec_blk_cbc_3way  )
EXPORT_SYMBOL_GPL ( twofish_enc_blk_ctr  )
EXPORT_SYMBOL_GPL ( twofish_enc_blk_ctr_3way  )
EXPORT_SYMBOL_GPL ( lrw_twofish_setkey  )
EXPORT_SYMBOL_GPL ( lrw_twofish_exit_tfm  )
EXPORT_SYMBOL_GPL ( xts_twofish_setkey  )
void lrw_twofish_exit_tfm ( struct crypto_tfm tfm)

Definition at line 265 of file twofish_glue_3way.c.

int lrw_twofish_setkey ( struct crypto_tfm tfm,
const u8 key,
unsigned int  keylen 
)

Definition at line 216 of file twofish_glue_3way.c.

MODULE_ALIAS ( "twofish"  )
MODULE_ALIAS ( "twofish-asm )
MODULE_DESCRIPTION ( "Twofish Cipher  Algorithm,
3-way parallel asm optimized"   
)
module_exit ( fini  )
module_init ( init  )
MODULE_LICENSE ( "GPL"  )
module_param ( force  ,
int  ,
 
)
MODULE_PARM_DESC ( force  ,
"Force module  load,
ignore CPU blacklist"   
)
void twofish_dec_blk_cbc_3way ( void ctx,
u128 dst,
const u128 src 
)

Definition at line 51 of file twofish_glue_3way.c.

void twofish_enc_blk_ctr ( void ctx,
u128 dst,
const u128 src,
u128 iv 
)

Definition at line 65 of file twofish_glue_3way.c.

void twofish_enc_blk_ctr_3way ( void ctx,
u128 dst,
const u128 src,
u128 iv 
)

Definition at line 80 of file twofish_glue_3way.c.

int xts_twofish_setkey ( struct crypto_tfm tfm,
const u8 key,
unsigned int  keylen 
)

Definition at line 273 of file twofish_glue_3way.c.