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 5C4BFA0353; Sat, 9 May 2020 23:54:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3E2B51D68D; Sat, 9 May 2020 23:54:32 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2042.outbound.protection.outlook.com [40.107.21.42]) by dpdk.org (Postfix) with ESMTP id C3BCD1D65D; Sat, 9 May 2020 23:54:30 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NrrLmtgCzye77gYO9DHKTT7+vQfVQb4so861ArSohG9bBh/+s90bB23ZV3T2Br0WPRzJEkytOEXoa+A33JyBiAkW7Dm9+I2zq7IdP7xGfUP1HGarTb/wUFm+XnwWTxtPzKvQSrUDbT2dbb4YGsWBeVKXvy+ECNdwagYfPXZ4Wwvx3e5dBaBtscpSx1bv22cs2mooOlWJn6tY8ZpafyXLxPa2spPWEN7oIaRLDsAQ42nq6NjX6NBFT2ou9dFw5krbKMCnpGNGgy8FF9PJYO9O5FAXaPK2Tr5Gk3blcB598vhF+loZxMfMMvrsymL7oZSRQIkjvP7d0C75szculcsuyQ== 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=J2n9VpBLrvPK75Q6KLeCeY5wMJ//0LWBZo/RBa+50uA=; b=YSgW21wBcDcdV50/HVrWzZEnoTEIMIgRIQSNRhoqoVCAAtOQuYv7kD/VKug9i+Y6ZPTAIYX6z/RO8bDlpNEkUkZRQnJRoqD/2Xm5QXem6RyL6xXqtiSPH8Dwj80JbmIs9S+ZGviM0U+HgOlmTs+vKPZA1Z0rcIVoKnjPNQmxg8U1VJ5Jo8G6uSRLLPtZD8DZ6QWL3hdWBYsQtwrJ9P4+9NsYo0bo8WMBxEgT+sZ8DXKjVz0TK4fjnE03JDNAh2MDrvxVs/01R5MfpLFTP6cTAI4yzKOYdaFgD2rDOFG+L4+Y6hoB/sIx/QSR/srbzNKIOpRNgPkB24kMgqX2+YPwsQ== 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=J2n9VpBLrvPK75Q6KLeCeY5wMJ//0LWBZo/RBa+50uA=; b=DOLdNw2e5PEA5IOEaaYAxB1Febjoi9paI1s5aqBzAt1I2x7tz1vnKMnBTDFGhyDoByLyudk2jTL0EI2gnnK7ZYqV5+D0OCcqYIs2VnEyTvMERP7G8N8WXmZy8n51+BRJpRK+uI17FhTmOlgzEaWpVb/sAwDbeGveBY98L8IhQhU= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB6910.eurprd04.prod.outlook.com (2603:10a6:803:135::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.33; Sat, 9 May 2020 21:54:30 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::8c03:2f5:3b48:ba74%7]) with mapi id 15.20.2979.030; Sat, 9 May 2020 21:54:29 +0000 From: Akhil Goyal To: "Trahe, Fiona" , "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] crypto/qat: fix computation of cd ptr in zuc and snow Thread-Index: AQHWHkOikRUb3pLRNkm/RbqaB65rs6igXDEQ Date: Sat, 9 May 2020 21:54:29 +0000 Message-ID: References: <20200429145135.12852-1-arkadiuszx.kusztal@intel.com> In-Reply-To: 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: [45.118.167.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 01255c5e-67db-41fe-f087-08d7f4638cf1 x-ms-traffictypediagnostic: VI1PR04MB6910: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1824; x-forefront-prvs: 03982FDC1D x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dtsbW6uNThCjI3lgYL7Ni+1RsLxaH/LZ33N0/ooGOi11LhORc+RmvTgIU7RfxTGFpGaduRTw++O5Fb97zNhCM4itioi6gKc91mY/TRDWQSAbrYB/6Arwx2oINcsjzygw2hi9ZN1Y8x5Zvz4ErNoudXZGOvub32bUHq2XMsEmsLCsvsNmDTbE0c0W4xBU/gjFmcYRxcxE2nT2dGO5ucxI2Gmwr/cy7RWg1Qug7zDfpxHqaosFImlyLdBPZm/9InDP1zIZ4y41VhnVUPywJKzkj85dDCUbnLHFAT8XjmwR+sWijWO5qZxX1RT04sQLHY96Cgr7yOax7gR3WlcTDgp+pFkoLlEWXnaCvmFeR6M2HJlUPj+b6lpjfVcOObMfUBk7ZcTSYd3+/TWpQ5RftL3fhmiMGI78TKRmLZiT8SCgpxT4fpNVDmdjPa1V1LSLK9x4hTzutG6php8/BGjB6BrvjTSHaZLRk88Z6195+p22/MYqmUczFFyXCMSLa2henEaQlv7DBdD+ftdKDCUhHJiPI03MyuJ7O2zmImLPmcTHfu5BRjk+x7jPkw3cJeMQQXe6 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; SFTY:; SFS:(4636009)(39860400002)(376002)(346002)(136003)(396003)(366004)(33430700001)(6506007)(26005)(186003)(5660300002)(71200400001)(52536014)(33440700001)(8936002)(66446008)(316002)(9686003)(64756008)(86362001)(478600001)(4326008)(33656002)(55016002)(4744005)(76116006)(2906002)(44832011)(66946007)(66476007)(66556008)(110136005)(7696005)(473944003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: Cr2HQmqbQZd5RAKHq26hEO9lBTBt+Exnt/uQwHlXMntbvIH8LxKQBWtqWkDgYmrkt2WwihjeGYqlx7ll99RY5NwjsnVw4yUigy0jz08WkPIw2Y5my7XyENe39iKX0wl6H5uu7ya9unzNcqZCftmHBkIyG22x9Cl6IxnTTlH1BEum/JU3rumDuQOomCOjDsqgJ8XuenGVN6ynPrV997EMF3mp9Nsy6MS11QoZP38B/Mv2E8BRrcSnSLTTFGz2nsyFIw/wO6VzV9ZP8qvvu4cdjRJIHNcGMIfkMFL4jnWncsNRGcrj0lS/CUtF1l9+ZmxuTwYIIFlB35aaBxvg3ObzlJCwt7HfxCGS2El5d0RY9eytt57zWofeiYw7dTkBGnMqDQ62EMwn8YxmQDvdXUTqDNcPfuEhv90KI3VLEZi1QHpZyHrtRSWel6qqfba4kazCkK9xGucpaQLuT7LUeGpGaq0Nr5mDo/lb9Y9h6PjiXQ1pqZSFAfnraTFnqer/TL3R 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-Network-Message-Id: 01255c5e-67db-41fe-f087-08d7f4638cf1 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2020 21:54:29.8550 (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: AIUEXtCT0DGgvtEKMMmyQ8R8Irz4VLhwJE0twIN9JuhIR5ziHCMbHE/Ly18jkHV9qaplwQoZZk1q3c/7uRxc3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6910 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" > > Offset of cd pointer is too big by state1size + state2size, so few extr= a > > unnecessary bytes will be copied into cd. Snow offset was improved as w= ell. > > > > Fixes: d9b7d5bbc845 ("crypto/qat: add ZUC EEA3/EIA3 capability") > > Cc: stable@dpdk.org > > > > Signed-off-by: Arek Kusztal > Acked-by: Fiona Trahe Applied to dpdk-next-crypto Thanks.