Return-Path: Received: from localhost (localhost [127.0.0.1]) by mail.saout.de (Postfix) with ESMTP id BCFFB945A for ; Sat, 8 Aug 2009 05:14:05 +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 0M+-xTf0k4hs for ; Sat, 8 Aug 2009 05:14:00 +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:14:00 +0200 (CEST) Date: Sat, 8 Aug 2009 13:13:41 +1000 From: Herbert Xu Message-ID: <20090808031341.GA14304@gondor.apana.org.au> References: <20090805203017.GA5875@Chamillionaire.breakpoint.cc> <20090808030831.GA14172@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090808030831.GA14172@gondor.apana.org.au> 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, Tan Swee Heng , sb-lst@enotty.net, linux-crypto@vger.kernel.org, mbroz@redhat.com On Sat, Aug 08, 2009 at 01:08:32PM +1000, Herbert Xu wrote: > > I noticed that salsa seems to be broken in the same way, but at > least it should be easy to fix. > > arc4 on the other hand needs to be converted to a blkcipher. In fact the internal state shouldn't be kept in the tfm at all. I'll change it into an IV in order to allow continuation. 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