On Thu, Nov 27, 2014 at 10:33:02PM +0800, Herbert Xu wrote: > On Wed, Nov 26, 2014 at 01:40:57PM -0500, Nickolaus Woodruff wrote: > > Compiler dead store optimization can sometimes remove final calls > > to memset() used to clear sensitive data at the end of a function. > > Replace trailing memset() calls with memzero_explicit() to > > preclude unwanted removal. > > > > Signed-off-by: Nickolaus Woodruff <nickolauswoodruff@xxxxxxxxx> > > Patch applied. Thanks! Actually I'm reverting this because the patch was bogus. None of the data zeroed are on the stack. -- 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