cryptodev_verify Test Suite

DPDK cryptodev verify test suite.

The main goal of this test suite is to utilize the verify mode of dpdk-test-crypto application to ensure functional correctness for various cryptographic operations supported by DPDK cryptodev-pmd.

class TestCryptodevVerify

Bases: TestSuite

DPDK Crypto Device Testing Suite.

set_up_suite() → None

Set up the test suite.

aesni_mb_vdev() → None

aesni_mb_vdev test.

Steps:
  • Create a cryptodev instance with aesni_mb virtual device and provided buffer sizes.

Verify:
  • The aes_cbc cipher and sha1_hmac authentication algorithms are working as expected

    with the dpdk-test-crypto application.

openssl_vdev() → None

Openssl vdev test.

Steps:
  • Create a cryptodev instance with openssl virtual device and provided buffer sizes.

Verify:
  • The aes_cbc cipher and sha1_hmac authentication algorithms are working as expected

    with the dpdk-test-crypto application.

Raises:

SkippedTestException – When configuration is not provided.

sha1_hmac_buff_32() → None

aes_cbc test.

Steps:
  • Create a cryptodev instance with provided device type and buffer sizes.

Verify:
  • The aes_cbc cipher and sha1_hmac authentication algorithms are working as expected

    with the dpdk-test-crypto application.

Raises:

SkippedTestException – When configuration is not provided.

required_capabilities: ClassVar[set[Capability]] = {LinkTopology.NO_LINK}

The capabilities the test case or suite requires in order to be executed.

topology_type: ClassVar[TopologyCapability] = LinkTopology.NO_LINK

The topology type of the test case or suite.