diff options
author | Marco Chiappero <marco.chiappero@intel.com> | 2020-10-12 23:38:17 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-10-30 09:34:46 +0300 |
commit | e4e37acc3bb0ce6152077e24cf9faad71f3c10b6 (patch) | |
tree | 655cab251e739f5a0a3455a27fae5419de0435cc /drivers/crypto/qat/qat_c3xxx/adf_drv.c | |
parent | c98e233062cd9d0e2f10e445a671f0799daaef67 (diff) | |
download | linux-e4e37acc3bb0ce6152077e24cf9faad71f3c10b6.tar.xz |
crypto: qat - update IV in software
Do IV update calculations in software for AES-CBC and AES-CTR.
This allows to embed the IV on the request descriptor and removes the
allocation of the IV buffer in the data path.
In addition, this change allows the support of QAT devices that are not
capable of updating the IV buffer when performing an AES-CBC or AES-CTR
operation.
Signed-off-by: Marco Chiappero <marco.chiappero@intel.com>
Co-developed-by: Mateusz Polrola <mateuszx.potrola@intel.com>
Signed-off-by: Mateusz Polrola <mateuszx.potrola@intel.com>
Co-developed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Indrasena Reddy Gali <indrasena.reddygali@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_c3xxx/adf_drv.c')
0 files changed, 0 insertions, 0 deletions