[PATCH 3/5] KEYS: encrypted: sanitize all key material
David Howells
dhowells at redhat.com
Fri Apr 21 14:31:08 UTC 2017
Eric Biggers <ebiggers3 at gmail.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
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Linux-security-module-archive
mailing list