alistair23-linux/net/tls
Vakul Garg 0b243d004e net/tls: Combined memory allocation for decryption request
For preparing decryption request, several memory chunks are required
(aead_req, sgin, sgout, iv, aad). For submitting the decrypt request to
an accelerator, it is required that the buffers which are read by the
accelerator must be dma-able and not come from stack. The buffers for
aad and iv can be separately kmalloced each, but it is inefficient.
This patch does a combined allocation for preparing decryption request
and then segments into aead_req || sgin || sgout || iv || aad.

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-13 08:41:09 -07:00
..
Kconfig net/tls: Add generic NIC offload infrastructure 2018-05-01 09:42:47 -04:00
Makefile net/tls: Add generic NIC offload infrastructure 2018-05-01 09:42:47 -04:00
tls_device.c net/tls: Use kmemdup to simplify the code 2018-08-01 09:47:47 -07:00
tls_device_fallback.c tls: Add rx inline crypto offload 2018-07-16 00:13:11 -07:00
tls_main.c tls: Add rx inline crypto offload 2018-07-16 00:13:11 -07:00
tls_sw.c net/tls: Combined memory allocation for decryption request 2018-08-13 08:41:09 -07:00