From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id E5739A0096 for ; Tue, 9 Apr 2019 16:06:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A38484CC3; Tue, 9 Apr 2019 16:06:14 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20056.outbound.protection.outlook.com [40.107.2.56]) by dpdk.org (Postfix) with ESMTP id 7704D4CA7 for ; Tue, 9 Apr 2019 16:06:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fffzmed34MxgMAgVT0dTfEnO2Ik6fjs/BcegqS7Tvvc=; b=Y4tg3irOsKOKcP5Gn2V06fTSBT+t+gbBvHlzvBsdYTz3K0Gg4qBjypypz4Z/iKDdsvzaTSPIAWCmZNJHn9cVrBzVSaqf6yUG8dM6C0IKKqDpZf6wrra8YIWl+3VufY4CKWoDnmrr1s5np6waEuKqwQgQbPPFcpg+6iNsPhXfaa8= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4559.eurprd04.prod.outlook.com (20.177.55.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.21; Tue, 9 Apr 2019 14:06:11 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7%3]) with mapi id 15.20.1771.014; Tue, 9 Apr 2019 14:06:11 +0000 From: Akhil Goyal To: Gagandeep Singh , "dev@dpdk.org" Thread-Topic: [PATCH 2/2] crypto/caam_jr: fix total length in AUTH only sg case Thread-Index: AQHU7elgOUv/3NG0UEGk4i1z9z+bAKYz3ocg Date: Tue, 9 Apr 2019 14:06:11 +0000 Message-ID: References: <1554736925-13184-1-git-send-email-g.singh@nxp.com> <1554736925-13184-2-git-send-email-g.singh@nxp.com> In-Reply-To: <1554736925-13184-2-git-send-email-g.singh@nxp.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [223.225.30.113] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd68de7b-7af6-4d27-0910-08d6bcf485a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB4559; x-ms-traffictypediagnostic: VI1PR04MB4559: x-microsoft-antispam-prvs: x-forefront-prvs: 000227DA0C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(39860400002)(136003)(376002)(396003)(366004)(199004)(189003)(13464003)(7736002)(105586002)(9686003)(5660300002)(53546011)(55236004)(2501003)(6506007)(305945005)(102836004)(74316002)(6116002)(229853002)(25786009)(6436002)(53936002)(4744005)(76176011)(55016002)(2906002)(6246003)(66066001)(52536014)(3846002)(14454004)(106356001)(81166006)(81156014)(8676002)(86362001)(8936002)(33656002)(44832011)(99286004)(316002)(110136005)(26005)(486006)(256004)(476003)(7696005)(71200400001)(71190400001)(186003)(11346002)(68736007)(446003)(97736004)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4559; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 0riPPe//tFZv8whsYmVgzRojO6PInZL2pyu5OOGAH2aTtYCjV0BsDZn7tPZw/j2v2/enuHOk0DiihSdJWb00OUbOu4/LuXl13NFpr57g+dT8Kol6u51mthwxYX2LrxcVjWok0eNLaQUCm7ujW0Q8d4DlPNRYUJgAfBxqIENUHzufwlr5lf85jv8nq5CogzuoCkLvt+ZSICv03G2LgfttpmfO0mnlYpBt9pGooGlHPDTCUIBnF5G/IpsJNm+hG5z3CJQuTJM3419x63+ZnmfVTCCNqk/g5UkqrP9vxuNBZHLjW8xjlH9i5x/p0Crb0mHurCyfTujCIRMdnAOK51vmJKDGu3USYDh24dGtrgfyxhU380uPdnpR8KIEIu2PEl1LKGdMyewsRqVn/DhG2elWEWk20ZfdNybkJnZmaUWyR28= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd68de7b-7af6-4d27-0910-08d6bcf485a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2019 14:06:11.8270 (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-Transport-CrossTenantHeadersStamped: VI1PR04MB4559 Subject: Re: [dpdk-dev] [PATCH 2/2] crypto/caam_jr: fix total length in AUTH only sg case 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" Message-ID: <20190409140611.0tE3TEWZE6JpiDt9S4YABAuPO6yiTr1WH28orhKg7Z4@z> > -----Original Message----- > From: Gagandeep Singh > Sent: Monday, April 8, 2019 2:30 PM > To: dev@dpdk.org; Akhil Goyal > Cc: Gagandeep Singh > Subject: [PATCH 2/2] crypto/caam_jr: fix total length in AUTH only sg cas= e >=20 > CAAM return wrong digest value in AUTH only sg test case > because digest calculated on wrong length of data >=20 > Fixes: 71dd6b9d44e7 ("crypto/caam_jr: add scatter gather") > Cc: g.singh@nxp.com >=20 > Signed-off-by: Gagandeep Singh > --- Acked-by: Akhil Goyal