On Wed, Jan 05, 2011 at 04:52:22AM +0100, Mario 'BitKoenig' Holbe wrote: > > According to the VIA PadLock Programming Guide, XSTORE increments EDI by > the number of bytes stored. > This did obviously not matter as long as the buffer was "sufficiently > distant", but now you have the buffer close on the stack and I believe, > the optimizer crops up, hence the EDI increment begins to matter. Interesting. So your compiler was producing incorrect output. What version of gcc were you using? Please attach the assembly output of the function in question. Thanks! -- Email: Herbert Xu <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