26 lines
712 B
Diff
26 lines
712 B
Diff
From 18ec689f77a66f4d0632ee2829efccb542ba5f3b Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Kozina <okozina@redhat.com>
|
|
Date: Fri, 3 Aug 2018 15:42:00 +0200
|
|
Subject: [PATCH 7/7] Increase default LUKS2 header size to 8MiBs.
|
|
|
|
---
|
|
lib/luks2/luks2.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/luks2/luks2.h b/lib/luks2/luks2.h
|
|
index 2a49618..892e847 100644
|
|
--- a/lib/luks2/luks2.h
|
|
+++ b/lib/luks2/luks2.h
|
|
@@ -124,7 +124,7 @@ struct luks2_keyslot_params {
|
|
|
|
#define LUKS2_HDR_BIN_LEN sizeof(struct luks2_hdr_disk)
|
|
|
|
-#define LUKS2_HDR_DEFAULT_LEN 0x400000 /* 4 MiB */
|
|
+#define LUKS2_HDR_DEFAULT_LEN 0x800000 /* 8 MiB */
|
|
|
|
#define LUKS2_MAX_KEYSLOTS_SIZE 0x8000000 /* 128 MiB */
|
|
|
|
--
|
|
1.8.3.1
|
|
|