Re: [PATCH 5/7] esp6: Switch to new AEAD interface

Herbert Xu
2015-05-22T07:19:29Z

On Fri, May 22, 2015 at 09:16:08AM +0200, Stephan Mueller wrote:
>
> Thanks for the pointer, but there I do not really see the functionality I am
> looking for. I see patch 10/16 which seems to indicate that the geniv logic is
> now to be invoked as a normal AEAD cipher. I yet fail to see where the
> distinction is made in the code that an IV is to be generated versus the given
> IV is to be used.

Only IV generators algorithms will generate IV. The generated IV
will be placed at the start of cipher text. See patches 14-16 for
the actual implementation.

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