cryptsetup API
Public cryptsetup API
Loading...
Searching...
No Matches
Data Fields
crypt_params_luks2 Struct Reference

#include <libcryptsetup.h>

Data Fields

const struct crypt_pbkdf_typepbkdf
 
const char * integrity
 
const struct crypt_params_integrityintegrity_params
 
size_t data_alignment
 
const char * data_device
 
uint32_t sector_size
 
const char * label
 
const char * subsystem
 

Detailed Description

Structure used as parameter for LUKS2 device type.

See also
crypt_format, crypt_load
Note
during crypt_format data_device attribute determines if the LUKS2 header is separated from encrypted payload device

Field Documentation

◆ data_alignment

size_t crypt_params_luks2::data_alignment

data area alignment in 512B sectors, data offset is multiple of this

◆ data_device

const char* crypt_params_luks2::data_device

detached encrypted data device or NULL

◆ integrity

const char* crypt_params_luks2::integrity

integrity algorithm or NULL

◆ integrity_params

const struct crypt_params_integrity* crypt_params_luks2::integrity_params

Data integrity parameters or NULL

◆ label

const char* crypt_params_luks2::label

header label or NULL

◆ pbkdf

const struct crypt_pbkdf_type* crypt_params_luks2::pbkdf

PBKDF (and hash) parameters or NULL

◆ sector_size

uint32_t crypt_params_luks2::sector_size

encryption sector size, 0 triggers auto-detection for optimal encryption sector size

◆ subsystem

const char* crypt_params_luks2::subsystem

header subsystem label or NULL


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