cryptsetup API
Public cryptsetup API
|
#include <libcryptsetup.h>
Data Fields | |
crypt_reencrypt_mode_info | mode |
crypt_reencrypt_direction_info | direction |
const char * | resilience |
const char * | hash |
uint64_t | data_shift |
uint64_t | max_hotzone_size |
uint64_t | device_size |
const struct crypt_params_luks2 * | luks2 |
uint32_t | flags |
LUKS2 reencryption options.
uint64_t crypt_params_reencrypt::data_shift |
Used in "shift" mode, must be non-zero, immutable after first init.
uint64_t crypt_params_reencrypt::device_size |
Reencrypt only initial part of the data device.
crypt_reencrypt_direction_info crypt_params_reencrypt::direction |
Reencryption direction, immutable after first init.
uint32_t crypt_params_reencrypt::flags |
Reencryption flags.
const char* crypt_params_reencrypt::hash |
Used hash for "checksum" resilience type, ignored otherwise.
const struct crypt_params_luks2* crypt_params_reencrypt::luks2 |
LUKS2 parameters for the final reencryption volume.
uint64_t crypt_params_reencrypt::max_hotzone_size |
Exact hotzone size for "none" mode. Maximum hotzone size for "checksum" and "journal" modes.
crypt_reencrypt_mode_info crypt_params_reencrypt::mode |
Reencryption mode, immutable after first init.
const char* crypt_params_reencrypt::resilience |
Resilience mode: "none", "checksum", "journal" or "shift" (only "shift" is immutable after init)