From patchwork Tue Aug 30 12:12:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gonglei (Arei)" X-Patchwork-Id: 9305301 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 085D9607F0 for ; Tue, 30 Aug 2016 12:16:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB0C41FEC1 for ; Tue, 30 Aug 2016 12:16:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DDDD828BB1; Tue, 30 Aug 2016 12:16:44 +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 384491FEC1 for ; Tue, 30 Aug 2016 12:16:44 +0000 (UTC) Received: from localhost ([::1]:48839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1behy7-0001P8-BW for patchwork-qemu-devel@patchwork.kernel.org; Tue, 30 Aug 2016 08:16:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1behvu-0008OS-Ll for qemu-devel@nongnu.org; Tue, 30 Aug 2016 08:14:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1behvp-0005mk-GU for qemu-devel@nongnu.org; Tue, 30 Aug 2016 08:14:25 -0400 Received: from szxga01-in.huawei.com ([58.251.152.64]:49087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1behvo-0005ko-3j for qemu-devel@nongnu.org; Tue, 30 Aug 2016 08:14:21 -0400 Received: from 172.24.1.60 (EHLO szxeml432-hub.china.huawei.com) ([172.24.1.60]) by szxrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DQI55645; Tue, 30 Aug 2016 20:13:30 +0800 (CST) Received: from localhost (10.177.18.62) by szxeml432-hub.china.huawei.com (10.82.67.209) with Microsoft SMTP Server id 14.3.235.1; Tue, 30 Aug 2016 20:13:18 +0800 From: Gonglei To: , Date: Tue, 30 Aug 2016 20:12:16 +0800 Message-ID: <1472559136-89096-3-git-send-email-arei.gonglei@huawei.com> X-Mailer: git-send-email 2.6.3.windows.1 In-Reply-To: <1472559136-89096-1-git-send-email-arei.gonglei@huawei.com> References: <1472559136-89096-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.0A020201.57C5786D.0070, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a7bcd70aa69591e3756003edae7ded82 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 58.251.152.64 Subject: [Qemu-devel] [PATCH v8 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: agraf@suse.de, Ola.Liljedahl@arm.com, brian.a.keating@intel.com, claudio.fontana@huawei.com, mst@redhat.com, xin.zeng@intel.com, hanweidong@huawei.com, luonengjun@huawei.com, peter.huangpeng@huawei.com, john.griffin@intel.com, mike.caraman@nxp.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 | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/conformance.tex b/conformance.tex index f59e360..8268dc9 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,22 @@ 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 Initialization / Device Requirements: Device Initialization} +\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