Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tea.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mm.h>
#include <asm/byteorder.h>
#include <linux/crypto.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  tea_ctx
 
struct  xtea_ctx
 

Macros

#define TEA_KEY_SIZE   16
 
#define TEA_BLOCK_SIZE   8
 
#define TEA_ROUNDS   32
 
#define TEA_DELTA   0x9e3779b9
 
#define XTEA_KEY_SIZE   16
 
#define XTEA_BLOCK_SIZE   8
 
#define XTEA_ROUNDS   32
 
#define XTEA_DELTA   0x9e3779b9
 

Functions

 MODULE_ALIAS ("xtea")
 
 MODULE_ALIAS ("xeta")
 
 module_init (tea_mod_init)
 
 module_exit (tea_mod_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("TEA, XTEA & XETA Cryptographic Algorithms")
 

Macro Definition Documentation

#define TEA_BLOCK_SIZE   8

Definition at line 30 of file tea.c.

#define TEA_DELTA   0x9e3779b9

Definition at line 32 of file tea.c.

#define TEA_KEY_SIZE   16

Definition at line 29 of file tea.c.

#define TEA_ROUNDS   32

Definition at line 31 of file tea.c.

#define XTEA_BLOCK_SIZE   8

Definition at line 35 of file tea.c.

#define XTEA_DELTA   0x9e3779b9

Definition at line 37 of file tea.c.

#define XTEA_KEY_SIZE   16

Definition at line 34 of file tea.c.

#define XTEA_ROUNDS   32

Definition at line 36 of file tea.c.

Function Documentation

MODULE_ALIAS ( "xtea"  )
MODULE_ALIAS ( "xeta"  )
MODULE_DESCRIPTION ( TEA,
XTEA &XETA Cryptographic Algorithms"   
)
module_exit ( tea_mod_fini  )
module_init ( tea_mod_init  )
MODULE_LICENSE ( "GPL"  )