Update the testing function of uadk tool.
Add test function of init2.
Add TRNG test function
Kai Ye (3):
uadk_tool - support aead algorithm decrypto perf testing
uadk_tool - support dual sec engine device testing
uadk: support some uadk dfx stronger feature
Longfang Liu (8):
uadk_tool: Optimize sec's sva benchmark code
uadk_tool: Optimize sec's no-sva benchmark code
uadk_tool: Optimize sec's software benchmark code
uadk_tool: add latency test function for uadk_tools
uadk_tool: modify the clean code issue
uadk/tools: Update test function for init2
uadk/sec: added init2 performance test
uadk/comp: added init2 test function for comp
Qi Tao (4):
uadk_tool: fix the memory leak problem
uadk_tool: fix error writing data to uninitialized memory
uadk_tool: initialize the return value 'ret' of the function
add secure compilation option
Weili Qian (10):
uadk_tool: delete redundant memset zero
uadk_tool: fix possible memory leak in <alg>_uadk_async_run
uadk_tool: fix the called function interface
uadk_tool: release memory after all tasks are complete
uadk_tool: fix hpre test code issues
uadk_tool: Support performance test for TRNG.
uadk_tool: added init2 test function for hpre
uadk_tool: use marco to replace numbers
uadk/tool: initialize cparams to zero
uadk_tool: added sm4-xts GB test
Wenkai Lin (3):
uadk_tool/v1 - support aead algorithm decrypto perf testing
uadk_tool/v1: fix sec benchmark problem
uadk/tools: fix for uadk tool sec aead async mode
Yang Shen (4):
uadk/tools - support new parameters for compression
uadk/tools - misc fixes for uadk compress performance
uadk/tools - fix lz77_zstd performance test for nosva mode
uadk/tools - fix for uadk compression stream performance
Zhiqi Song (1):
uadk_tool: support test case for aes cbc cts mode
uadk_tool/Makefile.am | 7 +-
uadk_tool/benchmark/hpre_protocol_data.h | 77 +-
uadk_tool/benchmark/hpre_uadk_benchmark.c | 364 ++++--
uadk_tool/benchmark/hpre_wd_benchmark.c | 98 +-
uadk_tool/benchmark/sec_soft_benchmark.c | 887 ++++++++++-----
uadk_tool/benchmark/sec_uadk_benchmark.c | 1236 +++++++++++++++------
uadk_tool/benchmark/sec_wd_benchmark.c | 1217 +++++++++++++-------
uadk_tool/benchmark/trng_wd_benchmark.c | 324 ++++++
uadk_tool/benchmark/trng_wd_benchmark.h | 7 +
uadk_tool/benchmark/uadk_benchmark.c | 280 ++++-
uadk_tool/benchmark/uadk_benchmark.h | 43 +-
uadk_tool/benchmark/zip_uadk_benchmark.c | 299 +++--
uadk_tool/benchmark/zip_wd_benchmark.c | 335 +++---
uadk_tool/test/test_sec.c | 136 ++-
14 files changed, 3732 insertions(+), 1578 deletions(-)
create mode 100644 uadk_tool/benchmark/trng_wd_benchmark.c
create mode 100644 uadk_tool/benchmark/trng_wd_benchmark.h
--
2.33.0
From: Shangbin Liu <liushangbin(a)hisilicon.com>
This patchset fixes some issues of the uadk.
The first patch adds init wait timeout judgment to prevent deadlocks
when making loopback calls from the same thread.
The second and third patches add a key length validity check before
calculating the actual key length of the algorithm in xts mode. Because
if the key length is odd, it will result in incorrect calculation results.
Shangbin Liu (3):
uadk: add init wait timeout
uadk: fix key length check error in xts mode
uadk/v1: fix key length check error in xts mode
include/wd_util.h | 7 ++++---
v1/wd_cipher.c | 29 ++++++++++++++++-------------
wd_aead.c | 16 +++++++---------
wd_cipher.c | 47 ++++++++++++++++++++++++++---------------------
wd_comp.c | 15 +++++++--------
wd_dh.c | 16 +++++++---------
wd_digest.c | 16 +++++++---------
wd_ecc.c | 15 +++++++--------
wd_rsa.c | 16 +++++++---------
wd_util.c | 18 +++++++++++-------
10 files changed, 99 insertions(+), 96 deletions(-)
--
2.22.0