Home
last modified time | relevance | path

Searched refs:volume_key_size (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/home/
Dhomework-fscrypt.c35 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 …]
Dhomework-luks.c304 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 …]
Dhomework.h31 size_t volume_key_size; member
Dhomework.c432 setup->volume_key_size = 0; in home_setup_done()
/systemd-251/src/shared/
Dcryptsetup-util.h20 …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 *…
Dcryptsetup-util.c14 …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/
Dcryptenroll-recovery.c14 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()
Dcryptenroll-fido2.c13 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()
Dcryptenroll-pkcs11.c14 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()
Dcryptenroll-pkcs11.h10 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
Dcryptenroll-fido2.h11 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
Dcryptenroll-tpm2.h10 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
Dcryptenroll-tpm2.c131 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()
Dcryptenroll-password.c14 size_t volume_key_size) { in enroll_password() argument
90 volume_key_size, in enroll_password()
Dcryptenroll-recovery.h8 int enroll_recovery(struct crypt_device *cd, const void *volume_key, size_t volume_key_size);
Dcryptenroll-password.h8 int enroll_password(struct crypt_device *cd, const void *volume_key, size_t volume_key_size);
/systemd-251/src/partition/
Drepart.c2564 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()