From: Weili Qian qianweili@huawei.com
In asynchronous scenarios, call wd_do_rsa_async() instead of wd_do_rsa_sync().
Signed-off-by: Weili Qian qianweili@huawei.com --- uadk_tool/benchmark/hpre_uadk_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uadk_tool/benchmark/hpre_uadk_benchmark.c b/uadk_tool/benchmark/hpre_uadk_benchmark.c index 9d89f7e..653232f 100644 --- a/uadk_tool/benchmark/hpre_uadk_benchmark.c +++ b/uadk_tool/benchmark/hpre_uadk_benchmark.c @@ -2211,7 +2211,7 @@ static void *ecc_uadk_async_run(void *arg) tag[i].sess = h_sess; req.cb_param = &tag[i];
- ret = wd_do_ecc_sync(h_sess, &req); + ret = wd_do_ecc_async(h_sess, &req); if (ret == -WD_EBUSY) { usleep(SEND_USLEEP * try_cnt); try_cnt++;