From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0A731A0093 for ; Wed, 9 Mar 2022 12:45:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F027540395; Wed, 9 Mar 2022 12:45:15 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id EEA4140395; Wed, 9 Mar 2022 12:45:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646826314; x=1678362314; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=n6oa2keZ682UQErlRMlSPfpwfgkuwfaMPCT/Nk9QWhs=; b=HZJMKPAcskeQXrdOIYtTE7fd8L7CIYuuw9VFlcfH/dDITs1pBupSHfLQ coqyffW/WdIVPBK7KJYwWDOcNpeKdyTBQOUa2/A4ac2Nw8OsNWz9t8pbY IlFxpfzzTQ++By/HrTlIKAItc5XQpkWW8to3pn20YzhUGVV5VtrcAI5Sc 7U2V9V0JI11ucKIObvDc1CY49ZKYqM+SGadgTHwfr4Vz8NMPd9y8XluRG 3u6meFLbvyaj8bengPUaiaIbQbrEWklDrW8Jn2svFnoNRKqGr+hF3UqkR A6WqxUXEDZ4dOeyC2gB+XgteguUFmFOhh8ujL6Agnc8sdt5aGCd4TaqTT g==; X-IronPort-AV: E=McAfee;i="6200,9189,10280"; a="255144993" X-IronPort-AV: E=Sophos;i="5.90,167,1643702400"; d="scan'208";a="255144993" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2022 03:45:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,167,1643702400"; d="scan'208";a="537978187" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 09 Mar 2022 03:45:12 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 9 Mar 2022 03:45:12 -0800 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Wed, 9 Mar 2022 03:45:12 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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.2308.21 via Frontend Transport; Wed, 9 Mar 2022 03:45:12 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) 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.2308.21; Wed, 9 Mar 2022 03:45:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bGRuGVfvULsEmsgN7+/442BZXb94yv1Jrw5Kpipb6mbhGhbI08IVUUu3a7YQOfeOYL6wjFsCQexP8UnrxRxGZRVw+i2PhqhQMNxPKMz29molC2uDW1xVjYGVHl5LWoi7V+LkUOCxERpFpDFVsUq65d239rZTsbcArKLLw3q0hLz/bVgmKP0ngp12PxAws5VOrFkSLMNi+/r8eeh4iPmbdlHaEGTG64eRx8V9zrQS2m9yx8qJWRMVhLlUIf2AqsAsIBqBoyTSe9Kf9dw3suwnMSDkGsOVOCWikr3kHkyMbUVQQ5ESYqpKynB1EpNbJuqi/Weg1wQ2RmHR6CuGqOcILw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=n6oa2keZ682UQErlRMlSPfpwfgkuwfaMPCT/Nk9QWhs=; b=JmA7p0VViEA+8ueNjDFtD0jrsw8juRw1C1bKUnZjJRqk16lGP9ZmGbrhtPYnbR8GyGLXyQ927bplnMk2N+8G6ht+8EZQ8I2+0vTp5LSvbIWuCTtMyDSyM2KT78H+v8aJkF72LG05zid2xH6BFyDd3+YYxgsriSRdXBMNjPZ7a56jLIky6bGFYWW2L0ooM/gHKr9xcWECXwxxomBnB1x8EJrChh/rZUo7TUWe1qoyqVISa904HmhyIX9SscIWUQs2X/ZoncfG9gxTyqqCfZitQIgOKrGlS9FzMEc2S+PA89UtMloN/h/GzllazEAJa2KYgLWX8FHv/ulcCcCLu/KPug== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19) by CO1PR11MB5201.namprd11.prod.outlook.com (2603:10b6:303:95::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Wed, 9 Mar 2022 11:45:10 +0000 Received: from CO1PR11MB4868.namprd11.prod.outlook.com ([fe80::e1f1:9bdd:465e:bc7]) by CO1PR11MB4868.namprd11.prod.outlook.com ([fe80::e1f1:9bdd:465e:bc7%3]) with mapi id 15.20.5038.027; Wed, 9 Mar 2022 11:45:10 +0000 Message-ID: <6bc54ac9-94a5-9e4d-0102-9b10f79217f1@intel.com> Date: Wed, 9 Mar 2022 11:44:54 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.6.1 Subject: Re: [PATCH] crypto/ipsec_mb: fix GMAC parameters setting Content-Language: en-GB To: Pablo de Lara , , CC: , References: <20220309104514.1180589-1-pablo.de.lara.guarch@intel.com> From: "Nicolau, Radu" In-Reply-To: <20220309104514.1180589-1-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LNXP265CA0045.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5c::33) To CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3eb8bac8-8959-467c-3055-08da01c243ae X-MS-TrafficTypeDiagnostic: CO1PR11MB5201:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wm/U9AWUUOVWCnzoi6ACKX+2vpTqW/96RHfkHkRxmpGzWqHlP6b92NT3K3KI9Z9sieLA28y9FOzZCtK1vw5xUdtRauRecJ96/GR7CLE3QhTTMrEWUd0hE89Vlrt/VkJmJPQ9FeXyH/nrF0iJUwjQ6cqzUTWYejnklzr7mDFfaWYy2H05KeitBHJkHy6qdiC+z6KWHgPUx2BMekrnPchUTvNKPYydPZoLf3fwSXd9qAppNpJkUjPCC5OrDZwDsJpi6FSr/290Dwhks/YUr2W+WgnkuohsNXr7NE3MILIszhnPnQcSUsaT+v9XpnSxJgmBKwmLnJqEwhlhQdrW9IPLyQ+VBMODY45Dg+TOKPBffNi0T6Os5nhquUJvbIYGKUn1yqGWTC+c25i+pktNzIqtCs4JN1XjQtJbDmA/GShs7duHZU4dDSpTu2x9viY7BR997klhu6ePXvWzd6oyiFngAFxN7qtRdtXLfk/N5uP5JNQLFeHTOGdIATPsJ0acgAv1ohfqAAhE9R8JplYU/yaPgWW05XDZ7n52Bvst+8s+2RNgucOIgV09g7Juj4aY6GGTRpPU7BSpeTzfSkhTqHj7VeepNBm8qsDZV/GGIE0F0fTXh6XBJ0VEeNabRHvNNcRZIbkCn5rRwK0b6yzq3xfLUNe+yMCkqW19Nq5VBb9kiGrjlMR+Wv9TDBoz+gCyIv4+Bz6KRIwgLG/Q05Mu118KNCY+Npyj3Hz4mzIQ/p7OWtg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4868.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(186003)(5660300002)(55236004)(38100700002)(26005)(8936002)(2616005)(316002)(86362001)(4326008)(8676002)(6636002)(66476007)(66556008)(82960400001)(66946007)(31696002)(6512007)(450100002)(31686004)(6666004)(6486002)(4744005)(6506007)(508600001)(53546011)(2906002)(36756003)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZzRqTGNHdmZXdUx2SFlzQzdRbEdiR2JQMExsUENuSDc3a0FYY3c0SDZhMndw?= =?utf-8?B?WDJpS3JWaTRlSWlvc3B1NGdubWZmNFVZeEFUdnk0czR4V3VGdy81bUZGL2Fh?= =?utf-8?B?VnEwaGpxWFcrMitrY2M5eTFzcjBuNTFoWkp1WjlqNCtjYjI3eHNWSG5EQmJo?= =?utf-8?B?ODg1TjVTVkNOUUtBUjBNdElVT1pqaHZUdzlqR2hZSjQvZVR3WWxlakI2QmRS?= =?utf-8?B?YzlaTERFQ01CK2RyMzRCNnRCZUlWV014cXU2VEpRSmZDd0dDM3FmdUJXbzFo?= =?utf-8?B?dzFP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YWlpVkcwcUIyWWRSbE51?= =?utf-8?B?TGZHMEJ3bWtGS09yU0RuODd5OFhycTlFN25vR3E4Vy84ZG5aenp3R3d5YUo1?= =?utf-8?Q?FXQD+bKY1PmwqH+RvZnDe+E=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3eb8bac8-8959-467c-3055-08da01c243ae X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4868.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Mar 2022 11:45:10.1337 (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: xzuJfh5VrCXF//J7KRkTGrEi9AhGSnT027+Eq/K7o7uiJOHysED1xik5TDy2TRfazc82ne98ilWlg/I5CEmsVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5201 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 3/9/2022 10:45 AM, Pablo de Lara wrote: > AES-GMAC requires plaintext length to be 0 when using AES-GCM, > so only AAD data is used. > > Fixes: a501609ea646 ("crypto/ipsec_mb: fix length and offset settings") > Cc: pablo.de.lara.guarch@intel.com > Cc: stable@dpdk.org > > Signed-off-by: Pablo de Lara > --- > Tested-by: Radu Nicolau Acked-by: Radu Nicolau