[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28373.1492785068@warthog.procyon.org.uk>
Date: Fri, 21 Apr 2017 15:31:08 +0100
From: David Howells <dhowells@...hat.com>
To: Eric Biggers <ebiggers3@...il.com>
Cc: dhowells@...hat.com, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, Eric Biggers <ebiggers@...gle.com>,
Mimi Zohar <zohar@...ux.vnet.ibm.com>,
David Safford <safford@...ibm.com>
Subject: Re: [PATCH 3/5] KEYS: encrypted: sanitize all key material
Eric Biggers <ebiggers3@...il.com> wrote:
> - memzero_explicit(epayload->decrypted_data, epayload->decrypted_datalen);
> - kfree(key->payload.data[0]);
> + kzfree(key->payload.data[0]);
Should kzfree() be using memzero_explicit() rather than memset()?
David
Powered by blists - more mailing lists