Re: [PATCH net-next][RESEND] net/tls: Use aead_request_alloc/free for request alloc/free

From: David Miller
Date: Thu Jul 12 2018 - 17:45:10 EST


From: Vakul Garg <vakul.garg@xxxxxxx>
Date: Wed, 11 Jul 2018 14:32:20 +0530

> 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@xxxxxxx>

Applied, thanks.