Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261986AbVBJAac (ORCPT ); Wed, 9 Feb 2005 19:30:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261987AbVBJAab (ORCPT ); Wed, 9 Feb 2005 19:30:31 -0500 Received: from mx1.redhat.com ([66.187.233.31]:47042 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S261986AbVBJAa0 (ORCPT ); Wed, 9 Feb 2005 19:30:26 -0500 Date: Wed, 9 Feb 2005 19:30:14 -0500 (EST) From: James Morris X-X-Sender: jmorris@thoron.boston.redhat.com To: Fruhwirth Clemens cc: Andrew Morton , , , "David S. Miller" , "Adam J. Richter" Subject: Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm In-Reply-To: <1107940449.14810.12.camel@ghanima> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 29 On Wed, 9 Feb 2005, Fruhwirth Clemens wrote: > I can't code for the case of two. Because, first, that's the idea of > generic in the name "generic scatterwalk", second, I need at least 3 > scatterlists in parallel for LRW. Can you explain why you need a third scatterlist for the LRW tweak? My understanding is that the tweak value is calculated from the disk position of the plaintext block and and the secondary key. It would be useful to see the original patch (which seems to be unavailable now), with dm-crypt integration, to see how the entire mechanism works beyond the test vectors. - James -- James Morris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/