[PATCH 0/2] crypto: caam - update IV using HW support
From: Horia GeantÄ
Date: Mon Jun 10 2019 - 09:35:34 EST
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(-)
--
2.17.1