lkml.org 
[lkml]   [2015]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@mortis.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
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2015-01-05 00:21    [W:2.385 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site