summaryrefslogtreecommitdiff
path: root/src/shared/user-record.h
diff options
context:
space:
mode:
authorAidan Dang <dang@aidan.gg>2022-12-04 02:26:13 +1100
committerLuca Boccassi <luca.boccassi@gmail.com>2022-12-06 15:56:11 +0100
commitb04ff66b426c6cffa3b27d0448e633ebf6aba147 (patch)
treef378478e40376f647ed2f554b245e1180c349116 /src/shared/user-record.h
parent64e7a14146cd1f66a8b0865adf7c3495c1b5c4e9 (diff)
downloadsystemd-b04ff66b426c6cffa3b27d0448e633ebf6aba147.tar.gz
Implement --luks-pbkdf-force-iterations for homed
Diffstat (limited to 'src/shared/user-record.h')
-rw-r--r--src/shared/user-record.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/user-record.h b/src/shared/user-record.h
index 47f4035d45..73fb86cc94 100644
--- a/src/shared/user-record.h
+++ b/src/shared/user-record.h
@@ -309,6 +309,7 @@ typedef struct UserRecord {
uint64_t luks_volume_key_size;
char *luks_pbkdf_hash_algorithm;
char *luks_pbkdf_type;
+ uint64_t luks_pbkdf_force_iterations;
uint64_t luks_pbkdf_time_cost_usec;
uint64_t luks_pbkdf_memory_cost;
uint64_t luks_pbkdf_parallel_threads;
@@ -394,6 +395,7 @@ const char *user_record_luks_cipher(UserRecord *h);
const char *user_record_luks_cipher_mode(UserRecord *h);
uint64_t user_record_luks_volume_key_size(UserRecord *h);
const char* user_record_luks_pbkdf_type(UserRecord *h);
+uint64_t user_record_luks_pbkdf_force_iterations(UserRecord *h);
usec_t user_record_luks_pbkdf_time_cost_usec(UserRecord *h);
uint64_t user_record_luks_pbkdf_memory_cost(UserRecord *h);
uint64_t user_record_luks_pbkdf_parallel_threads(UserRecord *h);