cryptsetup API
Public cryptsetup API
Data Fields
crypt_params_tcrypt Struct Reference

#include <libcryptsetup.h>

Data Fields

const char * passphrase
size_t passphrase_size
const char ** keyfiles
unsigned int keyfiles_count
const char * hash_name
const char * cipher
const char * mode
size_t key_size
uint32_t flags
uint32_t veracrypt_pim

Detailed Description

Structure used as parameter for TCRYPT device type.

See also

Field Documentation

◆ cipher

const char* crypt_params_tcrypt::cipher

cipher chain c1[-c2[-c3]]

◆ flags

uint32_t crypt_params_tcrypt::flags


◆ hash_name

const char* crypt_params_tcrypt::hash_name

hash function for PBKDF

◆ key_size

size_t crypt_params_tcrypt::key_size

key size in bytes (the whole chain)

◆ keyfiles

const char** crypt_params_tcrypt::keyfiles

keyfile paths to unlock header (input only)

◆ keyfiles_count

unsigned int crypt_params_tcrypt::keyfiles_count

keyfiles count (input only)

◆ mode

const char* crypt_params_tcrypt::mode

cipher block mode

◆ passphrase

const char* crypt_params_tcrypt::passphrase

passphrase to unlock header (input only)

◆ passphrase_size

size_t crypt_params_tcrypt::passphrase_size

passphrase size (input only, max length is 64)

◆ veracrypt_pim

uint32_t crypt_params_tcrypt::veracrypt_pim

VeraCrypt Personal Iteration Multiplier

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