Remove unused structure 'uadk_ecc_sess'.
Signed-off-by: Zhiqi Song songzhiqi1@huawei.com --- src/uadk_pkey.c | 9 --------- src/uadk_sm2.c | 9 --------- 2 files changed, 18 deletions(-)
diff --git a/src/uadk_pkey.c b/src/uadk_pkey.c index 019d4fd..9dfffac 100644 --- a/src/uadk_pkey.c +++ b/src/uadk_pkey.c @@ -44,15 +44,6 @@ struct ecc_res_config { int numa_id; };
-typedef struct uadk_ecc_sess { - handle_t sess; - struct wd_ecc_sess_setup setup; - struct wd_ecc_req req; - int is_pubkey_ready; - int is_privkey_ready; - int key_size; -} uadk_ecc_sess_t; - /* ecc global hardware resource is saved here */ struct ecc_res { struct wd_ctx_config *ctx_res; diff --git a/src/uadk_sm2.c b/src/uadk_sm2.c index 75d2b11..1ef6032 100644 --- a/src/uadk_sm2.c +++ b/src/uadk_sm2.c @@ -46,15 +46,6 @@ struct sm2_ctx { bool is_init; };
-typedef struct uadk_ecc_sess { - handle_t sess; - struct wd_ecc_sess_setup setup; - struct wd_ecc_req req; - int is_pubkey_ready; - int is_privkey_ready; - int key_size; -} uadk_ecc_sess_t; - typedef struct sm2_ciphertext { BIGNUM *C1x; BIGNUM *C1y;