crypto/dpaax_sec: support auth trailer in cipher-auth
authorVakul Garg <vakul.garg@nxp.com>
Mon, 14 Oct 2019 06:53:25 +0000 (12:23 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 23 Oct 2019 14:57:06 +0000 (16:57 +0200)
commit3394ed4715703729da89c45afce823559cb2b2b5
tree15fbf9de157987845f524f61ae48c635695c54d5
parent7a4a6da47007a1ab1abeb83633d35db29e13cbef
crypto/dpaax_sec: support auth trailer in cipher-auth

For cases like ESN where authentication data can be after cipher
data, support for authentication trailer is required.
This patch adds support of auth-only data trailing after cipher data.

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/caam_jr/caam_jr.c
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/crypto/dpaa2_sec/hw/desc/ipsec.h
drivers/crypto/dpaa_sec/dpaa_sec.c