[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150104230527.GJ4806@salidar.dom.custoft.eu>
Date: Mon, 5 Jan 2015 00:05:28 +0100
From: Giel van Schijndel <me@...tis.eu>
To: linux-kernel@...r.kernel.org
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
"maintainer:X86 ARCHITECTURE..." <x86@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Steve French <sfrench@...ba.org>,
Rahul Bedarkar <rahulbedarkar89@...il.com>,
Thomas Pugliese <thomas.pugliese@...il.com>,
Randy Dunlap <rdunlap@...radead.org>,
Julia Lawall <Julia.Lawall@...6.fr>,
"open list:CRYPTO API" <linux-crypto@...r.kernel.org>,
"open list:CERTIFIED WIRELES..." <linux-usb@...r.kernel.org>,
"open list:COMMON INTERNET F..." <linux-cifs@...r.kernel.org>,
"moderated list:COMMON INTERNET F..."
<samba-technical@...ts.samba.org>
Subject: Re: [PATCH] Use memzero_explicit to clear local buffers
On Sun, Jan 04, 2015 at 19:05:40 +0100, Giel van Schijndel wrote:
> When leaving a function use memzero_explicit instead of memset(0) to
> clear locally allocated/owned buffers. memset(0) may be optimized away.
>
> All of the affected buffers contain sensitive data, key material or
> derivatives of one of those two.
> ---
Forgot to:
Signed-off-by: Giel van Schijndel <me@...tis.eu>
--
Met vriendelijke groet,
With kind regards,
Giel van Schijndel
--
"Question: what do you call your programming methodology?
Answer: Faith based development. You code and then pray that it works."
-- John Spelner
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists