From patchwork Fri Sep 4 16:09:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fan Zhang X-Patchwork-Id: 76571 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81760A04C5; Fri, 4 Sep 2020 18:09:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ACE391C0CC; Fri, 4 Sep 2020 18:09:54 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id AC1721C0C6 for ; Fri, 4 Sep 2020 18:09:53 +0200 (CEST) IronPort-SDR: VDM/Pot+O5z/VGgBlXAmLzGeFHpGYVlFN9v99yJx/UYv1udn7FxYEAMD/WX5ErwabBqmRr27lG 0G7xMd4rTHTw== X-IronPort-AV: E=McAfee;i="6000,8403,9734"; a="221980394" X-IronPort-AV: E=Sophos;i="5.76,390,1592895600"; d="scan'208";a="221980394" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2020 09:09:49 -0700 IronPort-SDR: DN+rQlJv9QIcKayDxG2rEvQQ1KYGQD+q17t5NWOEG2ahSnsbRrTvx8YZ+m7cMU8Yq9j5LeIDM/ fDABA4YwehfA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,390,1592895600"; d="scan'208";a="478556284" Received: from silpixa00398673.ir.intel.com (HELO silpixa00398673.ger.corp.intel.com) ([10.237.223.136]) by orsmga005.jf.intel.com with ESMTP; 04 Sep 2020 09:09:46 -0700 From: Fan Zhang To: dev@dpdk.org Cc: akhil.goyal@nxp.com, fiona.trahe@intel.com, arkadiuszx.kusztal@intel.com, adamx.dybkowski@intel.com, Fan Zhang Date: Fri, 4 Sep 2020 17:09:43 +0100 Message-Id: <20200904160945.24590-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200818121720.52090-1-roy.fan.zhang@intel.com> References: <20200818121720.52090-1-roy.fan.zhang@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [dpdk-dev v2 0/2] fips_validation: add SGL and GMAC support 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 SGL and GMAC support to fips_validation sample application. The added cmdline option allows user to split the input data into multiple mbuf segments to test SGL feature of the target cryptodev PMD; The NIST GCMVS compliant GMAC test method support is also added in this patchset. V2: - Fixed compile issue. Fan Zhang (2): fips_validation: add SGL support fips_validation: update GCM test doc/guides/rel_notes/release_20_11.rst | 5 + doc/guides/sample_app_ug/fips_validation.rst | 6 + examples/fips_validation/fips_validation.h | 29 +- .../fips_validation/fips_validation_gcm.c | 118 ++++- examples/fips_validation/main.c | 442 +++++++++++++----- 5 files changed, 460 insertions(+), 140 deletions(-)