This patch set fixes several issues related to IV handling: -in some cases IV direction is incorrect -IVs need to be DMA mapped (when they are not provided directly as "immediate" values in the descriptors); however, crypto API does not guarantee the IV buffers to be DMAable -in-place ablkcipher decryption needs special handling since ciphertext will be overwritten by the time we want to update the IV with the last ciphertext block Horia Geantă (3): crypto: caam - fix DMA mapping dir for generated IV crypto: caam - fix IV DMA mapping and updating crypto: caam/qi - fix IV DMA mapping and updating drivers/crypto/caam/caamalg.c | 231 +++++++++++++++++---------------------- drivers/crypto/caam/caamalg_qi.c | 227 +++++++++++++++++++------------------- 2 files changed, 219 insertions(+), 239 deletions(-) -- 2.16.2