mbox

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

Message ID 20200416090819.1921843-1-pablo.de.lara.guarch@intel.com (mailing list archive)
Headers

Message

De Lara Guarch, Pablo April 16, 2020, 9:08 a.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 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       | 58 ++++++++++++++++++++++++++++-
 app/test/test_cryptodev_hash_test_vectors.h | 25 -------------
 2 files changed, 57 insertions(+), 26 deletions(-)