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 60AE9A00C5; Wed, 29 Apr 2020 18:31:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3022A1DAD8; Wed, 29 Apr 2020 18:31:24 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id DAD0A1DAD2; Wed, 29 Apr 2020 18:31:21 +0200 (CEST) IronPort-SDR: puVZ6VY+euHxhSABYFiSOSUH0Mt20TgBAcCX37yd2JrKTtTM3gtUiigrPsyrgzG0+h0se0vXYD QcR7yAemqNVQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2020 09:31:20 -0700 IronPort-SDR: 2tpnI5GdYr8ENFARM9P/IHMAdS3SnRJEotfNX2+FeSHjR8Fxgw893Ggp5oh3PTJybt3rqoFdr0 UGc10dM1NgIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,332,1583222400"; d="scan'208";a="459255532" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga005.fm.intel.com with ESMTP; 29 Apr 2020 09:30:54 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 29 Apr 2020 09:30:54 -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; Wed, 29 Apr 2020 09:30:53 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) 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; Wed, 29 Apr 2020 09:30:53 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.177) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 29 Apr 2020 09:30:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jsSDnGitOCaJe8kY0DptU/r+I5sZGbr5tIwcTaEKtqxRiItEkcZtUZbvjk55stnEV5LpjnHe7d5vtJVkJTTYn5jF8oiLaz8sF25JMrfNpMBA9X578CsIOgQpsCjZc8ZliMQW+jvZbZSLuGTdTQ98lw2310OIYoAvF/mGjZBd3Px74UI3jSwm05NHcCLoTh1kbRUfCRnDc3AiRj+tKse6FJnhouns4M8PVp9kwDkhlMb8wzMnIm3RfkNVPpaaGmxx64p9dMJvxi3oxRxvzJfeEgaezGW24xNgAOu+IYz+/XcXXDXxm55FqmeBVefcnlgAQzC/jgEmtBEqYU1KtimS8w== 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=IS18mnD/3VcbmtqqXLCoTjYQZzaLvTN0j5cViSzZADk=; b=e2ChfnCesr3h6TVlzCkXiBm7eCL0LFDYidSV70nJJnJvRk6wzgBw4BTimv9oHJO51LipQ527YVhRafwJs3qz3ffctPP6NDQn85/2FQw9M6IgcK8g1wNbRnErq8GHcJCPWJhw2MzlbVqRMufPwdV4uCAlwNm1OAo8ig6ntw2BFeBrFFwX8MO5hb8fvv5lRDu1Ii3RXG13G8ZI53FfsDfdn0Ca/l+CtIFvVMNbu9Pld6qPW5qFXEAbJJvRQm9W/UTv6JX7Uifnedz4gHgNp/KN9yILqTa/rjZ+55ry1jF80UTBfvxmV8pY3gnx0rcG2zlzr4WAgR6XBaA/PF4nW8DPOw== 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=IS18mnD/3VcbmtqqXLCoTjYQZzaLvTN0j5cViSzZADk=; b=khh+HPyrsKkW64DG0xbhr/THdkvwggOlJc0Q1JS+uSGg3dKLk19O0ta/QfDZ4AySoC5wNuIRv75fu8KY6Mnoc+QKdqvFaKn3m8WOtdVPzGXdai2PcF0cRLdbUEOatH2Ve51tQQ3Myzi/IICg4knD/kFFiUZIPl7kObu1XFnuDHI= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SN6PR11MB3261.namprd11.prod.outlook.com (2603:10b6:805:c1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Wed, 29 Apr 2020 16:30:51 +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.023; Wed, 29 Apr 2020 16:30:51 +0000 From: "Trahe, Fiona" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH v2] crypto/qat: fix computation of cd ptr in zuc and snow Thread-Index: AQHWHjZHBXw1D+M2q02zTHZgYvBlHaiQSlug Date: Wed, 29 Apr 2020 16:30:51 +0000 Message-ID: References: <20200429145135.12852-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20200429145135.12852-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: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.177] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5613fd1-a21a-4845-4e6b-08d7ec5aaeac x-ms-traffictypediagnostic: SN6PR11MB3261: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-forefront-prvs: 03883BD916 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:(136003)(346002)(39860400002)(366004)(396003)(376002)(33656002)(52536014)(76116006)(71200400001)(9686003)(66556008)(6506007)(53546011)(66446008)(66476007)(66946007)(26005)(186003)(8676002)(7696005)(2906002)(478600001)(55016002)(64756008)(86362001)(316002)(4326008)(4744005)(5660300002)(8936002)(110136005)(450100002)(473944003); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cGfkPGH0DQhleFdvRFz1bMoHk9DiDdJk1Rm6X+Sp5FwFHM/Pcw6TKCLinN9ydeLnd9Fw3Sj9RZX+4hr5qGcMtHnL/Rkgk1/4U9WGHVvbUmJiNofISPDIQUXagbkuAXvX5xHvIHqypSzZft2ijbL/3ru8JubSSMCn3+E6oaA8wei5ZuI3eVxEtApxLCFIzsc3ZI91L8khaDEBa/vc4ZvsvUS46P0ZRhWIdd0IPhI3DX7WUrePBPX6rWzCRKS8gUGJY59D+7N1fez6Vnq0sdyQVPSLRhTpKhOoh/3JhESZH8Ntxe9/ZhHyrKAZMS8Y6x7K9fWaruY0Qu96+e++GRckaYuGCje4gDP9LoCK+eV/fPPKXT/SOf18YuGE1CNi/jEI7KZB2023M5go8FYNmJnXsK9XWuPhKr/1rhIEbbY9l+WnUbAc2qUv0EBjevyYNCB0YskRA3WAg6Yvfz9T++wwiU3Phojw5GX4mB2HFB+8N0s= x-ms-exchange-antispam-messagedata: o9anuvG1C6tdKejEcyLPBWMxiJwehcBURpoJgjPIDBklMpHHdufkPkwtXaVaeJD028YOOVapYcR4+77VpgZsr903oBfv00sAc4dA5Iet+nAXtD8scmSKJbH1ZCl/PixmCbDSfQBLQGmQNH9RPt0s1clgyZoNRn7nE3jvldP8K0A4WYKlzORwxzh7haVykE2f8/oRMtUi2uL37hyAKnZkvXE1OmffRXhSk4ziq77KRZ762CngU+DH1Lb7GUG2e4OjPNuHTewAxEhzOIpNdDue+GjWPXwltD03akhuHubPS5l4ZduMqMmJCZM/r7WiS2DEU6EkxDfsBTRamzZwPjcGx7H/8XNxrQNz3VUlNtprc4Ap3NXxezdT3wf4s40cjchCdPBBx5ITH/dLrh5pgoO1sn8wMukmwF67R/DGNgyXlaKNhan9j/d4OsJxfQ1c+qOpO6HB6XBgkpllA5r3qD5JFnH5r282vVuVAmqFjCEq2Ju+uuLviXmgMF2QmqY+g2PwL56iUhW3Lp5fuD1E8CZ34zGYHouPmwki/aQMCQiKLqRGqTO4rtz+QwFlE0Tw8guALL1BvtoWhHXDZccqBlT3/BYxoTUMLLG4CiQsc02ZdC34J5Me8Qu7wPZm9C0FdJt1bwMAgZplIqC/QD3R3d2M+h5IpL54ve/HGu4QzXBQ4e8S9XKX5SxIGWt8TlzilOLomHTAvKp2dOhP7uZswxtdRNPlMPgNuEJjHjFMCE6eA/P4+vNCveY/mxuQRrLdi8WOQCibgkYWCfgaFPMrdQzc1XotnLRhcU/oY8lVN6FhvIwV8y9pNeQQJaW2isEowrD7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: a5613fd1-a21a-4845-4e6b-08d7ec5aaeac X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2020 16:30:51.6205 (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: IRGO4zuq7Tk1R42RUBjJLhjiybIQB+RYS4s2RsWJDJCW47UNRcgb4+uQhVKkcaBVzwmKjhLA+0+UoghTgIXMbw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3261 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2] crypto/qat: fix computation of cd ptr in zuc and snow 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, April 29, 2020 3:52 PM > To: dev@dpdk.org > Cc: Trahe, Fiona ; Kusztal, ArkadiuszX ; > stable@dpdk.org > Subject: [PATCH v2] crypto/qat: fix computation of cd ptr in zuc and snow >=20 > Offset of cd pointer is too big by state1size + state2size, so few extra > unnecessary bytes will be copied into cd. Snow offset was improved as wel= l. >=20 > Fixes: d9b7d5bbc845 ("crypto/qat: add ZUC EEA3/EIA3 capability") > Cc: stable@dpdk.org >=20 > Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe