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 "datashift" mode (and subvariants), 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 |
Maximum hotzone size (may be lowered by library). For "datashift-" subvariants it is used to set size of moved segment (decryption only).
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", "datashift", "datashift-checksum" or "datashift-journal". "datashift" mode is immutable, "datashift-" subvariant can be only changed to other "datashift-" subvariant