[dm-crypt] What am I missing for aes-cbc-plain

Jan Willies jan at willies.info
Fri May 20 10:17:33 CEST 2011

2011/5/17 Jan Willies <jan at willies.info>

>  Maybe try to keep LUKS from the picture and check modes works, just
>> use plain crypt - like this:
>> echo "password" | cryptsetup create tst /dev/<some dev> -c aes-cbc-plain
>> -s 128
>> cryptsetup remove tst
> root at OpenWrt:/# echo "password" | cryptsetup create tst /dev/sda1 -c
> aes-cbc-pla
> in -s 128
> device-mapper: table: 254:0: crypt: Error allocating crypto tfm
> device-mapper: ioctl: error adding target to table
> device-mapper: reload ioctl failed: No such file or directory

It works now, I was missing the module 'chainiv'.

Could the error message somehow be improved to reflect that?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20110520/9a84f37b/attachment.html>

More information about the dm-crypt mailing list