crypto/octeontx2: fix lookaside IPsec IV pointer
authorTejasree Kondoj <ktejasree@marvell.com>
Fri, 16 Jul 2021 10:44:47 +0000 (16:14 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 20 Jul 2021 08:32:05 +0000 (10:32 +0200)
commit48c56b329498589e5b57072616e16a776f2d6579
treec21e3705ac9f8444c8a4ee44c6a21dc5cf56b6f5
parentee9b17ea58bdf31b360376f1cc4c990b2f8b58b7
crypto/octeontx2: fix lookaside IPsec IV pointer

In case of AES-GCM/CCM, nonce/salt comes along
with IV, hence can be copied in a single memcpy.
This patch fixes the IV copy in lookaside IPsec
outbound instruction.

Fixes: fab634eb87ca ("crypto/octeontx2: support security session data path")
Cc: stable@dpdk.org
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/octeontx2/otx2_ipsec_po_ops.h