From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br5sA-0003n3-6u for qemu-devel@nongnu.org; Mon, 03 Oct 2016 12:13:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br5s4-0004hC-6c for qemu-devel@nongnu.org; Mon, 03 Oct 2016 12:13:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br5s3-0004h4-VO for qemu-devel@nongnu.org; Mon, 03 Oct 2016 12:13:40 -0400 Date: Mon, 3 Oct 2016 17:13:37 +0100 From: Stefan Hajnoczi Message-ID: <20161003161337.GV10245@stefanha-x1.localdomain> References: <1475051152-400276-1-git-send-email-arei.gonglei@huawei.com> <1475051152-400276-3-git-send-email-arei.gonglei@huawei.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BcZrms9gUsdgyR6a" Content-Disposition: inline In-Reply-To: <1475051152-400276-3-git-send-email-arei.gonglei@huawei.com> Subject: Re: [Qemu-devel] [PATCH v4 02/13] cryptodev: add symmetric algorithm operation stuff List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gonglei Cc: qemu-devel@nongnu.org, virtio-dev@lists.oasis-open.org, luonengjun@huawei.com, mst@redhat.com, pbonzini@redhat.com, berrange@redhat.com, weidong.huang@huawei.com, wu.wubin@huawei.com, mike.caraman@nxp.com, agraf@suse.de, xin.zeng@intel.com, claudio.fontana@huawei.com, nmorey@kalray.eu, vincent.jardin@6wind.com, jianjay.zhou@huawei.com, hanweidong@huawei.com, peter.huangpeng@huawei.com --BcZrms9gUsdgyR6a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 28, 2016 at 04:25:41PM +0800, Gonglei wrote: > This patch add session operation and crypto operation s/add/adds/ > stuff in the cryptodev backend, including function > pointers and correpsonding structures. s/correpsonding/corresponding/ > +/** > + * QCryptoCryptoDevBackendSymOpInfo: > + * > + * @session_id: session index which was previously > + * created by qcrypto_cryptodev_backend_sym_create_session() > + * @aad_len: byte length of additional authenticated data > + * @iv_len: byte length of initialization vector or counter > + * @src_len: byte length of source data > + * @dst_len: byte length of destination data, which is equal to > + * src_len + hash_result_len if HASH alg configured > + * @op_type: operation type (refer to virtio_crypto.h) > + * @iv: pointer to the initialization vector or counter > + * @src: pointer to the source data > + * @dst: pointer to the destination data > + * @dst: pointer to the additional authenticated data s/dst/aad_data/ --BcZrms9gUsdgyR6a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJX8oOxAAoJEJykq7OBq3PI6y0H/j2/Ub8TjpyVGBR4BPdKAI20 cbvTApbpoLF5d18hboHbgH67/w9o62iLUporf5SbcD4m31zTQ3Y/I7Omnlck5G/Y 8T2B4AoZl9XCD2jYVKgPhcjrSRCZ7r6fcVrbgSqmPkJE1kMfoMxSQXRqzQ5JxLHw CHTMnfdWS4CB0/ZnW9vRkzdth9P+7Ts6pessh3+ClnBPwNP7nCN92Osu6lYoHIas K36Pd/atQCaLdtOTw7cToZU0Iv0Hdrm4socDw7CaZ6ApGVZsvWR+DNY1eWAWFIMH 7L1tUUDiG94iymnKQL/kZEcsmru6/dS5fyPvYPRruhusRpOvHp7SjzBprsHBlI4= =nN9J -----END PGP SIGNATURE----- --BcZrms9gUsdgyR6a--