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

From: Dave Watson
Date: Thu Jul 12 2018 - 10:38:49 EST


On 07/11/18 02:32 PM, Vakul Garg wrote:
> 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>

Acked-by: Dave Watson <davejwatson@xxxxxx>