common/dpaax: fix 12-bit null auth case
authorAkhil Goyal <akhil.goyal@nxp.com>
Wed, 8 Jan 2020 12:52:31 +0000 (18:22 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 8 Jul 2020 16:16:17 +0000 (18:16 +0200)
commitb86a32234f67560068f8388077846ac35ca81f17
tree592412b21008c68a06013e72660429910489821f
parent91d581dc1b6f5164c63cc7a3f857a1d72b231d47
common/dpaax: fix 12-bit null auth case

In cases of NULL auth in PDCP, the descriptors
should be based on ALGORITHM command instead of
PROTOCOL command.
It was done in case of encap, but was missing in
decap.

Fixes: 526cdf60f1e5 ("crypto/dpaa2_sec: update desc for PDCP 18-bit enc-auth")
Cc: stable@dpdk.org
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/common/dpaax/caamflib/desc/pdcp.h