diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-12-11 13:27:14 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-02 22:41:35 +0100 |
commit | a3b01ffddc210a836eda8aa751cfa911a2817a85 (patch) | |
tree | d066d0c5ef2f6725c0b83d863e0f940807d80193 /crypto/essiv.c | |
parent | crypto: ccree - remove unused including <linux/version.h> (diff) | |
download | linux-a3b01ffddc210a836eda8aa751cfa911a2817a85.tar.xz linux-a3b01ffddc210a836eda8aa751cfa911a2817a85.zip |
chcr_ktls: use AES library for single use cipher
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.sawal@chelsio.com>
Cc: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Cc: Rohit Maheshwari <rohitm@chelsio.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/essiv.c')
0 files changed, 0 insertions, 0 deletions