/systemd-251/src/home/ |
D | homework-fscrypt.c | 34 const void *volume_key, in fscrypt_upload_volume_key() argument 44 assert(volume_key); in fscrypt_upload_volume_key() 59 memcpy(key.raw, volume_key, volume_key_size); in fscrypt_upload_volume_key() 287 _cleanup_(erase_and_freep) void *volume_key = NULL; in home_setup_fscrypt() 320 &volume_key, in home_setup_fscrypt() 356 volume_key, in home_setup_fscrypt() 398 const void *volume_key, in fscrypt_slot_set() argument 450 …if (EVP_EncryptUpdate(context, (uint8_t*) encrypted, &encrypted_size_out1, volume_key, volume_key_… in fscrypt_slot_set() 494 _cleanup_(erase_and_freep) void *volume_key = NULL; in home_create_fscrypt() 539 volume_key = malloc(volume_key_size); in home_create_fscrypt() [all …]
|
D | homework-luks.c | 303 void *volume_key, in luks_try_passwords() argument 318 volume_key, in luks_try_passwords() 803 const void *volume_key, in luks_validate_home_record() argument 870 if (EVP_DecryptInit_ex(context, cc, NULL, volume_key, iv) != 1) in luks_validate_home_record() 924 const void *volume_key, in format_luks_token_text() argument 937 assert(volume_key); in format_luks_token_text() 961 if (EVP_EncryptInit_ex(context, cc, NULL, volume_key, iv) != 1) in format_luks_token_text() 1015 assert(setup->volume_key); in home_store_header_identity_luks() 1034 r = format_luks_token_text(setup->crypt_device, header_home, setup->volume_key, &text); in home_store_header_identity_luks() 1234 _cleanup_(erase_and_freep) void *volume_key = NULL; in home_setup_luks() [all …]
|
D | homework.h | 30 void *volume_key; member
|
D | homework.c | 431 setup->volume_key = erase_and_free(setup->volume_key); in home_setup_done()
|
/systemd-251/src/shared/ |
D | cryptsetup-util.h | 20 …_by_signed_key)(struct crypt_device *cd, const char *name, const char *volume_key, size_t volume_k… 22 …_by_volume_key)(struct crypt_device *cd, const char *name, const char *volume_key, size_t volume_k… 24 …t char *cipher, const char *cipher_mode, const char *uuid, const char *volume_key, size_t volume_k… 37 …t_add_by_volume_key)(struct crypt_device *cd, int keyslot, const char *volume_key, size_t volume_k… 65 extern int (*sym_crypt_volume_key_get)(struct crypt_device *cd, int keyslot, char *volume_key, size…
|
D | cryptsetup-util.c | 14 …_by_signed_key)(struct crypt_device *cd, const char *name, const char *volume_key, size_t volume_k… 16 …_by_volume_key)(struct crypt_device *cd, const char *name, const char *volume_key, size_t volume_k… 18 …t char *cipher, const char *cipher_mode, const char *uuid, const char *volume_key, size_t volume_k… 31 …t_add_by_volume_key)(struct crypt_device *cd, int keyslot, const char *volume_key, size_t volume_k… 51 int (*sym_crypt_volume_key_get)(struct crypt_device *cd, int keyslot, char *volume_key, size_t *vol…
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-recovery.c | 13 const void *volume_key, in enroll_recovery() argument 23 assert_se(volume_key); in enroll_recovery() 39 volume_key, in enroll_recovery()
|
D | cryptenroll-fido2.c | 12 const void *volume_key, in enroll_fido2() argument 28 assert_se(volume_key); in enroll_fido2() 67 volume_key, in enroll_fido2()
|
D | cryptenroll-pkcs11.c | 13 const void *volume_key, in enroll_pkcs11() argument 29 assert_se(volume_key); in enroll_pkcs11() 74 volume_key, in enroll_pkcs11()
|
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() argument
|
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() argument
|
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() argument
|
D | cryptenroll-tpm2.c | 130 const void *volume_key, in enroll_tpm2() argument 148 assert(volume_key); in enroll_tpm2() 196 volume_key, in enroll_tpm2()
|
D | cryptenroll-password.c | 13 const void *volume_key, in enroll_password() argument 89 volume_key, in enroll_password()
|
D | cryptenroll-recovery.h | 8 int enroll_recovery(struct crypt_device *cd, const void *volume_key, size_t volume_key_size);
|
D | cryptenroll-password.h | 8 int enroll_password(struct crypt_device *cd, const void *volume_key, size_t volume_key_size);
|
/systemd-251/src/partition/ |
D | repart.c | 2562 _cleanup_(erase_and_freep) void *volume_key = NULL; in partition_encrypt() 2593 volume_key = malloc(volume_key_size); in partition_encrypt() 2594 if (!volume_key) in partition_encrypt() 2597 r = genuine_random_bytes(volume_key, volume_key_size, RANDOM_BLOCK); in partition_encrypt() 2612 volume_key, in partition_encrypt() 2625 volume_key, in partition_encrypt() 2658 volume_key, in partition_encrypt() 2681 volume_key, in partition_encrypt()
|