cryptsetup API
Public cryptsetup API
|
#include <libcryptsetup.h>
Data Fields | |
uint64_t | journal_size |
unsigned int | journal_watermark |
unsigned int | journal_commit_time |
uint32_t | interleave_sectors |
uint32_t | tag_size |
uint32_t | sector_size |
uint32_t | buffer_sectors |
const char * | integrity |
uint32_t | integrity_key_size |
const char * | journal_integrity |
const char * | journal_integrity_key |
uint32_t | journal_integrity_key_size |
const char * | journal_crypt |
const char * | journal_crypt_key |
uint32_t | journal_crypt_key_size |
Structure used as parameter for dm-integrity device type.
uint32_t crypt_params_integrity::buffer_sectors |
number of sectors in one buffer
const char* crypt_params_integrity::integrity |
integrity algorithm, NULL for LUKS2
uint32_t crypt_params_integrity::integrity_key_size |
integrity key size in bytes, info only, 0 for LUKS2
uint32_t crypt_params_integrity::interleave_sectors |
number of interleave sectors (power of two)
unsigned int crypt_params_integrity::journal_commit_time |
journal commit time (or bitmap flush time) in ms
const char* crypt_params_integrity::journal_crypt |
journal encryption algorithm
const char* crypt_params_integrity::journal_crypt_key |
journal crypt key, only for crypt_load
uint32_t crypt_params_integrity::journal_crypt_key_size |
journal crypt key size in bytes, only for crypt_load
const char* crypt_params_integrity::journal_integrity |
journal integrity algorithm
const char* crypt_params_integrity::journal_integrity_key |
journal integrity key, only for crypt_load
uint32_t crypt_params_integrity::journal_integrity_key_size |
journal integrity key size in bytes, only for crypt_load
uint64_t crypt_params_integrity::journal_size |
size of journal in bytes
unsigned int crypt_params_integrity::journal_watermark |
journal flush watermark in percents; in bitmap mode sectors-per-bit
uint32_t crypt_params_integrity::sector_size |
sector size in bytes
uint32_t crypt_params_integrity::tag_size |
tag size per-sector in bytes