Skip to content
Commit 7713df9e authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz
Browse files

Enable all supported metadata sizes in LUKS2 validation code.

LUKS2 specification allows various size of LUKS2 metadata.
The single metadata instance is composed of LUKS2 binary header
(4096 bytes) and immediately following json area. The resulting
assembled metadata size have to be one of following values,
all in KiB:

16, 32, 64, 128, 256, 512, 1024, 2048 or 4096
parent 49900b79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment