commit | 52176603795c2ab7e9faf6bb94820da1b726aabd | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Feb 09 17:18:00 2017 +0000 |
committer | James Morris <james.l.morris@oracle.com> | Fri Feb 10 12:43:51 2017 +1100 |
tree | b1b7e7c2938d1b9ae0446ed5ce2da554e326d36c | |
parent | 57cb17e764ba0aaa169d07796acce54ccfbc6cae [diff] |
KEYS: Use memzero_explicit() for secret data I don't think GCC has figured out how to optimize the memset() away, but they might eventually so let's future proof this code a bit. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Mimi Zohar <zohar@linux.vnet.ibm.com> Signed-off-by: James Morris <james.l.morris@oracle.com>