Skip to content

Commit

Permalink
uadk_tools: enable UADK Tools to support heterogeneous computing
Browse files Browse the repository at this point in the history
In uadk tools, enable the heterogeneous computing function of init2
mode of cipher and digest. This allows the init2 interface to directly
complete heterogeneous computing.

Signed-off-by: Longfang Liu <[email protected]>
  • Loading branch information
Longfang Liu committed Oct 8, 2024
1 parent 1d1314e commit b240d06
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 326 deletions.
Empty file modified uadk_mk.sh
100644 → 100755
Empty file.
18 changes: 8 additions & 10 deletions uadk_tool/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,22 @@ bin_PROGRAMS=uadk_tool
uadk_tool_SOURCES=uadk_tool.c dfx/uadk_dfx.c dfx/uadk_dfx.h \
benchmark/uadk_benchmark.c benchmark/uadk_benchmark.h \
benchmark/sec_uadk_benchmark.c benchmark/sec_uadk_benchmark.h \
benchmark/sec_wd_benchmark.c benchmark/sec_wd_benchmark.h \
benchmark/hpre_uadk_benchmark.c benchmark/hpre_uadk_benchmark.h \
benchmark/hpre_wd_benchmark.c hpre_wd_benchmark.h \
benchmark/zip_uadk_benchmark.c benchmark/zip_uadk_benchmark.h \
benchmark/zip_wd_benchmark.c benchmark/zip_wd_benchmark.h \
benchmark/trng_wd_benchmark.c benchmark/trng_wd_benchmark.h \
test/uadk_test.c test/uadk_test.h \
test/test_sec.c test/test_sec.h test/sec_template_tv.h
benchmark/zip_uadk_benchmark.c benchmark/zip_uadk_benchmark.h
# benchmark/sec_wd_benchmark.c benchmark/sec_wd_benchmark.h \
# benchmark/hpre_uadk_benchmark.c benchmark/hpre_uadk_benchmark.h \
# benchmark/hpre_wd_benchmark.c hpre_wd_benchmark.h \
# benchmark/zip_wd_benchmark.c benchmark/zip_wd_benchmark.h
# benchmark/trng_wd_benchmark.c benchmark/trng_wd_benchmark.h
# test/uadk_test.c test/uadk_test.h \
# test/test_sec.c test/test_sec.h test/sec_template_tv.h

if WD_STATIC_DRV
AM_CFLAGS+=-Bstatic
uadk_tool_LDADD=$(libwd_la_OBJECTS) \
$(libwd_crypto_la_OBJECTS) \
../.libs/libwd_comp.a \
../.libs/libhisi_sec.a \
../.libs/libhisi_hpre.a \
../.libs/libhisi_zip.a \
../.libs/libisa_ce.a \
-ldl -lnuma
else
uadk_tool_LDADD=-L../.libs -l:libwd.so.2 -l:libwd_crypto.so.2 \
Expand Down
Loading

0 comments on commit b240d06

Please sign in to comment.