• Milan Broz's avatar
    Check cipher before writing metadata (LUKS2). · 187170ec
    Milan Broz authored
    Some ciphers and key sizes created on-disk metadata that cannot be used.
    Use the same test for length-preserving cipher as LUKS1.
    
    Also check if key for integrity algorithm is not too small.
    
    Fixes #373.
    187170ec
luks.h 4.75 KB