diff options
| author | Ard Biesheuvel <[email protected]> | 2020-12-11 13:27:14 +0100 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2021-01-03 08:41:35 +1100 |
| commit | a3b01ffddc210a836eda8aa751cfa911a2817a85 (patch) | |
| tree | d066d0c5ef2f6725c0b83d863e0f940807d80193 /tools/perf/scripts/python | |
| parent | bbfd06c7c85ec6dfae4a77b27495db8b8bcdfc8c (diff) | |
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 <[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]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions