From patchwork Fri Jun 7 10:05:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damian Nowak X-Patchwork-Id: 54529 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72B681B9AD; Fri, 7 Jun 2019 12:09:30 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C54741B9AB for ; Fri, 7 Jun 2019 12:09:28 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jun 2019 03:09:27 -0700 X-ExtLoop1: 1 Received: from damiannx-mobl1.ger.corp.intel.com ([10.103.104.100]) by fmsmga001.fm.intel.com with ESMTP; 07 Jun 2019 03:09:26 -0700 From: Damian Nowak To: dev@dpdk.org Cc: fiona.trahe@intel.com, arkadiuszx.kusztal@intel.com, Damian Nowak Date: Fri, 7 Jun 2019 12:05:57 +0200 Message-Id: <20190607100608.16212-1-damianx.nowak@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 In-Reply-To: <20190603145048.2596-1-damianx.nowak@intel.com> References: <20190603145048.2596-1-damianx.nowak@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v2 00/10] cryptodev: support encrypted-digest use-cases X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset adds support for digest appended and encrypted auth-cipher operations on QAT, API clarification and extension with dedicated feature flag and a set of tests for KASUMI and SNOW3G in-place, out-of-place and SGL using operations. --- v2: - extend support for partial digest encryption - add release notes - document limitations on QAT - reorder patches - update patchset name Damian Nowak (10): cryptodev: document usage of digest-appended operations cryptodev: add digest encrypted feature flag crypto/qat: handle buffer size for digest-encrypted auth-cipher crypto/qat: add digest encrypted feature flag test/crypto: add snow3g test cases for auth-cipher test/crypto: add kasumi test cases for auth-cipher test/crypto: add sgl test cases for ip and oop test/crypto: return correct value if feature not supported doc/crypto: document digest-encrypted limitations in qat doc: update release notes for 19.08 app/test/test_cryptodev.c | 748 ++++++++++++++++++++++---- app/test/test_cryptodev_kasumi_test_vectors.h | 98 +++- app/test/test_cryptodev_snow3g_test_vectors.h | 234 +++++++- doc/guides/cryptodevs/qat.rst | 1 + doc/guides/rel_notes/release_19_08.rst | 8 + drivers/crypto/qat/qat_sym.c | 31 +- drivers/crypto/qat/qat_sym_pmd.c | 3 +- lib/librte_cryptodev/rte_crypto_sym.h | 43 ++ lib/librte_cryptodev/rte_cryptodev.c | 2 + lib/librte_cryptodev/rte_cryptodev.h | 2 + 10 files changed, 1053 insertions(+), 117 deletions(-)