Skip to content
  • Ondrej Kozina's avatar
    Add internal code for LUKS2 keyslot params. · 08e7c143
    Ondrej Kozina authored and Milan Broz's avatar Milan Broz committed
    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.
    08e7c143