mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-03 02:50:03 -05:00
Add LUKS2 header size constant (#140)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
5ad34e0425
commit
9c5590bbce
@ -19,6 +19,9 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
// LUKSHeaderSize is the amount of bytes taken up by the header of a LUKS2 partition.
|
||||
// The header is 16MiB (1048576 Bytes * 16).
|
||||
LUKSHeaderSize = 16777216
|
||||
cryptPrefix = "/dev/mapper/"
|
||||
integritySuffix = "_dif"
|
||||
integrityFSSuffix = "-integrity"
|
||||
|
Loading…
x
Reference in New Issue
Block a user