[0/2] fips_validation: add SGL and GMAC support
Message ID | 20200818121720.52090-1-roy.fan.zhang@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 19EADA034C; Tue, 18 Aug 2020 14:17:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1006A2BE3; Tue, 18 Aug 2020 14:17:27 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 3A7022BAA for <dev@dpdk.org>; Tue, 18 Aug 2020 14:17:24 +0200 (CEST) IronPort-SDR: slLZeysT8hdEaBlkBZW8mm96EZropYDxWg7VMOowuMQcY6cg/5R2uKaCWQ/UqHw1L+bjxSKFyp 7jtjgLpNYPmA== X-IronPort-AV: E=McAfee;i="6000,8403,9716"; a="172937288" X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="172937288" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2020 05:17:23 -0700 IronPort-SDR: /vO93y6he5aXgoW9hwo4VkukXuOq8SJ7An0sIrhQy9GeC11AhL+nEwZVqOjdB4A51bZdJGkRAk dT+TBgA4+iqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,327,1592895600"; d="scan'208";a="328951124" Received: from silpixa00398673.ir.intel.com (HELO silpixa00398673.ger.corp.intel.com) ([10.237.223.136]) by fmsmga002.fm.intel.com with ESMTP; 18 Aug 2020 05:17:22 -0700 From: Fan Zhang <roy.fan.zhang@intel.com> To: dev@dpdk.org Cc: akhil.goyal@nxp.com, Fan Zhang <roy.fan.zhang@intel.com> Date: Tue, 18 Aug 2020 13:17:18 +0100 Message-Id: <20200818121720.52090-1-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [dpdk-dev 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Fan Zhang
Aug. 18, 2020, 12:17 p.m. UTC
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. 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 | 441 +++++++++++++----- 5 files changed, 459 insertions(+), 140 deletions(-)