This patchset reworks the crypto AES unit test by introducing a new
unified test function.

v2
*fix session not freed after the test finished problem
*remove l2fwd-crypto sample application patch

v3
*fix clang compile error

v4
*fix the misplaced commit in the v3 patchset

v5
*squash several patches into one patch

v6
*remove unused macro

Fan Zhang (2):
  app/test: rework the crypto AES unit test
  app/test: add crypto AES-CBC-128 HMAC-SHA224 and HMAC-SHA384 unit
    tests

 app/test/Makefile                              |    1 +
 app/test/test_cryptodev.c                      | 1613 ++----------------------
 app/test/test_cryptodev_aes.c                  |  685 ++++++++++
 app/test/test_cryptodev_aes.h                  | 1124 +++++++++++++++++
 app/test/test_cryptodev_aes_ctr_test_vectors.h |  257 ----
 5 files changed, 1932 insertions(+), 1748 deletions(-)
 create mode 100644 app/test/test_cryptodev_aes.c
 create mode 100644 app/test/test_cryptodev_aes.h
 delete mode 100644 app/test/test_cryptodev_aes_ctr_test_vectors.h

-- 
2.5.5

Reply via email to