From patchwork Mon Jun 3 14:50:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damian Nowak X-Patchwork-Id: 54176 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 96D121B95A; Mon, 3 Jun 2019 16:54:10 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id B63DD5424 for ; Mon, 3 Jun 2019 16:54:08 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jun 2019 07:54:07 -0700 X-ExtLoop1: 1 Received: from damiannx-mobl1.ger.corp.intel.com ([10.103.104.100]) by fmsmga001.fm.intel.com with ESMTP; 03 Jun 2019 07:54:06 -0700 From: Nowak To: dev@dpdk.org Cc: fiona.trahe@intel.com, arkadiuszx.kusztal@intel.com, Damian Nowak Date: Mon, 3 Jun 2019 16:50:39 +0200 Message-Id: <20190603145048.2596-1-damianx.nowak@intel.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH 0/9] add QAT support for digest encrypted 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" From: Damian Nowak This patchset adds digest appended and encrypted auth-cipher operations support for QAT, with dedicated feature flag and a set of tests for KASUMI and SNOW3G in-place, out-of-place and SGL using operations. Damian Nowak (9): crypto/qat: check buffer size for oop auth-cipher test/crypto: add snow3g test cases for oop operation test/crypto: add kasumi test cases for oop operation test/crypto: add sgl test cases for ip and oop cryptodev: document usage of digest-appended operations cryptodev: add digest encrypted feature flag crypto/qat: add digest encrypted feature flag test/crypto: add digest encrypted feature flag check test/crypto: return correct value if feature not supported app/test/test_cryptodev.c | 668 ++++++++++++++++++++++---- app/test/test_cryptodev_kasumi_test_vectors.h | 98 +++- app/test/test_cryptodev_snow3g_test_vectors.h | 167 ++++++- drivers/crypto/qat/qat_sym.c | 30 +- 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 + 8 files changed, 895 insertions(+), 118 deletions(-)