Re: [RFC PATCH 1/2] crypto: caam - properly set IV after {en,de}crypt

From: Herbert Xu
Date: Mon Jun 26 2017 - 02:48:30 EST


On Mon, Jun 26, 2017 at 07:40:58AM +0200, David Gstir wrote:
>
> So, am I correct in assuming that it is required for all modes including AEAD modes like GCM?
> In that case I'll include a fix for the CAAM GCM mode too.

It's only required for skcihper. As we do not do chunking/streaming
with our AEAD interface it is not required for GCM.

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