Use 16MB LUKS2 header size by default.

This commit is contained in:
Milan Broz
2019-02-06 22:45:57 +01:00
parent 348d460ab7
commit 2435d76a39

View File

@@ -125,8 +125,8 @@ struct luks2_keyslot_params {
#define LUKS2_HDR_BIN_LEN sizeof(struct luks2_hdr_disk)
#define LUKS2_DEFAULT_HDR_SIZE 0x400000 /* 4 MiB */
//#define LUKS2_DEFAULT_HDR_SIZE 0x1000000 /* 16 MiB */
//#define LUKS2_DEFAULT_HDR_SIZE 0x400000 /* 4 MiB */
#define LUKS2_DEFAULT_HDR_SIZE 0x1000000 /* 16 MiB */
#define LUKS2_MAX_KEYSLOTS_SIZE 0x8000000 /* 128 MiB */