mbox

[v5,0/2] Crypto test refactoring (first phase)

Message ID 1587057864-160450-1-git-send-email-pablo.de.lara.guarch@intel.com (mailing list archive)
Headers

Message

De Lara Guarch, Pablo April 16, 2020, 5:24 p.m. UTC
  This patchset adds crypto capability checks
in the cryptodev test code, to be able to skip unsupported
test cases for each crypto device, according to their
capabilities.

Thanks to this patchset, there is no more need to check
for internal PMD information in the test code, making it
more "device-agnostic".

Changes in v5:
- Removed fix from the first commit, sending it in a separate patch.

Changes in v4:
- Avoid checking algorithm parameters when CIPHER_NULL
  and/or AUTH_NULL are used (such as key size, IV size...),
  as these are not relevant
- Replaced "&&" with "&" in an if statament


Pablo de Lara (2):
  test/crypto: add capability check
  test/crypto: do not check for internal PMD information

 app/test/test_cryptodev_blockcipher.c       | 56 +++++++++++++++++++++++++++++
 app/test/test_cryptodev_hash_test_vectors.h | 25 -------------
 2 files changed, 56 insertions(+), 25 deletions(-)