From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28979A04B1; Sat, 10 Oct 2020 18:55:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CB51C1D542; Sat, 10 Oct 2020 18:55:56 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150053.outbound.protection.outlook.com [40.107.15.53]) by dpdk.org (Postfix) with ESMTP id 6BA651D537 for ; Sat, 10 Oct 2020 18:55:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L/Zg9cKDOV+fnoxi3eO7RXEgBSOfnyPo/5gESvU5t9CQAyTtJ0e32dgU1u6JuSxo/5JZIpktWG1NguwDLZun5wGMnS6h29THGSeGh0WV7b4t6I0hydoo3TwtAD5nhV8PbcjMhjFzKYztMp6KTsr4S/J8sxdjogGItQIjuNXukdOdfcz5t54WNPevZ/as7HpjpxNsye3aX4Hqg22FIzL4uftN/xxoLFINuqwAH+84xwk0iAxP/5mwdiqELVl4mSwFtkKYBDobLy9TUwmuMxXQjU9r8+lDpIrnGZspZSH9qmUgCGBJ5+EFPZ7fxVVfgBtbAzq9+Phulr/XjZKDFMAFVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I5jpwXn2K8hgHxNTW0ZNUUUtJvhK6DfYLUzx1kxXnJQ=; b=Glkf8VPNDpmSzbbGjsqMmvx5hxibvw4gvotnqRL414r3GcRf3geQMrGTosGE0byvLedAVqdOpqB7fV/envlQW7W89JUJR4UpR0c+QoAhjsovdOmvRviCY/Z9Ii6wQ0JyS2YyDpBaoTX1B+FMnwLNAySn5dXK/REVDDQG4efXZ10ylowNixUOebgTD1IsjJAitYV9Y7u4ejszbY6lN4atVO5fBXoNEXmH7Dhsq6Bi2btNOst5wKWQa3nBWAgj7eIrtDa0qGtG8qts2Sk3pE6kRa89y0ip1IXytMztgkSHybpiTTiSFLkLvVyf4oSCKI+pPvvgnng9LtfkiKIRQrBo9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=I5jpwXn2K8hgHxNTW0ZNUUUtJvhK6DfYLUzx1kxXnJQ=; b=E+9e8E+ohTXPZLZOOkIkf117Zs6vAlhn4J+B9y18+jRSa6CR6OJIHciJbH08oETJxzC1yU+BpdO+rM8flfBWUlctF/sy8JN2lZHcsvjT7Y6SOnMgom210dUPJROTzcX1xhRr5gEYNeBc+o1FGWpEyUMYWq9IPasxBNypWvX4pTE= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB7133.eurprd04.prod.outlook.com (2603:10a6:800:126::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.27; Sat, 10 Oct 2020 16:55:51 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3433.049; Sat, 10 Oct 2020 16:55:51 +0000 From: Akhil Goyal To: Fan Zhang , "dev@dpdk.org" CC: Weqaar Janjua , John Griffin Thread-Topic: [dpdk-dev v3 2/2] fips_validation: update GCM test Thread-Index: AQHWnnf1oeb0tuSPA02/vGEfon/5NamRDwgw Date: Sat, 10 Oct 2020 16:55:50 +0000 Message-ID: References: <20200904160945.24590-1-roy.fan.zhang@intel.com> <20201009200822.4652-1-roy.fan.zhang@intel.com> <20201009200822.4652-3-roy.fan.zhang@intel.com> In-Reply-To: <20201009200822.4652-3-roy.fan.zhang@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: cf3330c9-4d60-46c7-0d75-08d86d3d5807 x-ms-traffictypediagnostic: VI1PR04MB7133: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dwdGRctKd2MP8j9v9YQfP+pW2cHA7N9Azyk8iwlEDv+ew0RGyyF6E2qxZrxIoOweIFYhGWJ1imfNYIIHMq1RrvUkGqxOfCLlhzMtbMHgRavhgpBVoYnfInU+Wyjl/U7YRQipw6m0aE+jstZPWhCMrrQWxJvHIrbiKPq8tDuiNCe0FZAFngZMf4wv0mMj75QRUi5g+sDmPDkpKke45ucIzDcT98X/O5h6ZQ7XgLhCAyAW5Ml5yZ19NaWcbaXyGplS1D9F0HB4RihliZDap6iglvgJy8uBqCi4JY+znXgddTqgFFrP/Zu8txo13tlbDxb6Dz/d4B3wzm5dVXu93oeuEA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(396003)(366004)(136003)(376002)(6506007)(71200400001)(316002)(478600001)(86362001)(76116006)(52536014)(4326008)(33656002)(2906002)(8936002)(7696005)(55016002)(66556008)(5660300002)(66946007)(15650500001)(110136005)(66446008)(26005)(8676002)(44832011)(54906003)(9686003)(83380400001)(64756008)(186003)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: dXOsGwv2c7Tgx1wO1sE2VZVkpYoa69dzDFRbu3ZV7h6bVoN+vUSofW9RziG8Ncf7Q87sWFE0a/oSd6h1V/RbnTnTXVtGU/BGZEZJbCwAiYDjOES+CHs9KTfgas7Y0WKkz/KUe3GG0G6o73e1T20bBLcJc/SrXiq6PRcOWTPek4Mb3Pmdsi8TX1R2FhTsEjpIgLSOUjE+yf4kxkQzDzs/DruEqNWJ2eKQcmjzBEkrxLRuDm5G5RWTKhD6WSEx89DZq3Nz8sWtj0N2MSl97GZge1PKT99KIX4Ah8jjL2hLFAoxZfFWnuAFE6qM7uJ7fdlfkJxaX8x2XyAkWZGe2keFFKP2b4CqahgNKtuzKPK2gGLE4PqwU/xJMA8K3TieNtMO4J0YWKuFs3y1GpWJk+ph9AaBqZfq8GeHcrnDCKy8uKy3L5b0kL4ErwJK5BVx+4RoIv0XttybVMnQ5HiONbal+BdbkOfP1z9pnJKRXnCjETQTH/iOrf/aCrTQKjUArdQ00icZ3TAWasCEu6QqbcIfTQkRHegPqczk6W/FiQXP5jWvMPtspyknt7Dq637pyWvmSLgfwDF68B8/K5sB+BMWwaUzc4/qi9oMRhX0LKNxxMGJlWZaX488TkrN/Ojqikh2LVr1DgMWS/ZNq2A2IsftKg== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf3330c9-4d60-46c7-0d75-08d86d3d5807 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2020 16:55:50.9595 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dUOzdFg20NEptMRRCkufkDWrXvluBhtOm17yp6h5TArsjYMTaTZw7Jac0HZAYWMIGUDpBpk0UzIt0GtYXEWGfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB7133 Subject: Re: [dpdk-dev] [dpdk-dev v3 2/2] fips_validation: update GCM test 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 patch updates fips validation GCM test capabilities: >=20 > - In NIST GCMVS spec GMAC test vectors are the GCM ones with > plaintext length as 0 and uses AAD as input data. Originally > fips_validation tests treats them both as GCM test vectors. > This patch introduce automatic test type recognition between > the two: when plaintext length is 0 the prepare_gmac_xform > and prepare_auth_op functions are called, otherwise > prepare_gcm_xform and prepare_aead_op functions are called. >=20 > - NIST GCMVS also specified externally or internally IV > generation. When IV is to be generated by IUT internally IUT > shall store the generated IV in the response file. This patch > also adds the support to that. >=20 > Signed-off-by: Fan Zhang > Signed-off-by: Weqaar Janjua > Acked-by: John Griffin > --- > doc/guides/rel_notes/release_20_11.rst | 5 + > examples/fips_validation/fips_validation.h | 26 ++++ > .../fips_validation/fips_validation_gcm.c | 118 ++++++++++++++++-- > examples/fips_validation/main.c | 65 ++++++++-- > 4 files changed, 189 insertions(+), 25 deletions(-) >=20 > diff --git a/doc/guides/rel_notes/release_20_11.rst > b/doc/guides/rel_notes/release_20_11.rst > index 059ea5fca..7441e6ce4 100644 > --- a/doc/guides/rel_notes/release_20_11.rst > +++ b/doc/guides/rel_notes/release_20_11.rst > @@ -159,6 +159,11 @@ New Features > * Extern objects and functions can be plugged into the pipeline. > * Transaction-oriented table updates. >=20 > +* **fips_validation sample application enhancement.** > + > + fips_vadation sample application is added SGL and NIST GCMVS compla= int > + GMAC test method support. > + >=20 These release notes need to be split into two for both the patches in the l= ist.=20 I did it while applying the patches. Series Applied to dpdk-next-crypto Thanks.