Return-Path: Received: from localhost (localhost [127.0.0.1]) by mail.saout.de (Postfix) with ESMTP id 8E81592F9 for ; Thu, 6 Aug 2009 11:20:04 +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 fHFoTmV0sSaT for ; Thu, 6 Aug 2009 11:19:59 +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 ; Thu, 6 Aug 2009 11:19:58 +0200 (CEST) Date: Thu, 6 Aug 2009 19:19:36 +1000 From: Herbert Xu Message-ID: <20090806091935.GA26162@gondor.apana.org.au> References: <87zlaf3zl0.wl@obsidian.enotty.net> <4A7984A7.40109@redhat.com> <20090805203017.GA5875@Chamillionaire.breakpoint.cc> <4A7A8A73.706@redhat.com> <20090806083805.GA9736@Chamillionaire.breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090806083805.GA9736@Chamillionaire.breakpoint.cc> Subject: Re: [dm-crypt] cryptsetup with arc4 cipher List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Andrzej Siewior Cc: dm-crypt@saout.de, Stelios Bounanos , linux-crypto@vger.kernel.org, Milan Broz On Thu, Aug 06, 2009 at 10:38:05AM +0200, Sebastian Andrzej Siewior wrote: > > Herbert, any concern to inroduce > #define CRYPTO_ALG_TYPE_STREAM_CIPHER 0x00000007 > and split block cipher from stream cipher? > So no one would mix them up since dm-crypt for instance will look just > for block ciphers. Unless you prefer that the user knows what he is > doing :) Stream ciphers should all have block size 1 so you can just check on that. In any case, I agree that we should make it extremely difficult for users to select an insecure configuration. 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