mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 03:10:08 +01:00
LUKS2 decryption requires new online-reencrypt version flag (v3). The verification digest performs coding for version suffix in "online-reencrypt-v" flag string as follows: 'v1' : unused (no digest) 'v2' : 0x30 + 2 = 0x32 = '2' 'v3' : 0x30 + 3 = 0x33 = '3' (...) 'v10': 0x30 + 10 = 0x3A = ':' 'v11': 0x30 + 11 = 0x3B = ';' (...) 'v207': 0x30 + 207 = 0xFF
12 KiB
12 KiB