]> git.droids-corp.org - dpdk.git/commit
test/crypto: fix cipher offset for ZUC
authorCiara Power <ciara.power@intel.com>
Tue, 21 Jun 2022 11:41:32 +0000 (11:41 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 21 Jun 2022 18:04:50 +0000 (20:04 +0200)
commit7a0f8fe76bd03dc8b61965040a66409996afa717
treea1bb338a85c36b0e15cbaef797655613e6c3bb2d
parent4c7ae22f1f837558cd287fab642812a304146daa
test/crypto: fix cipher offset for ZUC

The cipher offset in bits was not being used in ZUC encryption test
functions when creating the operation, it was hardcoded to 0.
This is fixed to use the offset from the test vector as intended.

Fixes: fd01a9be38d5 ("test/crypto: move IV to crypto op private data")
Cc: stable@dpdk.org
Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Kai Ji <kai.ji@intel.com>
app/test/test_cryptodev.c