Re: [PATCH 0/3] crypto: caam - IV-related fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 28, 2018 at 03:39:16PM +0300, Horia Geantă wrote:
> 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(-)

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



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux