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

AEAD Question

2016-10-26 Thread Juan Pablo Nariño Mendoza
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 IPSec case, with generated IV case? As I understand, it is like this (ascii art) AD | IV Space |