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

#include <ecryptfs_kernel.h>

Data Fields

struct crypto_blkcipherkey_tfm
 
size_t key_size
 
struct mutex key_tfm_mutex
 
struct list_head key_tfm_list
 
unsigned char cipher_name [ECRYPTFS_MAX_CIPHER_NAME_SIZE+1]
 

Detailed Description

ecryptfs_key_tfm - Persistent key tfm : crypto API handle to the key : Key size in bytes : Mutex to ensure only one operation in eCryptfs is using the persistent TFM at any point in time : Handle to hang this off the module-wide TFM list : String name for the cipher for this TFM

Typically, eCryptfs will use the same ciphers repeatedly throughout the course of its operations. In order to avoid unnecessarily destroying and initializing the same cipher repeatedly, eCryptfs keeps a list of crypto API contexts around to use when needed.

Definition at line 288 of file ecryptfs_kernel.h.

Field Documentation

unsigned char cipher_name[ECRYPTFS_MAX_CIPHER_NAME_SIZE+1]

Definition at line 293 of file ecryptfs_kernel.h.

size_t key_size

Definition at line 290 of file ecryptfs_kernel.h.

Definition at line 289 of file ecryptfs_kernel.h.

struct list_head key_tfm_list

Definition at line 292 of file ecryptfs_kernel.h.

struct mutex key_tfm_mutex

Definition at line 291 of file ecryptfs_kernel.h.


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