[openssl-dev] [openssl-master 0/1] AFALG: Support AES GCM

2018-02-04 Thread Atul Gupta
The objective of this patch is to add AEAD cipher aes-gcm to afalg. Portion of code is borrowed from e_aes.c. The AEAD auth size is set to program the TAG length. AAD (additional authenc data) is sent in iov along with data[in]. The code is tested with s_server/s_client and apache. Atul Gupta (1)

[openssl-dev] [openssl-master 1/1] AFALG: Support AES-GCM

2018-02-04 Thread Atul Gupta
Extends afalg functionality to another AES cipher. GCM, will enable TLS to use hardware crypto accelerator through AF_ALG socket. Support keysize 128,192 ans 256. Signed-off-by: Atul Gupta --- engines/e_afalg.c | 568 -- engines/e_afalg.h |

Re: [openssl-dev] [openssl-master 0/1] AFALG: Support AES GCM

2018-02-04 Thread Kurt Roeckx
On Mon, Feb 05, 2018 at 12:08:38PM +0530, Atul Gupta wrote: > The objective of this patch is to add AEAD cipher aes-gcm > to afalg. Portion of code is borrowed from e_aes.c. The AEAD > auth size is set to program the TAG length. AAD (additional > authenc data) is sent in iov along with data[in]. P