SEFile
Userspace drivers to manage a secure filesystem
|
The SEFILE_HEADER struct. More...
Data Fields | |
uint8_t | nonce_pbkdf2 [SEFILE_NONCE_LEN] |
uint8_t | nonce_ctr [16] |
int32_t | magic |
int16_t | ver |
int32_t | uid |
int32_t | uid_cnt |
uint8_t | fname_len |
The SEFILE_HEADER struct.
This data struct is used to define a 31 bytes field inside a sector while taking care of its inner composition.
uint8_t SEFILE_HEADER::fname_len |
1 byte to express how long is the filename.
int32_t SEFILE_HEADER::magic |
4 bytes used to represent file type (not used yet)
uint8_t SEFILE_HEADER::nonce_ctr[16] |
16 random bytes storing the IV for next sectors
uint8_t SEFILE_HEADER::nonce_pbkdf2[SEFILE_NONCE_LEN] |
32 random bytes storing the IV for generating a different key
int32_t SEFILE_HEADER::uid |
4 bytes not used yet
int32_t SEFILE_HEADER::uid_cnt |
4 bytes not used yet
int16_t SEFILE_HEADER::ver |
2 bytes used to represent current filesystem version (not used yet)