[dpdk-dev] [PATCH v2 0/4] app/test: rework crypto AES unit test

Fan Zhang roy.fan.zhang at intel.com
Wed Jun 8 17:38:35 CEST 2016


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

This patchset depends on the following patches/patchsets:

"qat: fix phys address of content descriptor"
(http://dpdk.org/dev/patchwork/patch/13137/)
and
"Add AES Counter mode support for AES-NI MB PMD"
(http://dpdk.org/ml/archives/dev/2016-June/040222.html)

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

Fan Zhang (4):
  app/test: categorize crypto AES test vectors into new file
  app/test: add unified crypto aes test
  app/test: utilize new unified crypto AES test function
  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                  |  689 ++++++++++
 app/test/test_cryptodev_aes.h                  | 1124 +++++++++++++++++
 app/test/test_cryptodev_aes_ctr_test_vectors.h |  257 ----
 5 files changed, 1936 insertions(+), 1748 deletions(-)
 create mode 100755 app/test/test_cryptodev_aes.c
 create mode 100755 app/test/test_cryptodev_aes.h
 delete mode 100644 app/test/test_cryptodev_aes_ctr_test_vectors.h

-- 
2.5.5



More information about the dev mailing list