projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: authenc - don't leak pointers to authenc keys
[linux-block.git]
/
crypto
/
authenc.c
diff --git
a/crypto/authenc.c
b/crypto/authenc.c
index d3d6d72fe649ff00e87bf3a2eb0db591da11081e..4fa8d40d947b7594f8a7b089a8a86e8ea1b5e81d 100644
(file)
--- a/
crypto/authenc.c
+++ b/
crypto/authenc.c
@@
-108,6
+108,7
@@
static int crypto_authenc_setkey(struct crypto_aead *authenc, const u8 *key,
CRYPTO_TFM_RES_MASK);
out:
+ memzero_explicit(&keys, sizeof(keys));
return err;
badkey: