Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A 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()
1268 struct sec_sqe *sec_sqe = &req->sec_sqe; in sec_skcipher_bd_fill() local
1273 memset(sec_sqe, 0, sizeof(struct sec_sqe)); in sec_skcipher_bd_fill()
1275 sec_sqe->type2.c_key_addr = cpu_to_le64(c_ctx->c_key_dma); in sec_skcipher_bd_fill()
1276 sec_sqe->type2.c_ivin_addr = cpu_to_le64(c_req->c_ivin_dma); in sec_skcipher_bd_fill()
1277 sec_sqe->type2.data_src_addr = cpu_to_le64(req->in_dma); in sec_skcipher_bd_fill()
1278 sec_sqe->type2.data_dst_addr = cpu_to_le64(c_req->c_out_dma); in sec_skcipher_bd_fill()
1280 sec_sqe->type2.icvw_kmode |= cpu_to_le16(((u16)c_ctx->c_mode) << in sec_skcipher_bd_fill()
1282 sec_sqe->type2.c_alg = c_ctx->c_alg; in sec_skcipher_bd_fill()
[all …]
H A Dsec.h46 struct sec_sqe sec_sqe; member
H A Dsec_crypto.h173 struct sec_sqe { struct