These patches move some redundant codes to wd_utils from wd_<alg>.c, and remove the unnecessary locks in wd_<alg>.c.
Weili Qian (9): uadk: move parameter check into wd_util.c comp: remove unused variable priv dh: remove the lock in async send ecc: remove the lock in async send funciton comp: remove the lock in async send dh: remove repeated send BD ecc: remove repeated send BD rsa: remove repeated send BD uadk: move send and recv code into wd_util.c
drv/hisi_comp.c | 7 +-- drv/hisi_hpre.c | 18 ++++--- drv/hisi_sec.c | 44 +++++++++------ include/drv/wd_aead_drv.h | 4 +- include/drv/wd_cipher_drv.h | 4 +- include/drv/wd_comp_drv.h | 4 +- include/drv/wd_dh_drv.h | 4 +- include/drv/wd_digest_drv.h | 4 +- include/drv/wd_ecc_drv.h | 4 +- include/drv/wd_rsa_drv.h | 4 +- include/wd_util.h | 26 +++++++++ wd_aead.c | 52 +++--------------- wd_cipher.c | 53 +++--------------- wd_comp.c | 62 ++++----------------- wd_dh.c | 104 ++++++----------------------------- wd_digest.c | 62 +++++---------------- wd_ecc.c | 105 +++++++----------------------------- wd_rsa.c | 104 +++++++---------------------------- wd_util.c | 67 +++++++++++++++++++++++ 19 files changed, 244 insertions(+), 488 deletions(-)