2 * Command line arguments name list
4 * Copyright (C) 2020-2023 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2020-2023 Ondrej Kozina
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef UTILS_ARG_NAMES_H
23 #define UTILS_ARG_NAMES_H
25 #define OPT_ACTIVE_NAME "active-name"
26 #define OPT_ALIGN_PAYLOAD "align-payload"
27 #define OPT_ALLOW_DISCARDS "allow-discards"
28 #define OPT_BATCH_MODE "batch-mode"
29 #define OPT_BITMAP_FLUSH_TIME "bitmap-flush-time"
30 #define OPT_BITMAP_SECTORS_PER_BIT "bitmap-sectors-per-bit"
31 #define OPT_BLOCK_SIZE "block-size"
32 #define OPT_BUFFER_SECTORS "buffer-sectors"
33 #define OPT_CANCEL_DEFERRED "cancel-deferred"
34 #define OPT_CHECK_AT_MOST_ONCE "check-at-most-once"
35 #define OPT_CIPHER "cipher"
36 #define OPT_DATA_BLOCK_SIZE "data-block-size"
37 #define OPT_DATA_BLOCKS "data-blocks"
38 #define OPT_DATA_DEVICE "data-device"
39 #define OPT_DEBUG "debug"
40 #define OPT_DEBUG_JSON "debug-json"
41 #define OPT_DEFERRED "deferred"
42 #define OPT_DEVICE_SIZE "device-size"
43 #define OPT_DECRYPT "decrypt"
44 #define OPT_DISABLE_EXTERNAL_TOKENS "disable-external-tokens"
45 #define OPT_DISABLE_KEYRING "disable-keyring"
46 #define OPT_DISABLE_LOCKS "disable-locks"
47 #define OPT_DISABLE_VERACRYPT "disable-veracrypt"
48 #define OPT_DUMP_JSON "dump-json-metadata"
49 #define OPT_DUMP_MASTER_KEY "dump-master-key"
50 #define OPT_DUMP_VOLUME_KEY "dump-volume-key"
51 #define OPT_ENCRYPT "encrypt"
52 #define OPT_FEC_DEVICE "fec-device"
53 #define OPT_FEC_OFFSET "fec-offset"
54 #define OPT_FEC_ROOTS "fec-roots"
55 #define OPT_FORCE_PASSWORD "force-password"
56 #define OPT_FORCE_OFFLINE_REENCRYPT "force-offline-reencrypt"
57 #define OPT_FORMAT "format"
58 #define OPT_HASH "hash"
59 #define OPT_HASH_BLOCK_SIZE "hash-block-size"
60 #define OPT_HASH_OFFSET "hash-offset"
61 #define OPT_HEADER "header"
62 #define OPT_HEADER_BACKUP_FILE "header-backup-file"
63 #define OPT_HOTZONE_SIZE "hotzone-size"
64 #define OPT_IGNORE_CORRUPTION "ignore-corruption"
65 #define OPT_IGNORE_ZERO_BLOCKS "ignore-zero-blocks"
66 #define OPT_INIT_ONLY "init-only"
67 #define OPT_INTEGRITY "integrity"
68 #define OPT_INTEGRITY_BITMAP_MODE "integrity-bitmap-mode"
69 #define OPT_INTEGRITY_KEY_FILE "integrity-key-file"
70 #define OPT_INTEGRITY_KEY_SIZE "integrity-key-size"
71 #define OPT_INTEGRITY_LEGACY_PADDING "integrity-legacy-padding"
72 #define OPT_INTEGRITY_LEGACY_HMAC "integrity-legacy-hmac"
73 #define OPT_INTEGRITY_LEGACY_RECALC "integrity-legacy-recalculate"
74 #define OPT_INTEGRITY_NO_JOURNAL "integrity-no-journal"
75 #define OPT_INTEGRITY_NO_WIPE "integrity-no-wipe"
76 #define OPT_INTEGRITY_RECALCULATE "integrity-recalculate"
77 #define OPT_INTEGRITY_RECALCULATE_RESET "integrity-recalculate-reset"
78 #define OPT_INTEGRITY_RECOVERY_MODE "integrity-recovery-mode"
79 #define OPT_INTERLEAVE_SECTORS "interleave-sectors"
80 #define OPT_ITER_TIME "iter-time"
81 #define OPT_IV_LARGE_SECTORS "iv-large-sectors"
82 #define OPT_JSON_FILE "json-file"
83 #define OPT_JOURNAL_COMMIT_TIME "journal-commit-time"
84 #define OPT_JOURNAL_CRYPT "journal-crypt"
85 #define OPT_JOURNAL_CRYPT_KEY_FILE "journal-crypt-key-file"
86 #define OPT_JOURNAL_CRYPT_KEY_SIZE "journal-crypt-key-size"
87 #define OPT_JOURNAL_INTEGRITY "journal-integrity"
88 #define OPT_JOURNAL_INTEGRITY_KEY_FILE "journal-integrity-key-file"
89 #define OPT_JOURNAL_INTEGRITY_KEY_SIZE "journal-integrity-key-size"
90 #define OPT_JOURNAL_SIZE "journal-size"
91 #define OPT_JOURNAL_WATERMARK "journal-watermark"
92 #define OPT_KEEP_KEY "keep-key"
93 #define OPT_KEY_DESCRIPTION "key-description"
94 #define OPT_KEY_FILE "key-file"
95 #define OPT_KEY_SIZE "key-size"
96 #define OPT_KEY_SLOT "key-slot"
97 #define OPT_KEYFILE_OFFSET "keyfile-offset"
98 #define OPT_KEYFILE_SIZE "keyfile-size"
99 #define OPT_KEYSLOT_CIPHER "keyslot-cipher"
100 #define OPT_KEYSLOT_KEY_SIZE "keyslot-key-size"
101 #define OPT_NO_SUPERBLOCK "no-superblock"
102 #define OPT_NO_WIPE "no-wipe"
103 #define OPT_WIPE "wipe"
104 #define OPT_LABEL "label"
105 #define OPT_LUKS2_KEYSLOTS_SIZE "luks2-keyslots-size"
106 #define OPT_LUKS2_METADATA_SIZE "luks2-metadata-size"
107 #define OPT_MASTER_KEY_FILE "master-key-file"
108 #define OPT_VOLUME_KEY_FILE "volume-key-file"
109 #define OPT_NEW "new"
110 #define OPT_NEW_KEY_SLOT "new-key-slot"
111 #define OPT_NEW_KEYFILE "new-keyfile"
112 #define OPT_NEW_KEYFILE_OFFSET "new-keyfile-offset"
113 #define OPT_NEW_KEYFILE_SIZE "new-keyfile-size"
114 #define OPT_NEW_TOKEN_ID "new-token-id"
115 #define OPT_OFFSET "offset"
116 #define OPT_PANIC_ON_CORRUPTION "panic-on-corruption"
117 #define OPT_PBKDF "pbkdf"
118 #define OPT_PBKDF_FORCE_ITERATIONS "pbkdf-force-iterations"
119 #define OPT_PBKDF_MEMORY "pbkdf-memory"
120 #define OPT_PBKDF_PARALLEL "pbkdf-parallel"
121 #define OPT_PERF_NO_READ_WORKQUEUE "perf-no_read_workqueue"
122 #define OPT_PERF_NO_WRITE_WORKQUEUE "perf-no_write_workqueue"
123 #define OPT_PERF_SAME_CPU_CRYPT "perf-same_cpu_crypt"
124 #define OPT_PERF_SUBMIT_FROM_CRYPT_CPUS "perf-submit_from_crypt_cpus"
125 #define OPT_PERSISTENT "persistent"
126 #define OPT_PLUGIN "plugin"
127 #define OPT_PRIORITY "priority"
128 #define OPT_PROGRESS_JSON "progress-json"
129 #define OPT_PROGRESS_FREQUENCY "progress-frequency"
130 #define OPT_READONLY "readonly"
131 #define OPT_REDUCE_DEVICE_SIZE "reduce-device-size"
132 #define OPT_REFRESH "refresh"
133 #define OPT_RESILIENCE "resilience"
134 #define OPT_RESILIENCE_HASH "resilience-hash"
135 #define OPT_RESTART_ON_CORRUPTION "restart-on-corruption"
136 #define OPT_RESUME_ONLY "resume-only"
137 #define OPT_ROOT_HASH_FILE "root-hash-file"
138 #define OPT_ROOT_HASH_SIGNATURE "root-hash-signature"
139 #define OPT_SALT "salt"
140 #define OPT_SECTOR_SIZE "sector-size"
141 #define OPT_SERIALIZE_MEMORY_HARD_PBKDF "serialize-memory-hard-pbkdf"
142 #define OPT_SHARED "shared"
143 #define OPT_SIZE "size"
144 #define OPT_SKIP "skip"
145 #define OPT_SUBSYSTEM "subsystem"
146 #define OPT_TAG_SIZE "tag-size"
147 #define OPT_TCRYPT_BACKUP "tcrypt-backup"
148 #define OPT_TCRYPT_HIDDEN "tcrypt-hidden"
149 #define OPT_TCRYPT_SYSTEM "tcrypt-system"
150 #define OPT_TEST_ARGS "test-args"
151 #define OPT_TEST_PASSPHRASE "test-passphrase"
152 #define OPT_TIMEOUT "timeout"
153 #define OPT_TOKEN_ID "token-id"
154 #define OPT_TOKEN_ONLY "token-only"
155 #define OPT_TOKEN_REPLACE "token-replace"
156 #define OPT_TOKEN_TYPE "token-type"
157 #define OPT_TRIES "tries"
158 #define OPT_TYPE "type"
159 #define OPT_UNBOUND "unbound"
160 #define OPT_USE_DIRECTIO "use-directio"
161 #define OPT_USE_FSYNC "use-fsync"
162 #define OPT_USE_RANDOM "use-random"
163 #define OPT_USE_URANDOM "use-urandom"
164 #define OPT_USE_TASKLETS "use-tasklets"
165 #define OPT_UUID "uuid"
166 #define OPT_VERACRYPT "veracrypt"
167 #define OPT_VERACRYPT_PIM "veracrypt-pim"
168 #define OPT_VERACRYPT_QUERY_PIM "veracrypt-query-pim"
169 #define OPT_VERBOSE "verbose"
170 #define OPT_VERIFY_PASSPHRASE "verify-passphrase"
171 #define OPT_WRITE_LOG "write-log"