diff options
author | Vakul Garg <vakul.garg@nxp.com> | 2018-07-11 14:32:20 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-12 14:44:11 -0700 |
commit | d2bdd2681278d66fd34cd8e0cf724de918f429b2 (patch) | |
tree | 27195eda78c768a6f96e6583bbb313b220659abd /drivers/crypto/bcm | |
parent | cba54f9cf4ec1126dde5576e025691c27f669d85 (diff) | |
download | op-kernel-dev-d2bdd2681278d66fd34cd8e0cf724de918f429b2.zip op-kernel-dev-d2bdd2681278d66fd34cd8e0cf724de918f429b2.tar.gz |
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>
Diffstat (limited to 'drivers/crypto/bcm')
0 files changed, 0 insertions, 0 deletions