[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] dm-crypt: disable block encryption with arc4
- From: Milan Broz <mbroz redhat com>
- To: Mikulas Patocka <mpatocka redhat com>
- Cc: dm-devel redhat com, linux-crypto vger kernel org, Alasdair G Kergon <agk redhat com>
- Subject: Re: [dm-devel] [PATCH] dm-crypt: disable block encryption with arc4
- Date: Mon, 25 Jan 2010 19:39:11 +0100
On 01/25/2010 07:29 PM, Mikulas Patocka wrote:
> Hi
>
> When using arc4 to encrypt a block device, the resulting device is
> unreliable. It reads garbage. That's because arc4 is a stream cipher, if
> you write something, it advances its state and if you attempt to decrypt
> the same sector, it uses new state that is different.
>
> This patch disables the use of arc4 on block devices.
arc4 again. it is simply not a block cipher:-)
This should be solved inside cryptoAPI and not blacklist it in dm-crypt,
see that thread
http://article.gmane.org/gmane.linux.kernel.cryptoapi/3441
Milan
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]