Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
twofish.h File Reference
#include <linux/crypto.h>
#include <crypto/twofish.h>
#include <crypto/lrw.h>
#include <crypto/b128ops.h>

Go to the source code of this file.

Data Structures

struct  twofish_lrw_ctx
 
struct  twofish_xts_ctx
 

Functions

asmlinkage void twofish_enc_blk (struct twofish_ctx *ctx, u8 *dst, const u8 *src)
 
asmlinkage void twofish_dec_blk (struct twofish_ctx *ctx, u8 *dst, const u8 *src)
 
asmlinkage void __twofish_enc_blk_3way (struct twofish_ctx *ctx, u8 *dst, const u8 *src, bool xor)
 
asmlinkage void twofish_dec_blk_3way (struct twofish_ctx *ctx, u8 *dst, const u8 *src)
 
void twofish_dec_blk_cbc_3way (void *ctx, u128 *dst, const u128 *src)
 
void twofish_enc_blk_ctr (void *ctx, u128 *dst, const u128 *src, u128 *iv)
 
void twofish_enc_blk_ctr_3way (void *ctx, u128 *dst, const u128 *src, u128 *iv)
 
int lrw_twofish_setkey (struct crypto_tfm *tfm, const u8 *key, unsigned int keylen)
 
void lrw_twofish_exit_tfm (struct crypto_tfm *tfm)
 
int xts_twofish_setkey (struct crypto_tfm *tfm, const u8 *key, unsigned int keylen)
 

Function Documentation

asmlinkage void __twofish_enc_blk_3way ( struct twofish_ctx ctx,
u8 dst,
const u8 src,
bool  xor 
)
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.

asmlinkage void twofish_dec_blk ( struct twofish_ctx ctx,
u8 dst,
const u8 src 
)
asmlinkage void twofish_dec_blk_3way ( struct twofish_ctx ctx,
u8 dst,
const u8 src 
)
void twofish_dec_blk_cbc_3way ( void ctx,
u128 dst,
const u128 src 
)

Definition at line 51 of file twofish_glue_3way.c.

asmlinkage void twofish_enc_blk ( struct twofish_ctx ctx,
u8 dst,
const u8 src 
)
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.