Re: [PATCH 0/2] crypto: caam - update IV using HW support

From: Herbert Xu
Date: Thu Jun 20 2019 - 04:11:20 EST


On Mon, Jun 10, 2019 at 04:30:57PM +0300, Horia GeantÄ wrote:
> This patch set updates the drivers to rely on HW for providing
> the output IV in case of skcipher algorithms.
>
> It's both an improvement, as previously mentioned here:
> https://lore.kernel.org/linux-crypto/VI1PR0401MB2591C51C446CFA129B50022298D20@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> and a fix for the currently broken ctr(aes) IV update.
>
> Horia GeantÄ (2):
> crypto: caam - use len instead of nents for bulding HW S/G table
> crypto: caam - update IV using HW support
>
> drivers/crypto/caam/caamalg.c | 119 ++++++++++++----------
> drivers/crypto/caam/caamalg_desc.c | 31 ++++--
> drivers/crypto/caam/caamalg_desc.h | 4 +-
> drivers/crypto/caam/caamalg_qi.c | 122 ++++++++++-------------
> drivers/crypto/caam/caamalg_qi2.c | 152 ++++++++++++++---------------
> drivers/crypto/caam/caamhash.c | 15 ++-
> drivers/crypto/caam/caampkc.c | 4 +-
> drivers/crypto/caam/sg_sw_qm.h | 18 ++--
> drivers/crypto/caam/sg_sw_qm2.h | 18 ++--
> drivers/crypto/caam/sg_sw_sec4.h | 18 ++--
> 10 files changed, 262 insertions(+), 239 deletions(-)

All applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt