Return-Path: Received: from localhost (localhost [127.0.0.1]) by mail.saout.de (Postfix) with ESMTP id 93AC99452 for ; Sat, 8 Aug 2009 05:10:45 +0200 (CEST) Received: from mail.saout.de ([127.0.0.1]) by localhost (mail.saout.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QS4YJWgG46em for ; Sat, 8 Aug 2009 05:10:40 +0200 (CEST) Received: from arnor.apana.org.au (rhun.apana.org.au [64.62.148.172]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Sat, 8 Aug 2009 05:10:40 +0200 (CEST) Date: Sat, 8 Aug 2009 13:10:23 +1000 From: Herbert Xu Message-ID: <20090808031023.GA14272@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87iqh050re.wl@obsidian.enotty.net> Subject: Re: [dm-crypt] cryptsetup with arc4 cipher List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stelios Bounanos Cc: dm-crypt@saout.de, linux-crypto@ml.breakpoint.cc, linux-crypto@vger.kernel.org, mbroz@redhat.com Stelios Bounanos wrote: > >> Again, why crypto API allows to use it and do not produce error then? > > Yes, if arc4 is only used for WEP perhaps the crypto API should emit an > error earlier so that "cryptsetup luksOpen" fails. I'm going to fix arc4 so that this "random" behaviour does not occur. However, that is not to say that it is a good idea to use arc4 for disk encryption. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt