/systemd-251/src/shared/ |
D | cryptsetup-util.h | 18 extern int (*sym_crypt_activate_by_passphrase)(struct crypt_device *cd, const char *name, int keysl… 20 extern int (*sym_crypt_activate_by_signed_key)(struct crypt_device *cd, const char *name, const cha… 22 extern int (*sym_crypt_activate_by_volume_key)(struct crypt_device *cd, const char *name, const cha… 23 extern int (*sym_crypt_deactivate_by_name)(struct crypt_device *cd, const char *name, uint32_t flag… 24 extern int (*sym_crypt_format)(struct crypt_device *cd, const char *type, const char *cipher, const… 25 extern void (*sym_crypt_free)(struct crypt_device *cd); 26 extern const char *(*sym_crypt_get_cipher)(struct crypt_device *cd); 27 extern const char *(*sym_crypt_get_cipher_mode)(struct crypt_device *cd); 28 extern uint64_t (*sym_crypt_get_data_offset)(struct crypt_device *cd); 29 extern const char *(*sym_crypt_get_device_name)(struct crypt_device *cd); [all …]
|
D | cryptsetup-util.c | 12 int (*sym_crypt_activate_by_passphrase)(struct crypt_device *cd, const char *name, int keyslot, con… 14 int (*sym_crypt_activate_by_signed_key)(struct crypt_device *cd, const char *name, const char *volu… 16 int (*sym_crypt_activate_by_volume_key)(struct crypt_device *cd, const char *name, const char *volu… 17 int (*sym_crypt_deactivate_by_name)(struct crypt_device *cd, const char *name, uint32_t flags); 18 int (*sym_crypt_format)(struct crypt_device *cd, const char *type, const char *cipher, const char *… 19 void (*sym_crypt_free)(struct crypt_device *cd); 20 const char *(*sym_crypt_get_cipher)(struct crypt_device *cd); 21 const char *(*sym_crypt_get_cipher_mode)(struct crypt_device *cd); 22 uint64_t (*sym_crypt_get_data_offset)(struct crypt_device *cd); 23 const char *(*sym_crypt_get_device_name)(struct crypt_device *cd); [all …]
|
/systemd-251/src/cryptsetup/cryptsetup-tokens/ |
D | cryptsetup-token.h | 8 int cryptsetup_token_open(struct crypt_device *cd, int token, 11 int cryptsetup_token_open_pin(struct crypt_device *cd, int token, 15 void cryptsetup_token_dump(struct crypt_device *cd, const char *json); 17 int cryptsetup_token_validate(struct crypt_device *cd, const char *json);
|
D | luks2-pkcs11.h | 5 struct crypt_device; 8 struct crypt_device *cd, 17 struct crypt_device *cd,
|
D | luks2-fido2.h | 6 struct crypt_device; 9 struct crypt_device *cd, 17 struct crypt_device *cd,
|
D | cryptsetup-token-systemd-pkcs11.c | 25 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_open_pin() 61 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_open() 83 struct crypt_device *cd /* is always LUKS2 context */, in cryptsetup_token_dump() 110 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_validate()
|
D | cryptsetup-token-systemd-fido2.c | 25 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_open_pin() 73 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_open() 95 struct crypt_device *cd /* is always LUKS2 context */, in cryptsetup_token_dump() 162 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_validate()
|
D | luks2-pkcs11.c | 16 struct crypt_device *cd; 105 struct crypt_device *cd, in acquire_luks2_key_by_pin() 176 struct crypt_device *cd, in acquire_luks2_key() 228 struct crypt_device *cd, in parse_luks2_pkcs11_data()
|
D | cryptsetup-token-systemd-tpm2.c | 26 static int log_debug_open_error(struct crypt_device *cd, int r) { in log_debug_open_error() 52 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_open() 138 struct crypt_device *cd /* is always LUKS2 context */, in cryptsetup_token_dump() 189 struct crypt_device *cd, /* is always LUKS2 context */ in cryptsetup_token_validate()
|
D | luks2-fido2.c | 13 struct crypt_device *cd, in acquire_luks2_key() 73 struct crypt_device *cd, in parse_luks2_fido2_data()
|
/systemd-251/src/home/ |
D | homework-luks.c | 301 struct crypt_device *cd, in luks_try_passwords() 354 struct crypt_device **ret, in luks_setup() 361 _cleanup_(sym_crypt_freep) struct crypt_device *cd = NULL; in luks_setup() 482 _cleanup_(sym_crypt_freep) struct crypt_device *cd = NULL; in acquire_open_luks_device() 487 assert(!setup->crypt_device); in acquire_open_luks_device() 505 setup->crypt_device = TAKE_PTR(cd); in acquire_open_luks_device() 525 assert(!setup->crypt_device); in luks_open() 534 r = sym_crypt_load(setup->crypt_device, CRYPT_LUKS2, NULL); in luks_open() 538 r = sym_crypt_get_volume_key_size(setup->crypt_device); in luks_open() 546 s = sym_crypt_get_uuid(setup->crypt_device); in luks_open() [all …]
|
D | homework.h | 21 struct crypt_device *crypt_device; member
|
D | homework.c | 316 assert(setup->crypt_device); in home_setup_undo_dm() 319 r = sym_crypt_deactivate_by_name(setup->crypt_device, setup->dm_name, 0); in home_setup_undo_dm() 332 if (setup->crypt_device) { in home_setup_undo_dm() 333 sym_crypt_free(setup->crypt_device); in home_setup_undo_dm() 334 setup->crypt_device = NULL; in home_setup_undo_dm() 454 assert(!setup->crypt_device); in home_setup() 753 setup->crypt_device ? sym_crypt_get_cipher(setup->crypt_device) : NULL, in home_extend_embedded_identity() 754 setup->crypt_device ? sym_crypt_get_cipher_mode(setup->crypt_device) : NULL, in home_extend_embedded_identity() 755 … setup->crypt_device ? luks_volume_key_size_convert(setup->crypt_device) : UINT64_MAX, in home_extend_embedded_identity()
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-wipe.c | 11 static int find_all_slots(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots) { in find_all_slots() 39 static int find_empty_passphrase_slots(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots) { in find_empty_passphrase_slots() 86 struct crypt_device *cd, in find_slots_by_mask() 191 static int find_slot_tokens(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots, Set *wipe_to… in find_slot_tokens() 270 static bool slots_remain(struct crypt_device *cd, Set *wipe_slots, Set *keep_slots) { in slots_remain() 297 int wipe_slots(struct crypt_device *cd, in wipe_slots()
|
D | cryptenroll-pkcs11.h | 10 int enroll_pkcs11(struct crypt_device *cd, const void *volume_key, size_t volume_key_size, const ch… 12 static inline int enroll_pkcs11(struct crypt_device *cd, const void *volume_key, size_t volume_key_… in enroll_pkcs11()
|
D | cryptenroll-fido2.h | 11 int enroll_fido2(struct crypt_device *cd, const void *volume_key, size_t volume_key_size, const cha… 13 static inline int enroll_fido2(struct crypt_device *cd, const void *volume_key, size_t volume_key_s… in enroll_fido2()
|
D | cryptenroll-tpm2.h | 10 int enroll_tpm2(struct crypt_device *cd, const void *volume_key, size_t volume_key_size, const char… 12 static inline int enroll_tpm2(struct crypt_device *cd, const void *volume_key, size_t volume_key_si… in enroll_tpm2()
|
D | cryptenroll.c | 412 static int check_for_homed(struct crypt_device *cd) { in check_for_homed() 435 struct crypt_device **ret_cd, in prepare_luks() 439 _cleanup_(crypt_freep) struct crypt_device *cd = NULL; in prepare_luks() 547 _cleanup_(crypt_freep) struct crypt_device *cd = NULL; in run()
|
D | cryptenroll-tpm2.c | 13 struct crypt_device *cd, in search_policy_hash() 129 int enroll_tpm2(struct crypt_device *cd, in enroll_tpm2()
|
D | cryptenroll-list.h | 6 int list_enrolled(struct crypt_device *cd);
|
D | cryptenroll-recovery.h | 8 int enroll_recovery(struct crypt_device *cd, const void *volume_key, size_t volume_key_size);
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup-pkcs11.h | 27 struct crypt_device *cd, 54 struct crypt_device *cd, in find_pkcs11_auto_data()
|
D | cryptsetup-fido2.h | 33 struct crypt_device *cd, 68 struct crypt_device *cd, in find_fido2_auto_data()
|
D | cryptsetup-tpm2.h | 35 struct crypt_device *cd, 76 struct crypt_device *cd, in find_tpm2_auto_data()
|
D | cryptsetup.c | 652 struct crypt_device *cd, in attach_tcrypt() 855 struct crypt_device *cd, in attach_luks2_by_fido2_via_plugin() 911 struct crypt_device *cd, in attach_luks_or_plain_or_bitlk_by_fido2() 1058 struct crypt_device *cd, in attach_luks2_by_pkcs11_via_plugin() 1088 struct crypt_device *cd, in attach_luks_or_plain_or_bitlk_by_pkcs11() 1251 struct crypt_device *cd, in attach_luks2_by_tpm2_via_plugin() 1278 struct crypt_device *cd, in attach_luks_or_plain_or_bitlk_by_tpm2() 1472 struct crypt_device *cd, in attach_luks_or_plain_or_bitlk_by_key_data() 1500 struct crypt_device *cd, in attach_luks_or_plain_or_bitlk_by_key_file() 1553 struct crypt_device *cd, in attach_luks_or_plain_or_bitlk_by_passphrase() [all …]
|