/systemd-251/src/home/ |
D | homework-fscrypt.c | 35 size_t volume_key_size, in fscrypt_upload_volume_key() argument 45 assert(volume_key_size > 0); in fscrypt_upload_volume_key() 47 if (volume_key_size > sizeof(key.raw)) in fscrypt_upload_volume_key() 57 .size = volume_key_size, in fscrypt_upload_volume_key() 59 memcpy(key.raw, volume_key, volume_key_size); in fscrypt_upload_volume_key() 289 size_t volume_key_size = 0; in home_setup_fscrypt() local 321 &volume_key_size); in home_setup_fscrypt() 357 volume_key_size, in home_setup_fscrypt() 399 size_t volume_key_size, in fscrypt_slot_set() argument 445 encrypted_size = volume_key_size + EVP_CIPHER_key_length(cc) * 2; in fscrypt_slot_set() [all …]
|
D | homework-luks.c | 304 size_t *volume_key_size, in luks_try_passwords() argument 313 size_t vks = *volume_key_size; in luks_try_passwords() 333 *volume_key_size = vks; in luks_try_passwords() 350 uint64_t volume_key_size, in luks_setup() argument 411 if (volume_key_size != UINT64_MAX && vks != volume_key_size) in luks_setup() 1235 size_t volume_key_size = 0; in home_setup_luks() local 1270 &volume_key_size); in home_setup_luks() 1403 &volume_key_size, in home_setup_luks() 1453 setup->volume_key_size = volume_key_size; in home_setup_luks() 1718 size_t volume_key_size; in luks_format() local [all …]
|
D | homework.h | 31 size_t volume_key_size; member
|
D | homework.c | 432 setup->volume_key_size = 0; in home_setup_done()
|
/systemd-251/src/shared/ |
D | cryptsetup-util.h | 20 …t crypt_device *cd, const char *name, const char *volume_key, size_t volume_key_size, const char *… 22 …t crypt_device *cd, const char *name, const char *volume_key, size_t volume_key_size, uint32_t fla… 24 … char *cipher_mode, const char *uuid, const char *volume_key, size_t volume_key_size, void *params… 37 …struct crypt_device *cd, int keyslot, const char *volume_key, size_t volume_key_size, const char *… 65 …get)(struct crypt_device *cd, int keyslot, char *volume_key, size_t *volume_key_size, const char *…
|
D | cryptsetup-util.c | 14 …t crypt_device *cd, const char *name, const char *volume_key, size_t volume_key_size, const char *… 16 …t crypt_device *cd, const char *name, const char *volume_key, size_t volume_key_size, uint32_t fla… 18 … char *cipher_mode, const char *uuid, const char *volume_key, size_t volume_key_size, void *params… 31 …struct crypt_device *cd, int keyslot, const char *volume_key, size_t volume_key_size, const char *… 51 …get)(struct crypt_device *cd, int keyslot, char *volume_key, size_t *volume_key_size, const char *…
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-recovery.c | 14 size_t volume_key_size) { in enroll_recovery() argument 24 assert_se(volume_key_size > 0); in enroll_recovery() 40 volume_key_size, in enroll_recovery()
|
D | cryptenroll-fido2.c | 13 size_t volume_key_size, in enroll_fido2() argument 29 assert_se(volume_key_size > 0); in enroll_fido2() 68 volume_key_size, in enroll_fido2()
|
D | cryptenroll-pkcs11.c | 14 size_t volume_key_size, in enroll_pkcs11() argument 30 assert_se(volume_key_size > 0); in enroll_pkcs11() 75 volume_key_size, 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 …nroll_pkcs11(struct crypt_device *cd, const void *volume_key, size_t volume_key_size, const char *… 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 …enroll_fido2(struct crypt_device *cd, const void *volume_key, size_t volume_key_size, const char *… 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 … enroll_tpm2(struct crypt_device *cd, const void *volume_key, size_t volume_key_size, const char *… in enroll_tpm2() argument
|
D | cryptenroll-tpm2.c | 131 size_t volume_key_size, in enroll_tpm2() argument 149 assert(volume_key_size > 0); in enroll_tpm2() 197 volume_key_size, in enroll_tpm2()
|
D | cryptenroll-password.c | 14 size_t volume_key_size) { in enroll_password() argument 90 volume_key_size, 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 | 2564 size_t volume_key_size = 256 / 8; in partition_encrypt() local 2593 volume_key = malloc(volume_key_size); in partition_encrypt() 2597 r = genuine_random_bytes(volume_key, volume_key_size, RANDOM_BLOCK); in partition_encrypt() 2613 volume_key_size, in partition_encrypt() 2626 volume_key_size, in partition_encrypt() 2659 volume_key_size, in partition_encrypt() 2682 volume_key_size, in partition_encrypt()
|