Hi,
I want to add GCM support to afalg engine and have the patch tested with apache
and s_server/s_client. Can I submit the patch for review? Any suggestion?
The existing afalg supports only aes-128-cbc, the work adds support for:
1. 192 and 256 key size for AES-CBC
2. AES-GCM for 128,
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
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 <atul.gu...@chelsio.com>
---
engines/e_afalg.c