Re: AEAD question

2019-08-08 Thread Herbert Xu
On Tue, Aug 06, 2019 at 09:20:52AM +, Pascal Van Leeuwen wrote: > > The discussion below still lacks some resolution ... > > What is boils down to is: what should an authenc AEAD driver do when it > gets a setauthsize request of zero? It must support zero for the special case of digest_null,

RE: AEAD question

2019-08-06 Thread Pascal Van Leeuwen
.net > Subject: RE: AEAD question > > > -Original Message- > > From: Eric Biggers > > Sent: Monday, July 22, 2019 6:23 PM > > To: Pascal Van Leeuwen > > Cc: linux-crypto@vger.kernel.org; Herbert Xu ; > da...@davemloft.net > > Subject: Re: AEAD

RE: AEAD question

2019-07-22 Thread Pascal Van Leeuwen
> -Original Message- > From: Eric Biggers > Sent: Monday, July 22, 2019 6:23 PM > To: Pascal Van Leeuwen > Cc: linux-crypto@vger.kernel.org; Herbert Xu ; > da...@davemloft.net > Subject: Re: AEAD question > > On Mon, Jul 22, 2019 at 12:55:39PM +, Pascal

Re: AEAD question

2019-07-22 Thread Eric Biggers
On Mon, Jul 22, 2019 at 12:55:39PM +, Pascal Van Leeuwen wrote: > Eric & Herbert, > > I noticed the testmgr fuzz tester generating (occasionally, see previous > mail) tests cases with > authsize=0 for the AEAD ciphers. I'm wondering if that is intentional. Or > actually, I'm wondering > whe

Re: AEAD Question

2016-10-27 Thread Juan Pablo Nariño Mendoza
Hello Stephan Thank you for your fast answer My idea is to do zero copy encryption and the cipher I am using is authenc(hmac(sha1),cbc(aes). The layout of my buffer is espHeader(AD) || IV || plaintext || Integrity (TAG) As I see it, the SGs do point to the same buffer, but they do not overlap

Re: AEAD Question

2016-10-26 Thread Stephan Mueller
Am Mittwoch, 26. Oktober 2016, 18:17:14 CEST schrieb Juan Pablo Nariño Mendoza: Hi Juan, > Sorry in advance for making what shall be a basic question for this > list, but I have really ran out of ideas. > > Can someone explain me please, how does the memory layout and sg lists > work for the IP