Linux Kernel
3.7.1
|
#include <ecryptfs_kernel.h>
Data Fields | |
struct crypto_blkcipher * | key_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] |
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.
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.
struct crypto_blkcipher* key_tfm |
Definition at line 289 of file ecryptfs_kernel.h.
Definition at line 292 of file ecryptfs_kernel.h.
Definition at line 291 of file ecryptfs_kernel.h.