Re: [PATCH 01/04] Adding cipher mode context information to crypto_tfm

From: James Morris
Date: Wed Feb 09 2005 - 19:32:03 EST


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
<jmorris@xxxxxxxxxx>




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/