Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1784 struct sec_req *req, struct sec_sqe3 *sqe3) in sec_auth_bd_fill_xcm_v3() argument
1792 sqe3->c_icv_key |= cpu_to_le16((u16)authsize << SEC_MAC_OFFSET_V3); in sec_auth_bd_fill_xcm_v3()
1795 sqe3->a_key_addr = sqe3->c_key_addr; in sec_auth_bd_fill_xcm_v3()
1796 sqe3->auth_ivin.a_ivin_addr = cpu_to_le64(a_req->a_ivin_dma); in sec_auth_bd_fill_xcm_v3()
1797 sqe3->auth_mac_key |= SEC_NO_AUTH; in sec_auth_bd_fill_xcm_v3()
1800 sqe3->huk_iv_seq &= SEC_CIPHER_AUTH_V3; in sec_auth_bd_fill_xcm_v3()
1802 sqe3->huk_iv_seq |= SEC_AUTH_CIPHER_V3; in sec_auth_bd_fill_xcm_v3()
1804 sqe3->a_len_key = cpu_to_le32(aq->assoclen); in sec_auth_bd_fill_xcm_v3()
1805 sqe3->auth_src_offset = cpu_to_le16(0x0); in sec_auth_bd_fill_xcm_v3()
1806 sqe3->cipher_src_offset = cpu_to_le16((u16)aq->assoclen); in sec_auth_bd_fill_xcm_v3()
[all …]