On Wed, Mar 05, 2008 at 11:48:01PM +0100, Stefan Hellermann wrote: > > The XTS blockmode uses a copy of the IV which is saved on the stack > > and may or may not be properly aligned. If it is not, it will break > > hardware cipher like the geode or padlock. > > This patch encrypts the IV in place so we don't have to worry about > > alignment. > > > > Signed-off-by: Sebastian Siewior <sebastian@xxxxxxxxxxxxx> > > --- > > Herbert, I tried the small patch thing :) > > It passed tcrypt on my geode, dunno about dm-crypt & friends. > > Stefan if you could test it with dm-crypt than we have a small fix :) > > Yes, this passwd my tests, too! Nice :) > > Tested-by: Stefan Hellermann <stefan@xxxxxxxxxxxxxx Patch applied. Thanks everyeone! I'll push this to stable too. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html