[PATCH v5] test: add cryptodev crosscheck suite
Akhil Goyal
gakhil at marvell.com
Thu Mar 16 10:44:33 CET 2023
> Subject: [PATCH v5] test: add cryptodev crosscheck suite
>
> Add a validation test suite that helps in verifying that the output
> generated by two different cryptodevs match for a wide range of input
> parameter combinations.
>
> Crypto autotest performs a comprehensive testing of the cryptodev but since
> it performs verification by comparing against known vectors, the extend to
> which various parameters (like packet size) can be tested is limited. This
> test suite attempts to simulate various cases by running same test case on
> different cryptodevs and compares the output generated. The test suite
> relies on capabilities to determine the combinations of tests to be
> attempted.
>
> A typical use case would be to compare outputs generated from a standard
> driver such as openSSL PMD and a new cryptodev PMD. This test suite is to
> compliment the testing coverage that crypto autotest provides.
>
> Currently supported symmetric xforms(cipher, auth, aead) without chaining.
>
> Example commands:
> DPDK_TEST=cryptodev_crosscheck ./dpdk-test \
> --vdev "crypto_openssl0" --vdev "crypto_openssl1"
> DPDK_TEST=cryptodev_crosscheck ./dpdk-test \
> -a <cryptodev> --vdev "crypto_openssl"
>
> Signed-off-by: Volodymyr Fialko <vfialko at marvell.com>
> ---
> V2:
> - Updated commit message.
> V3:
> - Removed usage of deprecated crypto strings API.
> V4:
> - Reworked cryptodev capabilities scan procedure
> - Moved AAD and digest from rte_mbuf to separated memory
> - Released allocated memory
> V5:
> - Fixed coding style issues
Hi Ciara,
Can you check if this version works for you and ack if all good?
Regards,
Akhil
More information about the dev
mailing list