Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c177 struct sec_sqe3 *bd3 = resp; in pre_parse_finished_bd3()
1279 struct sec_sqe3 *sec_sqe3 = &req->sec_sqe3; in sec_skcipher_bd_fill_v3() local
1285 memset(sec_sqe3, 0, sizeof(struct sec_sqe3)); in sec_skcipher_bd_fill_v3()
1287 sec_sqe3->c_key_addr = cpu_to_le64(c_ctx->c_key_dma); in sec_skcipher_bd_fill_v3()
1288 sec_sqe3->no_scene.c_ivin_addr = cpu_to_le64(c_req->c_ivin_dma); in sec_skcipher_bd_fill_v3()
1289 sec_sqe3->data_src_addr = cpu_to_le64(req->in_dma); in sec_skcipher_bd_fill_v3()
1290 sec_sqe3->data_dst_addr = cpu_to_le64(c_req->c_out_dma); in sec_skcipher_bd_fill_v3()
1292 sec_sqe3->c_mode_alg = ((u8)c_ctx->c_alg << SEC_CALG_OFFSET_V3) | in sec_skcipher_bd_fill_v3()
1294 sec_sqe3->c_icv_key |= cpu_to_le16(((u16)c_ctx->c_key_len) << in sec_skcipher_bd_fill_v3()
1301 sec_sqe3->c_icv_key |= cpu_to_le16(cipher); in sec_skcipher_bd_fill_v3()
[all …]
Dsec.h45 struct sec_sqe3 sec_sqe3; member
Dsec_crypto.h303 struct sec_sqe3 { struct