Lines Matching refs:sqe3

1540 				    struct sec_req *req, struct sec_sqe3 *sqe3)  in sec_auth_bd_fill_xcm_v3()  argument
1548 sqe3->c_icv_key |= cpu_to_le16((u16)authsize << SEC_MAC_OFFSET_V3); in sec_auth_bd_fill_xcm_v3()
1551 sqe3->a_key_addr = sqe3->c_key_addr; in sec_auth_bd_fill_xcm_v3()
1552 sqe3->auth_ivin.a_ivin_addr = cpu_to_le64(a_req->a_ivin_dma); in sec_auth_bd_fill_xcm_v3()
1553 sqe3->auth_mac_key |= SEC_NO_AUTH; in sec_auth_bd_fill_xcm_v3()
1556 sqe3->huk_iv_seq &= SEC_CIPHER_AUTH_V3; in sec_auth_bd_fill_xcm_v3()
1558 sqe3->huk_iv_seq |= SEC_AUTH_CIPHER_V3; in sec_auth_bd_fill_xcm_v3()
1560 sqe3->a_len_key = cpu_to_le32(aq->assoclen); in sec_auth_bd_fill_xcm_v3()
1561 sqe3->auth_src_offset = cpu_to_le16(0x0); in sec_auth_bd_fill_xcm_v3()
1562 sqe3->cipher_src_offset = cpu_to_le16((u16)aq->assoclen); in sec_auth_bd_fill_xcm_v3()
1563 sqe3->mac_addr = cpu_to_le64(a_req->out_mac_dma); in sec_auth_bd_fill_xcm_v3()
1621 struct sec_req *req, struct sec_sqe3 *sqe3) in sec_auth_bd_fill_ex_v3() argument
1629 sqe3->a_key_addr = cpu_to_le64(ctx->a_key_dma); in sec_auth_bd_fill_ex_v3()
1631 sqe3->auth_mac_key |= in sec_auth_bd_fill_ex_v3()
1634 sqe3->auth_mac_key |= in sec_auth_bd_fill_ex_v3()
1637 sqe3->auth_mac_key |= in sec_auth_bd_fill_ex_v3()
1641 sqe3->auth_mac_key |= cpu_to_le32((u32)SEC_AUTH_TYPE1); in sec_auth_bd_fill_ex_v3()
1642 sqe3->huk_iv_seq &= SEC_CIPHER_AUTH_V3; in sec_auth_bd_fill_ex_v3()
1644 sqe3->auth_mac_key |= cpu_to_le32((u32)SEC_AUTH_TYPE2); in sec_auth_bd_fill_ex_v3()
1645 sqe3->huk_iv_seq |= SEC_AUTH_CIPHER_V3; in sec_auth_bd_fill_ex_v3()
1647 sqe3->a_len_key = cpu_to_le32(c_req->c_len + aq->assoclen); in sec_auth_bd_fill_ex_v3()
1649 sqe3->cipher_src_offset = cpu_to_le16((u16)aq->assoclen); in sec_auth_bd_fill_ex_v3()
1651 sqe3->mac_addr = cpu_to_le64(a_req->out_mac_dma); in sec_auth_bd_fill_ex_v3()