commit | d2bdd2681278d66fd34cd8e0cf724de918f429b2 | [log] [tgz] |
---|---|---|
author | Vakul Garg <vakul.garg@nxp.com> | Wed Jul 11 14:32:20 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 12 14:44:11 2018 -0700 |
tree | 27195eda78c768a6f96e6583bbb313b220659abd | |
parent | cba54f9cf4ec1126dde5576e025691c27f669d85 [diff] |
net/tls: Use aead_request_alloc/free for request alloc/free Instead of kzalloc/free for aead_request allocation and free, use functions aead_request_alloc(), aead_request_free(). It ensures that any sensitive crypto material held in crypto transforms is securely erased from memory. Signed-off-by: Vakul Garg <vakul.garg@nxp.com> Acked-by: Dave Watson <davejwatson@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>