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 16C76A00BE; Mon, 27 Apr 2020 19:42:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79C401D422; Mon, 27 Apr 2020 19:42:22 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 293611D411; Mon, 27 Apr 2020 19:42:19 +0200 (CEST) IronPort-SDR: dlLZgYJNyV0s0rnn8tndryChWmA/c6RslRnJjiEOlJ572okFBlrU3ZQlub0vjWQSke+shgV9XL 0o9Wf8TRPkeg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2020 10:42:19 -0700 IronPort-SDR: vuAJO3NLBzHwIFYC9lRsfdi4RTAyW7/yurwH9TPB1xGRHzdh1pV6An2//B8d9vcLMYxPmn96Vh qdvaBwE95IiQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,324,1583222400"; d="scan'208";a="336360568" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 27 Apr 2020 10:42:14 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 27 Apr 2020 10:42:13 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 27 Apr 2020 10:42:07 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 27 Apr 2020 10:42:07 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 27 Apr 2020 10:41:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WFKl1/ImZNKOu8g0kz9xbHW3jkISsD8WmqCR3L9HFsV03NS7Ugno5D8abATTgwW+HhdioqJMx+px77acZ/VwoEM7gkyJsWEHWuoh1FhobBiBoI2TjLAlKSY0Z2Eq6a5USYYeHJMvkTfqDlzlHVMW0pmc7ApPWMaTKa1EWEvKnV6bVMfJ2o/hKnxqMvQYS6vdFGQu9k/er1doL1HhAiLhU8NoQiRQ6FjicPp4p64vO6UN8q7UGem30UicULzHnC4hq1JQlewPTiUF9viAQ6JqJy+P0Y+FyS+t11GIcSzgc8cvgPTYXtIu0DTQkiEtqrZY7UJcoHNllqcMNS3G4D8kFw== 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=KTNjt++q4BlT3u1O6PR9z7/tNKIrlMehEPo+vr3KeKc=; b=SHfBGIvl78S6/y/uYPKjgHbuzu33k46no4QQdMDe7Be6EaeNFMoWftQjWTuSQ6tMluVxpc57h7UHsN2uS/RF35UNMq15IpwSdwHU9Dj6lvHhePv9oBDoUVEyY5naetiNfAlQ+oZjCoBd5A/VcnD64rGJcYeEEz77qCw+SXZu/DDakkhoRD4hvtBHnWJ938ZA+SkWqPiy88hr9Gnervnn/wskHiS967jmOTGgI3tUz9gs5zF3nNo22n3mL8ZUGdas42DCkjdAJ2RfBjvljSo8n0d3Bo04GBj0a9bcPrgB/oIEVgvqZNjScDrYP3B4yXND6fsXfdsHJPdb3yKEX1QwdQ== 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=KTNjt++q4BlT3u1O6PR9z7/tNKIrlMehEPo+vr3KeKc=; b=Jr23RBiZcrqlMJZrdj5X6oClqCWf6Vu0QWiPwoXiGA+QvfVICIe7RCFdD8O4gCH4SFPasuk0dabvygxvd6wXQN3X5s8jgahF2PbYtrP9xwEvEiJMzBd4uRCc72XXnBzrjjfwP697EyShtHQ67mEHRK2JiNV6D6r2HhNrooJt/hs= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SN6PR11MB3072.namprd11.prod.outlook.com (2603:10b6:805:d8::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Mon, 27 Apr 2020 17:41:26 +0000 Received: from SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90]) by SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90%5]) with mapi id 15.20.2937.020; Mon, 27 Apr 2020 17:41:26 +0000 From: "Trahe, Fiona" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] crypto/qat: fix computation of cd ptr in zuc Thread-Index: AQHWHKIdUlKuGD18E0umulE07VitpaiNPLKg Date: Mon, 27 Apr 2020 17:41:26 +0000 Message-ID: References: <20200427143947.10208-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20200427143947.10208-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=fiona.trahe@intel.com; x-originating-ip: [192.198.151.191] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cf2a2fc7-8b9f-4ffb-e293-08d7ead235f5 x-ms-traffictypediagnostic: SN6PR11MB3072: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2000; x-forefront-prvs: 0386B406AA x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2880.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(366004)(376002)(39860400002)(136003)(396003)(346002)(186003)(66446008)(66946007)(5660300002)(450100002)(66476007)(76116006)(4326008)(86362001)(66556008)(64756008)(26005)(71200400001)(33656002)(110136005)(2906002)(9686003)(7696005)(4744005)(316002)(8936002)(8676002)(478600001)(52536014)(6506007)(55016002)(81156014)(53546011)(473944003); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LWyY/KdhjhwwkM0OoNC6xoG7cGyg2hQMiXSaZVahcRy/aXLqbG5QP5CRDstB9Au+/ri3BkxdBfaQaDq5Y7S62CRNNn/GuFz3g9Q5Bto2lZowrS23c6xHd/hHnaAMvt8LHHhvzOIaAspgfG0WVU5lKFRUP8duqO8Two+5DlX7aPwNTKqDjkokhdQaqasy/kL27f+DTfYMtSWigvo4VcBXERWlnc3woiKjIBmW4Q+fvA5egHtFm6+wTbeqFhoKslmD8CU7rryr48F9o0KKbxF6mP5VqYMR9S2A8WQQ/jxIDDc+pznBPSw0v9oW7DFglwTFTjOVJS07GT0Xk83gCwTOOFhQuvC8/e5HPGYA6UZZFNZSb1VZJOYWgnrGmgjoWKl/ufdPA93AY3bYR1jCZvZHy4qPvyewChYKkBGDdAvRdhuI0ylyPmBly6A5TELLYSHdpKdJVkBTD970yPMymiMz54R0mY5yt4mtDUhaKg2b1zo= x-ms-exchange-antispam-messagedata: UGJq+mdA5O8nuxqUZUZel4bp1o5bIvFBQ5Cq4gYbIR7Sb8uAjErcdo+/nEKXwUGEZSG/hwQCA4pXbjXvD0SVngTs0pM7whRJ6Qc91xVtygORsfkHI1lyIiJzY/r/N5LceXUl0bI8SCcjKREg68OYwg4JWsV2swpCyj9GHlW23wNruMqnxq1q8qeLqOrV+AnmD7zu6yfNiAsUfqTQo3xE9KynSi/xyWiavs1aAECnKSwjx7+oR4DZToqz46StoPBblQujxmyxWvFYkMFgM3ihfSHXir9qtLCWSJp0YsgjilehlwOrWypCkCpNjta967EB8+SeZ8vM5z+qeZIHNJqyNPX3vikPEnRjeqCMVskjgygB3brJQOOBhRkdSRk20K3KyG7ecmQsK1YTkUuHVuE7LXfGRyKT+o0vkcoN1p65NuyQSZIGcoOY58L+N6SweYZsPUFwpTJY/vRufqQeDsgsEYNim6cVAsF2FR66SKoGP9r5iMAcJ6E3s/drTa7sM03fhaA6ZV1gPclpJ+inWg42FbvL75jn0tXLpzcJNG/P1Z9+BpYs6DZUPWygI5pjt0NCl9pTu1REQR6H0kuRYgvlt8Our5JQZah/fSVowWxM4A0swDqOyXWSGlVPxUyiLUsDnWfgnI/Bcsl95tPa12ESrwC2TLLu6mBsqPHVdzzz7ZxjtDbam4a89KeCuzX6gEtRHbLHrE6UnUaNa7pG4FGAHd9mE9VW7QlV7at/h/FKrPG80/fu4JmwouCcX2puPZOmUF4CZqTHHi0ENYXDl25IiGTS4wXyH9+ua6VWqQleEz67amcDoTIzf2AxLq1A3H8h Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: cf2a2fc7-8b9f-4ffb-e293-08d7ead235f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2020 17:41:26.4153 (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: MwRQTTYTcvgtrgDiFgbEqMvj5W5gpRYybjq5g5qgvD0IiAK6OTr1xj4seMpSk+D9vW5Wazhq0truE69+a7VKMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3072 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] crypto/qat: fix computation of cd ptr in zuc 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: Monday, April 27, 2020 3:40 PM > To: dev@dpdk.org; Trahe, Fiona > Cc: Kusztal, ArkadiuszX ; stable@dpdk.org > Subject: [PATCH] crypto/qat: fix computation of cd ptr in zuc >=20 > Offset of cd pointer is too big by state1size + state2size, > so few extra unnecessary bytes will be copied into cd. >=20 > Fixes: d9b7d5bbc845 ("crypto/qat: add ZUC EEA3/EIA3 capability") > Cc: stable@dpdk.org >=20 > Signed-off-by: Arek Kusztal Nack - there's a better way to fix this - we'll send a v2