Skip to content

Commit cb2dd63

Browse files
committed
crypto/uadk: use async mode to replace sync mode
To get better performance, using async mode to replace sync mode However, case UADK_CHAIN_CIPHER_AUTH and UADK_CHAIN_AUTH_CIPHER still use sync mode for the first operation and async mode for the second operation since the dependence. Also RTE_CRYPTO_AUTH_OP_VERIFY will hold the generated auth in qp->temp_digest[idx % BURST_MAX] to verify later. Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
1 parent a452e4e commit cb2dd63

3 files changed

Lines changed: 238 additions & 95 deletions

File tree

drivers/crypto/uadk/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ sources = files(
1313
)
1414

1515
deps += 'bus_vdev'
16-
dep = dependency('libwd_crypto', required: false, method: 'pkg-config')
16+
dep = dependency('libwd_crypto', version: '>=2.6', required: false, method: 'pkg-config')
1717
if not dep.found()
1818
build = false
1919
reason = 'missing dependency, "libwd_crypto"'
2020
else
2121
ext_deps += dep
2222
endif
2323

24-
dep = dependency('libwd', required: false, method: 'pkg-config')
24+
dep = dependency('libwd', version: '>=2.6', required: false, method: 'pkg-config')
2525
if not dep.found()
2626
build = false
2727
reason = 'missing dependency, "libwd"'

0 commit comments

Comments
 (0)