Skip to content

Commit

Permalink
uadk: move wd_util and wd_shced to libwd
Browse files Browse the repository at this point in the history
The wd_util.c and wd_shced.c should be in libwd.so
No need to export in every algo.so

Signed-off-by: Zhangfei Gao <[email protected]>
  • Loading branch information
zhangfeigao committed Nov 6, 2024
1 parent fd309a0 commit 425cd46
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ uadk_drivers_LTLIBRARIES=libhisi_sec.la libhisi_hpre.la libhisi_zip.la \
libisa_ce.la libisa_sve.la libhisi_dae.la

libwd_la_SOURCES=wd.c wd_mempool.c wd.h wd_alg.c wd_alg.h \
wd_sched.c wd_util.c \
v1/wd.c v1/wd.h v1/wd_adapter.c v1/wd_adapter.h \
v1/wd_rng.c v1/wd_rng.h \
v1/wd_rsa.c v1/wd_rsa.h \
Expand Down
5 changes: 5 additions & 0 deletions libwd.map
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,10 @@ global:
wd_enable_drv;
wd_disable_drv;
wd_get_alg_head;

wd_sched_rr_instance;
wd_sched_rr_alloc;
wd_sched_rr_release;
wd_find_msg_in_pool;
local: *;
};
6 changes: 0 additions & 6 deletions libwd_comp.map
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ global:
wd_comp_get_driver;
wd_comp_reset_sess;

wd_sched_rr_instance;
wd_sched_rr_alloc;
wd_sched_rr_release;

wd_deflate_init;
wd_deflate;
wd_deflate_reset;
Expand All @@ -35,7 +31,5 @@ global:
wd_inflate;
wd_inflate_reset;
wd_inflate_end;

wd_find_msg_in_pool;
local: *;
};
5 changes: 0 additions & 5 deletions libwd_crypto.map
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,5 @@ global:
wd_ecc_ctx_num_init;
wd_ecc_ctx_num_uninit;
wd_ecc_get_env_param;

wd_sched_rr_instance;
wd_sched_rr_alloc;
wd_sched_rr_release;
wd_find_msg_in_pool;
local: *;
};
5 changes: 0 additions & 5 deletions libwd_dae.map
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,5 @@ global:
wd_agg_get_output_async;
wd_agg_rehash_sync;
wd_agg_poll;

wd_sched_rr_instance;
wd_sched_rr_alloc;
wd_sched_rr_release;
wd_find_msg_in_pool;
local: *;
};

0 comments on commit 425cd46

Please sign in to comment.