Commit 08e7c143 authored by Committed by Milan Broz
Add internal code for LUKS2 keyslot params.
This fixes crypt_keyslot_add_by_key where we were unable to store keyslot (unbound to segment) with different key_size. The code used (new) volume key size implicitly which could be wrong if new size was not compatible with cipher parameter for keyslot area.
Showing with 206 additions and 35 deletions