From patchwork Mon Aug 1 09:20:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gonglei (Arei)" X-Patchwork-Id: 9254051 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 183CF6075F for ; Mon, 1 Aug 2016 09:24:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0777F2848E for ; Mon, 1 Aug 2016 09:24:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0101284A3; Mon, 1 Aug 2016 09:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 489302848E for ; Mon, 1 Aug 2016 09:24:45 +0000 (UTC) Received: from localhost ([::1]:48653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU9Sm-0003u4-1j for patchwork-qemu-devel@patchwork.kernel.org; Mon, 01 Aug 2016 05:24:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU9PU-0001bG-AK for qemu-devel@nongnu.org; Mon, 01 Aug 2016 05:21:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU9PP-0003zP-MH for qemu-devel@nongnu.org; Mon, 01 Aug 2016 05:21:19 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:53360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU9PO-0003zA-Pg for qemu-devel@nongnu.org; Mon, 01 Aug 2016 05:21:15 -0400 Received: from 172.24.1.47 (EHLO szxeml422-hub.china.huawei.com) ([172.24.1.47]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id CFR89036; Mon, 01 Aug 2016 17:20:36 +0800 (CST) Received: from localhost (10.177.18.62) by szxeml422-hub.china.huawei.com (10.82.67.152) with Microsoft SMTP Server id 14.3.235.1; Mon, 1 Aug 2016 17:20:27 +0800 From: Gonglei To: , Date: Mon, 1 Aug 2016 17:20:21 +0800 Message-ID: <1470043221-37728-3-git-send-email-arei.gonglei@huawei.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1470043221-37728-1-git-send-email-arei.gonglei@huawei.com> References: <1470043221-37728-1-git-send-email-arei.gonglei@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.177.18.62] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.579F1468.001A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 7bd138b8ade45a7fceb1a4841078c948 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 119.145.14.66 Subject: [Qemu-devel] [PATCH v6 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: Ola.Liljedahl@arm.com, brian.a.keating@intel.com, mst@redhat.com, xin.zeng@intel.com, hanweidong@huawei.com, luonengjun@huawei.com, peter.huangpeng@huawei.com, john.griffin@intel.com, Gonglei , liang.j.ma@intel.com, stefanha@redhat.com, cornelia.huck@de.ibm.com, Varun.Sethi@freescale.com, Jani.Kokkonen@huawei.com, denglingli@chinamobile.com, weidong.huang@huawei.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Add the conformance targets and clauses for virtio-crypto device. Signed-off-by: Gonglei --- conformance.tex | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/conformance.tex b/conformance.tex index f59e360..915a9f0 100644 --- a/conformance.tex +++ b/conformance.tex @@ -146,6 +146,21 @@ An SCSI host driver MUST conform to the following normative statements: \item \ref{drivernormative:Device Types / SCSI Host Device / Device Operation / Device Operation: eventq} \end{itemize} +\subsection{Crypto Driver Conformance}\label{sec:Conformance / Driver Conformance / Crypto Driver Conformance} + +An Crypto driver MUST conform to the following normative statements: + +\begin{itemize} +\item \ref{drivernormative:Device Types / Crypto Device / Device configuration layout / Driver Requirements: Device configuration layout} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Session operation / Session operation: create session / Driver Requirements: Session operation: create session} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Session operation / Session operation: destroy session / Driver Requirements: Session operation: destroy session} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: HASH operation / Driver Requirements: Crypto operation: HASH operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: MAC operation / Driver Requirements: Crypto operation: MAC operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: Symmetric algorithms operation / Driver Requirements: Crypto operation: Symmetric algorithms encryption} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: AEAD operation / Driver Requirements: Crypto operation: AEAD encryption} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: AEAD operation / Driver Requirements: Crypto operation: AEAD decryption} +\end{itemize} + \section{Device Conformance}\label{sec:Conformance / Device Conformance} A device MUST conform to the following normative statements: @@ -267,6 +282,21 @@ An SCSI host device MUST conform to the following normative statements: \item \ref{devicenormative:Device Types / SCSI Host Device / Device Operation / Device Operation: eventq} \end{itemize} +\subsection{Crypto Device Conformance}\label{sec:Conformance / Device Conformance / Crypto Device Conformance} + +An Crypto device MUST conform to the following normative statements: + +\begin{itemize} +\item \ref{drivernormative:Device Types / Crypto Device / Device configuration layout / Device Requirements: Device configuration layout} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Session operation / Session operation: create session / Device Requirements: Session operation: create session} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Session operation / Session operation: destroy session / Device Requirements: Session operation: destroy session} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: HASH operation / Device Requirements: Crypto operation: HASH operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: MAC operation / Device Requirements: Crypto operation: MAC operation} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: Symmetric algorithms operation / Device Requirements: Crypto operation: Symmetric algorithms encryption} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: AEAD operation / Device Requirements: Crypto operation: AEAD encryption} +\item \ref{drivernormative:Device Types / Crypto Device / Device Operation / Crypto operation / Crypto operation: AEAD operation / Device Requirements: Crypto operation: AEAD decryption} +\end{itemize} + \section{Legacy Interface: Transitional Device and Transitional Driver Conformance}\label{sec:Conformance / Legacy Interface: Transitional Device and