crypto/dpaa2_sec: support AES-XCBC-MAC
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 14 Jan 2021 07:04:58 +0000 (12:34 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 19 Jan 2021 17:05:45 +0000 (18:05 +0100)
commitcaf84d618dd4a477ba94a6c631f2f24dc821e4b8
tree4d5e548e93f51f1c90fee0f13475c78567f679a5
parent09a0fd736a08a9152551611071059f1e7ca27b1e
crypto/dpaa2_sec: support AES-XCBC-MAC

This patch add support for AES-XCBC-MAC for following cases
- AES-XCBC-MAC auth only
- AES-CBC/CTR + AES-XCBC-MAC (non-proto)
- AES-CBC/CTR + AES-XCBC-MAC (protocol offload)
- DES-CBC + AES-XCBC-MAC (non-proto)
- 3DES-CBC + AES-XCBC-MAC (non-proto)

Signed-off-by: Barry Cao <barry.cao@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
doc/guides/cryptodevs/dpaa2_sec.rst
doc/guides/cryptodevs/features/dpaa2_sec.ini
drivers/common/dpaax/caamflib/desc/algo.h
drivers/common/dpaax/caamflib/desc/ipsec.h
drivers/common/dpaax/caamflib/rta/operation_cmd.h
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h