mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Move LUKS_STRIPES definition to macros definitions.
To be used in repair code later.
This commit is contained in:
@@ -57,4 +57,9 @@
|
||||
|
||||
#define OPAL_PSID_LEN 32
|
||||
|
||||
/* LUKS AF stripes, never set to any other value than 4000 */
|
||||
#ifndef LUKS_STRIPES
|
||||
# define LUKS_STRIPES 4000
|
||||
#endif
|
||||
|
||||
#endif /* _LIBCRYPTSETUP_MACROS_H */
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
#include <ctype.h>
|
||||
#include <uuid/uuid.h>
|
||||
|
||||
#define LUKS_STRIPES 4000
|
||||
|
||||
struct interval {
|
||||
uint64_t offset;
|
||||
uint64_t length;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user