Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c174 struct sec_sqe *bd = resp; in pre_parse_finished_bd()
285 ret = hisi_qp_send(qp_ctx->qp, &req->sec_sqe); in sec_bd_send()
1278 struct sec_sqe *sec_sqe = &req->sec_sqe; in sec_skcipher_bd_fill() local
1283 memset(sec_sqe, 0, sizeof(struct sec_sqe)); in sec_skcipher_bd_fill()
1285 sec_sqe->type2.c_key_addr = cpu_to_le64(c_ctx->c_key_dma); in sec_skcipher_bd_fill()
1286 sec_sqe->type2.c_ivin_addr = cpu_to_le64(c_req->c_ivin_dma); in sec_skcipher_bd_fill()
1287 sec_sqe->type2.data_src_addr = cpu_to_le64(req->in_dma); in sec_skcipher_bd_fill()
1288 sec_sqe->type2.data_dst_addr = cpu_to_le64(c_req->c_out_dma); in sec_skcipher_bd_fill()
1290 sec_sqe->type2.icvw_kmode |= cpu_to_le16(((u16)c_ctx->c_mode) << in sec_skcipher_bd_fill()
1292 sec_sqe->type2.c_alg = c_ctx->c_alg; in sec_skcipher_bd_fill()
[all …]
Dsec.h45 struct sec_sqe sec_sqe; member
Dsec_crypto.h184 struct sec_sqe { struct