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 54329A04AC; Tue, 1 Sep 2020 10:14:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 884F0E07; Tue, 1 Sep 2020 10:14:24 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 48D4FDE0 for ; Tue, 1 Sep 2020 10:14:22 +0200 (CEST) IronPort-SDR: vTH4hUuYARwE6nusLZWFh66IXQ7bn/4AfERD/cmm2EDyXh3+bPrWS2U1Pon1uQwib17Nx3q2pW uLgHvZuDKKQg== X-IronPort-AV: E=McAfee;i="6000,8403,9730"; a="241939153" X-IronPort-AV: E=Sophos;i="5.76,378,1592895600"; d="scan'208";a="241939153" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Sep 2020 01:14:21 -0700 IronPort-SDR: BW5n93fKyfzODSxzcDe9mxv8PAQSRjGVXDJtbjGVk5kUi2EggfNeLm1bgZ953LUvan0s+wQCuB oHO5rhSGHVoQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,378,1592895600"; d="scan'208";a="314649186" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga002.jf.intel.com with ESMTP; 01 Sep 2020 01:14:20 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 1 Sep 2020 01:13:23 -0700 Received: from orsmsx105.amr.corp.intel.com (10.22.225.132) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 1 Sep 2020 01:13:23 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 1 Sep 2020 01:13:23 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 1 Sep 2020 01:13:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LFt3DuT9reyrL6G6MXzXimgEq8EwOeW4w3g1AhecibaxZtmvUUTCP+msTA6auzoH1Uvlv15hnS15k/WCqTJVv0dBgUw9nQJAia5ZZIrFN+f1k1Z2mi1oSCwP69QBIHtTRtu+cMNav/CnFZexu3tgpdoYCYybUvDuyAa5vNh1aHTuOQceWRabu3iLytYW+21SNvoxG58860IiL1cMeCrNKb/dsrFhJCMTazwL/z7cGq8ijeUbqDZ5e8+EsOtRzt9hNxf9N++4IacSh4v9pSpsGp+4G1q4qjDTrBP4ICbQgp30E/qQIiJazI2xJ22TOAuzFAk2oaAv2udvuDN50vOmOg== 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=YOFramWjZvjDDFjkvg94nZGemGitaJE2tNn8tRfziKQ=; b=ZH9c7FFUCENr0pjbMiLfp9Lh0XmruRPbP3Z2GJyXU+YwV6g7OF1RYyZ8P29Yan3nLR5yZ3NtABs607Ju5AS3LL+x5qWp3kKOl9TGSUTYekdJgGnl5WsAoYuKqTb96C+49mcbdqQ1u8g0pvPbJE/CNpfXpkGo1N1sZLnktv8U3DkH+t5bc1YKhazTrk76D+F9/L9lmquuF1+m218c258dgkwUCJYx9TDYKGUJR+xh7F3Ek2k9Ehr1DOvuBUffNG6umRMrB4/ofq7auijghyGiskDMhYaRtRgBIyzFE4qZa6UEy64Z5pA2zSuA0XRlnXT3UEOMwBzPQk4uCCMPJkeBKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YOFramWjZvjDDFjkvg94nZGemGitaJE2tNn8tRfziKQ=; b=trqQhQP8XVbfLa3Zk71bTdU390X1r6cFno1FyXOK+R9n0AxX5Eh0nTPvjFW7FDO88QcAm648qdi/m0XWISz7e1HryF2CW+cC/RygcJNVSijEqgboqNl5/ZNdV3TtuaqlQxKStjQvu4DLvMPFGWRRuxjfGmy/nTzXm/ss8WwmcNU= Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19) by MN2PR11MB4742.namprd11.prod.outlook.com (2603:10b6:208:26b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Tue, 1 Sep 2020 08:13:22 +0000 Received: from BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::11fa:a7fe:329d:9239]) by BL0PR11MB3043.namprd11.prod.outlook.com ([fe80::11fa:a7fe:329d:9239%5]) with mapi id 15.20.3326.025; Tue, 1 Sep 2020 08:13:22 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Trahe, Fiona" , "anoobj@marvell.com" , "shallyv@marvell.com" , "Doherty, Declan" , "Ananyev, Konstantin" Thread-Topic: [PATCH] [RFC] cryptodev: move AES-GMAC to aead algorithms Thread-Index: AQHWZbPIdIxIzuKkBUqhZYnAWHBjWKlTo/CA Date: Tue, 1 Sep 2020 08:13:21 +0000 Message-ID: References: <20200729142219.13376-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20200729142219.13376-1-arkadiuszx.kusztal@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjBiZDc3ZjQtNzFlMS00YWQ4LWFhNmYtNzJmZTQwNzMzNDgzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaVU0emZNQmJCczFkdjF6MCtub25wRXRKMThGSVJ5K041dFZlbmpQNHVcLzc0M3A4RExwaDg0QmUzWmdnWUljcjUifQ== x-ctpclassification: CTP_NT dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [95.44.220.85] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c3655e5b-c6ea-4ab9-9b84-08d84e4ee478 x-ms-traffictypediagnostic: MN2PR11MB4742: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1443; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IOYPv8zojsxI8N77mib5T+ohfR4h97Cd64zBY4U2NRauRP8ScoD3nRT/HStr4clYoLKZyzm9/tLmYsiOoO3ChDDzwV0wnPTMG2RR9UdmKYYEZ6LB854gAEKbzN1u7Qbo7Rvu6RTM8JM05UZFZIMxuh5rdvcRAy2lJzAETPVyDpxPdlidoJGupczHBKpj/uxrmNM5fTuXmxylt+gVgPJSv9Nu3/AONxOPRsEZRBLGQMJdlDJXzGlvYxoIcjh2UPuovz+jaM8JBUNjodvE/JpNLhmPsdv5NK2jjtZjio/2AiHkmu5IZq8GPMe++PQS+3gV x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR11MB3043.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(366004)(39860400002)(346002)(396003)(86362001)(33656002)(83380400001)(4744005)(5660300002)(71200400001)(66556008)(64756008)(66446008)(66476007)(66946007)(52536014)(8676002)(76116006)(8936002)(2906002)(4326008)(55016002)(107886003)(9686003)(26005)(53546011)(6506007)(186003)(478600001)(7696005)(316002)(54906003)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: CcabMf1XuvscJsvM8krRVluLUBwmiynsckKfAGkCtUCwGB0wPyjBMb2VBCa1PeL7jgtUifk6lmY3ueU7wdipDxAVIOiJjaG9qGb/jBFMA/uGoo2mJq+eFDUEdE2gL+hmbSXDnxrPmD2B7UpVhrnAq6HDxAnnFMlBQNbthAVqxGprlMbWOGaJ9XMTXPebWIpdRvOILVeU8QXdreHbAntWEQcXPagffSUam+gqveTRsZJbQIvSST7Fi/A8wgWrfh4KjmAtgdCGlPXh8ekXumX2VNeKg5VwhR0yKMCTgATtluiZJlEiXpNYPRyF9I9MxRDyViBQaxg/qpHYgsWYbUoMkAiUolPZIBctQaNlv7qI27lKCKBCEfmQREifLlAgAqHCeARJZpSzjucFpeCPrVD88KBkITBPV2viY3uJZnIZcb70l4wqDkf55YXVxlbMhsdAnB4vetEood1nOqQ7UXt+v89fnPaEF1o+CSY9u34C7qFHGH7DWMt+yRaJudzgc1LKOm3IzN5m8h5SsqZ6HIxKxOjV5Fpkr7WM0ONO2IFiwhiTyEtD1FqlhPz5w8baZJMAKom/40drg2kAWSiZsAU9R58xOEX9kIQkCbxwd3sGfNz2GwpAiVCYQ4E5IhLiXuTQcrPd15+lYe74C/Bt+6VPlw== Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3043.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3655e5b-c6ea-4ab9-9b84-08d84e4ee478 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Sep 2020 08:13:21.6762 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nMDpcGU/naFtkMI7T5Q/Gp9uwzNJpQcUtmACslv2XmcA2TVs9IGEnsGCOMs1V51q6pOZ/US1ur0Fp+5NwfjS2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4742 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] [RFC] cryptodev: move AES-GMAC to aead algorithms 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" > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Wednesday, July 29, 2020 3:22 PM > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; Trahe, Fiona ; > anoobj@marvell.com; shallyv@marvell.com; Doherty, Declan > ; Zhang, Roy Fan ; > Ananyev, Konstantin ; Kusztal, ArkadiuszX > > Subject: [PATCH] [RFC] cryptodev: move AES-GMAC to aead algorithms >=20 > This is proposal to move AES-GMAC algorithm to AEAD set > of algorithms. It is however not 100% conformant GMAC as instead of aad > pointer > data to be authenticated is passed normally and aead.data.length field > is used to specify length of data to be authenticated. > Reason behind this move is that GMAC is variant of GCM so it may > simplify implementations that are using these algorithms (mainly IPsec). > AES-GMAC therefore needs to be removed from auth algorithms. >=20 > Signed-off-by: Arek Kusztal Acked-by: Fan Zhang