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 <[email protected]>
> Cc: Vinay Kumar Yadav <[email protected]>
> Cc: Rohit Maheshwari <[email protected]>
> Signed-off-by: Ard Biesheuvel <[email protected]>

Reviewed-by: Eric Biggers <[email protected]>

Reply via email to