On Fri, Dec 11, 2020 at 01:27:14PM +0100, Ard Biesheuvel wrote:
> Allocating a cipher via the crypto API only to free it again after using
> it to encrypt a single block is unnecessary in cases where the algorithm
> is known at compile time. So replace this pattern with a call to the AES
> library.
> 
> Cc: Ayush Sawal <ayush.sa...@chelsio.com>
> Cc: Vinay Kumar Yadav <vinay.ya...@chelsio.com>
> Cc: Rohit Maheshwari <roh...@chelsio.com>
> Signed-off-by: Ard Biesheuvel <a...@kernel.org>

Reviewed-by: Eric Biggers <ebigg...@google.com>

Reply via email to