[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: Mikulas Patocka <mpatocka redhat com>
- To: Herbert Xu <herbert gondor apana org au>
- Cc: dm-devel redhat com, linux-crypto ml breakpoint cc, linux-crypto vger kernel org, agk redhat com, mbroz redhat com
- Subject: Re: [dm-devel] [PATCH] dm-crypt: disable block encryption with arc4
- Date: Tue, 9 Feb 2010 09:02:35 -0500 (EST)
On Tue, 9 Feb 2010, Herbert Xu wrote:
> Mikulas Patocka <mpatocka redhat com> wrote:
> >
> > You should rather add a flag CRYPTO_ALG_CHANGES_STATE to determine that a
> > cipher can't be used to encrypt disks.
>
> No, please see my reply in the previous thread. What we should
> do is fix arc4. I just haven't got around to doing it yet.
What is the fix for arc4? Copy the internal state after a key schedule and
restore it with every encryption?
> As to blacklisting algorithms not suitable for disk encryption,
> that is up to the dm-crypt maintainers to decide.
>
> Cheers,
I think blacklisting "arc4" is better, because it provides a fix now.
Otherwise, people will just keep on arguing what is the "clean" solution
and nothing gets done.
Mikulas
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]