aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2017-06-08 14:49:18 +0100
committerJames Morris <[email protected]>2017-06-09 13:29:48 +1000
commitee618b4619b72527aaed765f0f0b74072b281159 (patch)
tree7a01f2a757a88fab95d9acf6353494a6e8e1a32e /lib/netdev-notifier-error-inject.c
parenta9dd74b252e04b7e41ffe78d418b896b33b70a13 (diff)
KEYS: trusted: sanitize all key material
As the previous patch did for encrypted-keys, zero sensitive any potentially sensitive data related to the "trusted" key type before it is freed. Notably, we were not zeroing the tpm_buf structures in which the actual key is stored for TPM seal and unseal, nor were we zeroing the trusted_key_payload in certain error paths. Cc: Mimi Zohar <[email protected]> Cc: David Safford <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: David Howells <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions