• Milan Broz's avatar
    Properly fail in luksFormat if cipher format is missing required IV. · aeea93fa
    Milan Broz authored
    For now, crypto API quietly used cipher witout IV if a cipher
    algorithm wihtou IV specificaton was used (e.g. aes-xts).
    
    This caused fail later during activation.
    
    This patch allows only two specific backed use without specified IV
    (ECB mode and NULL cipher).
    
    Also check cipher string early during parsing of CLI options.
    aeea93fa
setup.c 111 KB