test/crypto: fix data lengths
authorKai Ji <kai.ji@intel.com>
Tue, 9 Nov 2021 10:42:31 +0000 (10:42 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 16 Nov 2021 06:38:07 +0000 (07:38 +0100)
commitf52b75c61b7cf75e5c9a665e465dfbace2a18f30
treeda4583cb15c85c008f972a9ea6ed6348f195640a
parent9fc69835feb33d0e155076163ecc2f5479cf1bc2
test/crypto: fix data lengths

This patch fixes incorrect data lengths computation in cryptodev
unit test. Previously some data lengths were incorrectly set, which
was insensitive for crypto op unit tets but is critical for raw data
path API unit tests. The patch addressed the issue by setting the
correct data lengths for some tests.

Fixes: 681f540da52b ("cryptodev: do not use AAD in wireless algorithms")
Fixes: e847fc512817 ("test/crypto: add encrypted digest case for AES-CTR-CMAC")
Fixes: b1c1df46878d ("test/crypto: add ZUC test cases for auth-cipher")
Cc: stable@dpdk.org
Signed-off-by: Kai Ji <kai.ji@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
app/test/test_cryptodev.c