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

Data Fields

u8 cipher_code
 
size_t max_packet_size
 
size_t packet_size_len
 
size_t block_aligned_filename_size
 
size_t block_size
 
size_t i
 
size_t j
 
size_t num_rand_bytes
 
struct mutextfm_mutex
 
charblock_aligned_filename
 
struct ecryptfs_auth_tokauth_tok
 
struct scatterlist src_sg [2]
 
struct scatterlist dst_sg [2]
 
struct blkcipher_desc desc
 
char iv [ECRYPTFS_MAX_IV_BYTES]
 
char hash [ECRYPTFS_TAG_70_DIGEST_SIZE]
 
char tmp_hash [ECRYPTFS_TAG_70_DIGEST_SIZE]
 
struct hash_desc hash_desc
 
struct scatterlist hash_sg
 

Detailed Description

write_tag_70_packet can gobble a lot of stack space. We stuff most of the function's parameters in a kmalloc'd struct to help reduce eCryptfs' overall stack usage.

Definition at line 591 of file keystore.c.

Field Documentation

Definition at line 602 of file keystore.c.

char* block_aligned_filename

Definition at line 601 of file keystore.c.

size_t block_aligned_filename_size

Definition at line 595 of file keystore.c.

size_t block_size

Definition at line 596 of file keystore.c.

u8 cipher_code

Definition at line 592 of file keystore.c.

Definition at line 605 of file keystore.c.

struct scatterlist dst_sg[2]

Definition at line 604 of file keystore.c.

Definition at line 607 of file keystore.c.

Definition at line 609 of file keystore.c.

Definition at line 610 of file keystore.c.

size_t i

Definition at line 597 of file keystore.c.

Definition at line 606 of file keystore.c.

size_t j

Definition at line 598 of file keystore.c.

size_t max_packet_size

Definition at line 593 of file keystore.c.

size_t num_rand_bytes

Definition at line 599 of file keystore.c.

size_t packet_size_len

Definition at line 594 of file keystore.c.

struct scatterlist src_sg[2]

Definition at line 603 of file keystore.c.

struct mutex* tfm_mutex

Definition at line 600 of file keystore.c.

Definition at line 608 of file keystore.c.


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