Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
dm-crypt.c File Reference
#include <linux/completion.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/mempool.h>
#include <linux/slab.h>
#include <linux/crypto.h>
#include <linux/workqueue.h>
#include <linux/backing-dev.h>
#include <linux/percpu.h>
#include <linux/atomic.h>
#include <linux/scatterlist.h>
#include <asm/page.h>
#include <asm/unaligned.h>
#include <crypto/hash.h>
#include <crypto/md5.h>
#include <crypto/algapi.h>
#include <linux/device-mapper.h>

Go to the source code of this file.

Data Structures

struct  convert_context
 
struct  dm_crypt_io
 
struct  dm_crypt_request
 
struct  crypt_iv_operations
 
struct  iv_essiv_private
 
struct  iv_benbi_private
 
struct  iv_lmk_private
 
struct  crypt_cpu
 
struct  crypt_config
 

Macros

#define DM_MSG_PREFIX   "crypt"
 
#define LMK_SEED_SIZE   64 /* hash + 0 */
 
#define MIN_IOS   16
 
#define MIN_POOL_PAGES   32
 

Enumerations

enum  flags { DM_CRYPT_SUSPENDED, DM_CRYPT_KEY_VALID }
 

Functions

 module_init (dm_crypt_init)
 
 module_exit (dm_crypt_exit)
 
 MODULE_AUTHOR ("Christophe Saout <[email protected]>")
 
 MODULE_DESCRIPTION (DM_NAME" target for transparent encryption / decryption")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DM_MSG_PREFIX   "crypt"

Definition at line 32 of file dm-crypt.c.

#define LMK_SEED_SIZE   64 /* hash + 0 */

Definition at line 95 of file dm-crypt.c.

#define MIN_IOS   16

Definition at line 178 of file dm-crypt.c.

#define MIN_POOL_PAGES   32

Definition at line 179 of file dm-crypt.c.

Enumeration Type Documentation

enum uint8_t flags
Enumerator:
DM_CRYPT_SUSPENDED 
DM_CRYPT_KEY_VALID 

Definition at line 105 of file dm-crypt.c.

Function Documentation

MODULE_AUTHOR ( "Christophe Saout <[email protected]>"  )
MODULE_DESCRIPTION ( DM_NAME" target for transparent encryption / decryption"  )
module_exit ( dm_crypt_exit  )
module_init ( dm_crypt_init  )
MODULE_LICENSE ( "GPL"  )