Move LUKS_STRIPES definition to macros definitions.

To be used in repair code later.
This commit is contained in:
Milan Broz
2025-04-29 12:11:49 +02:00
parent 4fd3db5e93
commit f5bbc499d4
3 changed files with 5 additions and 3 deletions

View File

@@ -13,8 +13,6 @@
#include <ctype.h>
#include <uuid/uuid.h>
#define LUKS_STRIPES 4000
struct interval {
uint64_t offset;
uint64_t length;

View File

@@ -14,7 +14,6 @@
#define LUKS_SALTSIZE 32
#define LUKS_SLOT_ITERATIONS_MIN 1000
#define LUKS_STRIPES 4000
/* Serialize memory-hard keyslot access: optional workaround for parallel processing */
#define MIN_MEMORY_FOR_SERIALIZE_LOCK_KB 32*1024 /* 32MB */