Home
last modified time | relevance | path

Searched refs:sec_sqe (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c149 struct sec_sqe *bd = resp; in sec_req_cb()
205 ret = hisi_qp_send(qp_ctx->qp, &req->sec_sqe); in sec_bd_send()
988 struct sec_sqe *sec_sqe = &req->sec_sqe; in sec_skcipher_bd_fill() local
993 memset(sec_sqe, 0, sizeof(struct sec_sqe)); in sec_skcipher_bd_fill()
995 sec_sqe->type2.c_key_addr = cpu_to_le64(c_ctx->c_key_dma); in sec_skcipher_bd_fill()
996 sec_sqe->type2.c_ivin_addr = cpu_to_le64(c_req->c_ivin_dma); in sec_skcipher_bd_fill()
997 sec_sqe->type2.data_src_addr = cpu_to_le64(c_req->c_in_dma); in sec_skcipher_bd_fill()
998 sec_sqe->type2.data_dst_addr = cpu_to_le64(c_req->c_out_dma); in sec_skcipher_bd_fill()
1000 sec_sqe->type2.icvw_kmode |= cpu_to_le16(((u16)c_ctx->c_mode) << in sec_skcipher_bd_fill()
1002 sec_sqe->type2.c_alg = c_ctx->c_alg; in sec_skcipher_bd_fill()
[all …]
H A Dsec.h41 struct sec_sqe sec_sqe; member
H A Dsec_crypto.h154 struct sec_sqe { struct