Linux Kernel
3.7.1
|
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.
struct ecryptfs_auth_tok* auth_tok |
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.
struct scatterlist hash_sg |
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.
Definition at line 600 of file keystore.c.
char tmp_hash[ECRYPTFS_TAG_70_DIGEST_SIZE] |
Definition at line 608 of file keystore.c.