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

#include <ecryptfs.h>

Data Fields

u32 flags
 
u32 encrypted_key_size
 
u32 decrypted_key_size
 
u8 encrypted_key [ECRYPTFS_MAX_ENCRYPTED_KEY_BYTES]
 
u8 decrypted_key [ECRYPTFS_MAX_KEY_BYTES]
 

Detailed Description

For convenience, we may need to pass around the encrypted session key between kernel and userspace because the authentication token may not be extractable. For example, the TPM may not release the private key, instead requiring the encrypted data and returning the decrypted data.

Definition at line 62 of file ecryptfs.h.

Field Documentation

u8 decrypted_key[ECRYPTFS_MAX_KEY_BYTES]

Definition at line 71 of file ecryptfs.h.

u32 decrypted_key_size

Definition at line 69 of file ecryptfs.h.

Definition at line 70 of file ecryptfs.h.

u32 encrypted_key_size

Definition at line 68 of file ecryptfs.h.

u32 flags

Definition at line 67 of file ecryptfs.h.


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