From nobody Tue Oct 28 04:17:45 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1514626708946595.5104877669615; Sat, 30 Dec 2017 01:38:28 -0800 (PST) Received: from localhost ([::1]:47938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVDay-00008j-KF for importer@patchew.org; Sat, 30 Dec 2017 04:38:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVDZL-0007bF-1x for qemu-devel@nongnu.org; Sat, 30 Dec 2017 04:36:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVDZG-0000IP-Bz for qemu-devel@nongnu.org; Sat, 30 Dec 2017 04:36:43 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:2060 helo=huawei.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eVDZF-0000Ed-O5 for qemu-devel@nongnu.org; Sat, 30 Dec 2017 04:36:38 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 4D26317B7D9BD; Sat, 30 Dec 2017 17:36:22 +0800 (CST) Received: from localhost (10.177.246.209) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.361.1; Sat, 30 Dec 2017 17:36:17 +0800 From: "Longpeng(Mike)" To: , Date: Sat, 30 Dec 2017 17:35:59 +0800 Message-ID: <1514626559-162312-3-git-send-email-longpeng2@huawei.com> X-Mailer: git-send-email 1.8.4.msysgit.0 In-Reply-To: <1514626559-162312-1-git-send-email-longpeng2@huawei.com> References: <1514626559-162312-1-git-send-email-longpeng2@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.246.209] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 45.249.212.191 Subject: [Qemu-devel] [v23 2/2] virtio-crypto: Add conformance clauses X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pasic@linux.vnet.ibm.com, Ola.Liljedahl@arm.com, brian.a.keating@intel.com, wangxinxin.wang@huawei.com, mst@redhat.com, xin.zeng@intel.com, jasowang@redhat.com, luonengjun@huawei.com, agraf@suse.de, john.griffin@intel.com, arei.gonglei@huawei.com, liang.j.ma@intel.com, stefanha@redhat.com, jianjay.zhou@huawei.com, cornelia.huck@de.ibm.com, Varun.Sethi@freescale.com, Jani.Kokkonen@huawei.com, "Longpeng\(Mike\)" , vincent.jardin@6wind.com, denglingli@chinamobile.com, weidong.huang@huawei.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Gonglei Add the conformance targets and clauses for virtio-crypto device. Signed-off-by: Gonglei Signed-off-by: Zhoujian Signed-off-by: Longpeng(Mike) --- conformance.tex | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/conformance.tex b/conformance.tex index f59e360..cf5f1ac 100644 --- a/conformance.tex +++ b/conformance.tex @@ -146,6 +146,21 @@ An SCSI host driver MUST conform to the following norm= ative statements: \item \ref{drivernormative:Device Types / SCSI Host Device / Device Operat= ion / Device Operation: eventq} \end{itemize} =20 +\subsection{Crypto Driver Conformance}\label{sec:Conformance / Driver Conf= ormance / Crypto Driver Conformance} + +A Crypto driver MUST conform to the following normative statements: + +\begin{itemize} +\item \ref{drivernormative:Device Types / Crypto Device / Device configura= tion layout} +\item \ref{drivernormative:Device Types / Crypto Device / Device Initializ= ation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation= / Control Virtqueue / Session operation / Session operation: create sessio= n} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation= / Control Virtqueue / Session operation / Session operation: destroy sessi= on} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation= / HASH Service operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation= / MAC Service operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation= / Symmetric algorithms Operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation= / AEAD Service operation} +\end{itemize} + \section{Device Conformance}\label{sec:Conformance / Device Conformance} =20 A device MUST conform to the following normative statements: @@ -267,6 +282,20 @@ An SCSI host device MUST conform to the following norm= ative statements: \item \ref{devicenormative:Device Types / SCSI Host Device / Device Operat= ion / Device Operation: eventq} \end{itemize} =20 +\subsection{Crypto Device Conformance}\label{sec:Conformance / Device Conf= ormance / Crypto Device Conformance} + +A Crypto device MUST conform to the following normative statements: + +\begin{itemize} +\item \ref{devicenormative:Device Types / Crypto Device / Device configura= tion layout} +\item \ref{devicenormative:Device Types / Crypto Device / Device Operation= / Control Virtqueue / Session operation / Session operation: create sessio= n} +\item \ref{devicenormative:Device Types / Crypto Device / Device Operation= / Control Virtqueue / Session operation / Session operation: destroy sessi= on} +\item \ref{devicenormative:Device Types / Crypto Device / Device Operation= / HASH Service operation} +\item \ref{devicenormative:Device Types / Crypto Device / Device Operation= / MAC Service operation} +\item \ref{devicenormative:Device Types / Crypto Device / Device Operation= / Symmetric algorithms Operation} +\item \ref{devicenormative:Device Types / Crypto Device / Device Operation= / AEAD Service operation} +\end{itemize} + \section{Legacy Interface: Transitional Device and Transitional Driver Conformance}\label{sec:Conformance / Legacy Interface: Transitional Device and=20 --=20 1.8.3.1