Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c1524 struct sec_req *req, struct sec_sqe3 *sqe3) in sec_auth_bd_fill_xcm_v3() argument
1530 sqe3->c_icv_key |= cpu_to_le16((u16)ctx->mac_len << SEC_MAC_OFFSET_V3); in sec_auth_bd_fill_xcm_v3()
1533 sqe3->a_key_addr = sqe3->c_key_addr; in sec_auth_bd_fill_xcm_v3()
1534 sqe3->auth_ivin.a_ivin_addr = cpu_to_le64(a_req->a_ivin_dma); in sec_auth_bd_fill_xcm_v3()
1535 sqe3->auth_mac_key |= SEC_NO_AUTH; in sec_auth_bd_fill_xcm_v3()
1538 sqe3->huk_iv_seq &= SEC_CIPHER_AUTH_V3; in sec_auth_bd_fill_xcm_v3()
1540 sqe3->huk_iv_seq |= SEC_AUTH_CIPHER_V3; in sec_auth_bd_fill_xcm_v3()
1542 sqe3->a_len_key = cpu_to_le32(aq->assoclen); in sec_auth_bd_fill_xcm_v3()
1543 sqe3->auth_src_offset = cpu_to_le16(0x0); in sec_auth_bd_fill_xcm_v3()
1544 sqe3->cipher_src_offset = cpu_to_le16((u16)aq->assoclen); in sec_auth_bd_fill_xcm_v3()
[all …]