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

Go to the source code of this file.

Data Structures

struct  twofish_ctx
 

Macros

#define TF_MIN_KEY_SIZE   16
 
#define TF_MAX_KEY_SIZE   32
 
#define TF_BLOCK_SIZE   16
 

Functions

int __twofish_setkey (struct twofish_ctx *ctx, const u8 *key, unsigned int key_len, u32 *flags)
 
int twofish_setkey (struct crypto_tfm *tfm, const u8 *key, unsigned int key_len)
 

Macro Definition Documentation

#define TF_BLOCK_SIZE   16

Definition at line 8 of file twofish.h.

#define TF_MAX_KEY_SIZE   32

Definition at line 7 of file twofish.h.

#define TF_MIN_KEY_SIZE   16

Definition at line 6 of file twofish.h.

Function Documentation

int __twofish_setkey ( struct twofish_ctx ctx,
const u8 key,
unsigned int  key_len,
u32 flags 
)

Definition at line 583 of file twofish_common.c.

int twofish_setkey ( struct crypto_tfm tfm,
const u8 key,
unsigned int  key_len 
)

Definition at line 703 of file twofish_common.c.