From 425cd467cc7f808877e93e19e7f4130b8147c172 Mon Sep 17 00:00:00 2001 From: Zhangfei Gao Date: Sun, 8 Sep 2024 23:38:14 +0000 Subject: [PATCH] uadk: move wd_util and wd_shced to libwd 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 --- Makefile.am | 1 + libwd.map | 5 +++++ libwd_comp.map | 6 ------ libwd_crypto.map | 5 ----- libwd_dae.map | 5 ----- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/Makefile.am b/Makefile.am index ba3308acc..e6d9e8be2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/libwd.map b/libwd.map index 5522ec07f..132fd044d 100644 --- a/libwd.map +++ b/libwd.map @@ -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: *; }; diff --git a/libwd_comp.map b/libwd_comp.map index efc449aaf..336831989 100644 --- a/libwd_comp.map +++ b/libwd_comp.map @@ -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; @@ -35,7 +31,5 @@ global: wd_inflate; wd_inflate_reset; wd_inflate_end; - - wd_find_msg_in_pool; local: *; }; diff --git a/libwd_crypto.map b/libwd_crypto.map index cf23c5680..33de0bf7b 100644 --- a/libwd_crypto.map +++ b/libwd_crypto.map @@ -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: *; }; diff --git a/libwd_dae.map b/libwd_dae.map index 660794c8b..1243c0616 100644 --- a/libwd_dae.map +++ b/libwd_dae.map @@ -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: *; };