• 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
Name
Last commit
Last update
..
generators Loading commit data...
Makefile.am Loading commit data...
align-test Loading commit data...
api-test-2.c Loading commit data...
api-test.c Loading commit data...
api_test.h Loading commit data...
compat-test Loading commit data...
compat-test2 Loading commit data...
compatimage.img.bz2 Loading commit data...
compatimage2.img.xz Loading commit data...
compatv10image.img.bz2 Loading commit data...
conversion_imgs.tar.xz Loading commit data...
cryptsetup-valg-supps Loading commit data...
device-test Loading commit data...
differ.c Loading commit data...
discards-test Loading commit data...
evil_hdr-keyslot_overlap.bz2 Loading commit data...
evil_hdr-luks_hdr_damage.bz2 Loading commit data...
evil_hdr-payload_overwrite.bz2 Loading commit data...
evil_hdr-small_luks_device.bz2 Loading commit data...
evil_hdr-stripes_payload_dmg.bz2 Loading commit data...
img_fs_ext4.img.bz2 Loading commit data...
img_fs_vfat.img.bz2 Loading commit data...
img_fs_xfs.img.bz2 Loading commit data...
integrity-compat-test Loading commit data...
keyring-compat-test Loading commit data...
keyring-test Loading commit data...
loopaes-test Loading commit data...
luks1-compat-test Loading commit data...
luks1-images.tar.bz2 Loading commit data...
luks2-integrity-test Loading commit data...
luks2-validation-test Loading commit data...
luks2_header_requirements.xz Loading commit data...
luks2_header_requirements_free.xz Loading commit data...
luks2_keyslot_unassigned.img.xz Loading commit data...
luks2_valid_hdr.img.xz Loading commit data...
mode-test Loading commit data...
password-hash-test Loading commit data...
reencryption-compat-test Loading commit data...
reencryption-compat-test2 Loading commit data...
tcrypt-compat-test Loading commit data...
tcrypt-images.tar.bz2 Loading commit data...
test_utils.c Loading commit data...
valg-api.sh Loading commit data...
valg.sh Loading commit data...
valid_header_file.bz2 Loading commit data...
verity-compat-test Loading commit data...