Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ecryptfs_crypt_stat Struct Reference

#include <ecryptfs_kernel.h>

Data Fields

u32 flags
 
unsigned int file_version
 
size_t iv_bytes
 
size_t metadata_size
 
size_t extent_size
 
size_t key_size
 
size_t extent_shift
 
unsigned int extent_mask
 
struct ecryptfs_mount_crypt_statmount_crypt_stat
 
struct crypto_blkciphertfm
 
struct crypto_hashhash_tfm
 
unsigned char cipher [ECRYPTFS_MAX_CIPHER_NAME_SIZE]
 
unsigned char key [ECRYPTFS_MAX_KEY_BYTES]
 
unsigned char root_iv [ECRYPTFS_MAX_IV_BYTES]
 
struct list_head keysig_list
 
struct mutex keysig_list_mutex
 
struct mutex cs_tfm_mutex
 
struct mutex cs_hash_tfm_mutex
 
struct mutex cs_mutex
 

Detailed Description

This is the primary struct associated with each encrypted file.

TODO: cache align/pack?

Definition at line 191 of file ecryptfs_kernel.h.

Field Documentation

Definition at line 219 of file ecryptfs_kernel.h.

struct mutex cs_hash_tfm_mutex

Definition at line 225 of file ecryptfs_kernel.h.

struct mutex cs_mutex

Definition at line 226 of file ecryptfs_kernel.h.

struct mutex cs_tfm_mutex

Definition at line 224 of file ecryptfs_kernel.h.

unsigned int extent_mask

Definition at line 214 of file ecryptfs_kernel.h.

size_t extent_shift

Definition at line 213 of file ecryptfs_kernel.h.

size_t extent_size

Definition at line 211 of file ecryptfs_kernel.h.

unsigned int file_version

Definition at line 208 of file ecryptfs_kernel.h.

u32 flags

Definition at line 207 of file ecryptfs_kernel.h.

Definition at line 217 of file ecryptfs_kernel.h.

size_t iv_bytes

Definition at line 209 of file ecryptfs_kernel.h.

Definition at line 220 of file ecryptfs_kernel.h.

size_t key_size

Definition at line 212 of file ecryptfs_kernel.h.

struct list_head keysig_list

Definition at line 222 of file ecryptfs_kernel.h.

struct mutex keysig_list_mutex

Definition at line 223 of file ecryptfs_kernel.h.

size_t metadata_size

Definition at line 210 of file ecryptfs_kernel.h.

struct ecryptfs_mount_crypt_stat* mount_crypt_stat

Definition at line 215 of file ecryptfs_kernel.h.

unsigned char root_iv[ECRYPTFS_MAX_IV_BYTES]

Definition at line 221 of file ecryptfs_kernel.h.

Definition at line 216 of file ecryptfs_kernel.h.


The documentation for this struct was generated from the following file: