mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When integrity support is enabled for a LUKS2 volume, then the LUKS2 volume key may include the integrity key concatenated to the secure key (dependent on the integrity type). Get the integrity key size from the LUKS2 header (if integrity support is enabled) and calculate the size of the secure key when performing operations with the secure key only. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>