cryptsetup API
Public cryptsetup API
Loading...
Searching...
No Matches
Macros
Crypt keyslot context types

Macros

#define CRYPT_KC_TYPE_PASSPHRASE   INT16_C(1)
 
#define CRYPT_KC_TYPE_KEYFILE   INT16_C(2)
 
#define CRYPT_KC_TYPE_TOKEN   INT16_C(3)
 
#define CRYPT_KC_TYPE_KEY   INT16_C(4)
 
#define CRYPT_KC_TYPE_KEYRING   INT16_C(5)
 
#define CRYPT_KC_TYPE_VK_KEYRING   INT16_C(6)
 
#define CRYPT_KC_TYPE_SIGNED_KEY   INT16_C(7)
 

Detailed Description

Macro Definition Documentation

◆ CRYPT_KC_TYPE_KEY

#define CRYPT_KC_TYPE_KEY   INT16_C(4)

keyslot context initialized by volume key or unbound key (crypt_keyslot_context_init_by_volume_key)

◆ CRYPT_KC_TYPE_KEYFILE

#define CRYPT_KC_TYPE_KEYFILE   INT16_C(2)

keyslot context initialized by keyfile (crypt_keyslot_context_init_by_keyfile)

◆ CRYPT_KC_TYPE_KEYRING

#define CRYPT_KC_TYPE_KEYRING   INT16_C(5)

keyslot context initialized by description of a keyring key (crypt_keyslot_context_init_by_keyring)

◆ CRYPT_KC_TYPE_PASSPHRASE

#define CRYPT_KC_TYPE_PASSPHRASE   INT16_C(1)

keyslot context initialized by passphrase (crypt_keyslot_context_init_by_passphrase)

◆ CRYPT_KC_TYPE_SIGNED_KEY

#define CRYPT_KC_TYPE_SIGNED_KEY   INT16_C(7)

keyslot context initialized by signed key (crypt_keyslot_context_init_by_signed_key)

◆ CRYPT_KC_TYPE_TOKEN

#define CRYPT_KC_TYPE_TOKEN   INT16_C(3)

keyslot context initialized by token (crypt_keyslot_context_init_by_token)

◆ CRYPT_KC_TYPE_VK_KEYRING

#define CRYPT_KC_TYPE_VK_KEYRING   INT16_C(6)

keyslot context initialized by description of a keyring key containing the volume key (crypt_keyslot_context_init_by_vk_in_keyring)