test/crypto: fix missing operation status check
authorAdam Dybkowski <adamx.dybkowski@intel.com>
Fri, 20 Dec 2019 12:58:52 +0000 (13:58 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 15 Jan 2020 13:13:13 +0000 (14:13 +0100)
commitb26ef1a11f21ecde63582ed6db281c93ce9fbf23
treeae52923fcbe80421f25bfd77292390f0fdf7251b
parent6c9f3b347e21510aa46251d69ab4c809b3ec1261
test/crypto: fix missing operation status check

This patch adds checking of the symmetric crypto operation status
that was silently skipped before. It fixes the wireless algorithms
session creation (SNOW3G, KASUMI, ZUC) and passing of the digest
data for the verification by PMD. Also fixed the missing aad padding
issue revealed after op status checking was introduced.

Fixes: c0f87eb5252b ("cryptodev: change burst API to be crypto op oriented")
Fixes: 77a217a19bb7 ("test/crypto: add AES-CCM tests")
Cc: stable@dpdk.org
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Tested-by: Ankur Dwivedi <adwivedi@marvell.com>
Reviewed-by: Anoob Joseph <anoobj@marvell.com>
app/test/test_cryptodev.c