Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c180 struct sec_sqe3 *bd3 = resp; in pre_parse_finished_bd3()
1284 struct sec_sqe3 *sec_sqe3 = &req->sec_sqe3; in sec_skcipher_bd_fill_v3() local
1290 memset(sec_sqe3, 0, sizeof(struct sec_sqe3)); in sec_skcipher_bd_fill_v3()
1292 sec_sqe3->c_key_addr = cpu_to_le64(c_ctx->c_key_dma); in sec_skcipher_bd_fill_v3()
1293 sec_sqe3->no_scene.c_ivin_addr = cpu_to_le64(c_req->c_ivin_dma); in sec_skcipher_bd_fill_v3()
1294 sec_sqe3->data_src_addr = cpu_to_le64(req->in_dma); in sec_skcipher_bd_fill_v3()
1295 sec_sqe3->data_dst_addr = cpu_to_le64(c_req->c_out_dma); in sec_skcipher_bd_fill_v3()
1297 sec_sqe3->c_mode_alg = ((u8)c_ctx->c_alg << SEC_CALG_OFFSET_V3) | in sec_skcipher_bd_fill_v3()
1299 sec_sqe3->c_icv_key |= cpu_to_le16(((u16)c_ctx->c_key_len) << in sec_skcipher_bd_fill_v3()
1306 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.h304 struct sec_sqe3 { struct