From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0060.outbound.protection.outlook.com [104.47.34.60]) by dpdk.org (Postfix) with ESMTP id 31E7214EC; Tue, 29 May 2018 12:46:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8tKaCD6JYd22pWmg3hrGnUNgdXaUSh3sTi87HYc86/A=; b=ljYhkwdI83d/Ht1ZnYnMIh2kIQpkq2gOta2oh3kosiqsqCRFH0RhBod06kizjlJM1nzUQ/Ny2eyKYkOIRzopQYZ7gyr9VixvTNucs1zMQaOe2hMxZSt45sTx4oWzsCmk14rZZtn997aAJ+pEkLkiI5GKp9cxDSlUIWnEfVrgJFw= Received: from ajoseph83.caveonetworks.com.caveonetworks.com (115.113.156.2) by BYAPR07MB4903.namprd07.prod.outlook.com (2603:10b6:a02:ef::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.11; Tue, 29 May 2018 10:46:15 +0000 From: Anoob Joseph To: Jerin Jacob Cc: Anoob Joseph , Akhil Goyal , Narayana Prasad , Nitin Saxena , Sachin Saxena , dev@dpdk.org, stable@dpdk.org Date: Tue, 29 May 2018 16:15:36 +0530 Message-Id: <1527590736-23897-1-git-send-email-anoob.joseph@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: BM1PR01CA0083.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::23) To BYAPR07MB4903.namprd07.prod.outlook.com (2603:10b6:a02:ef::26) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4903; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4903; 3:5ODcxsqUxSi+vVAkInp5f8NZiKMzF2FlfU0v2ASLXBAkyWJMxtfg3gK077OxObYnH9IMS6FexCCAswmUwuqMSX4xMAwqK8rP9HUsd1N2a7L8bAGpbXu15jjs3SQic6OXLRai+oxZrusnov7XA0ZTWPKl+0KpZ29uA/IEPKZHbU9be07czWfeB/zrvpq5V7lblJoDEQ3LASp/S8K8IMx2SzZZRxc72BmhTJwtBM+blYixXUY1Qne8IY0Fyp4m/8uG; 25:mUUFXWYsyxj2rNNLY9591oKgG6QSOUczOo+isiYKxc6dzjctiHhakrd33XvK5u1aMdNn7VhzMg8ZfCwHL2lDidfcPxG301hXqT6p51NnTs2gFmvs1rhldxxKdavT+bhDrHVOI3GwDGvNkYJtniDdgLvP3XksLAjeGfloyBSFgUT+CGyEzWBuoaMZ6nRjNIVzUgWzQwlUgvbjNH0xrlca14rhO7pSVxPqCUKTYSOwXN54K8SHevQfZs3qaoO52ffjEDZ9RMInnEreG96zC8ntrlyXoShE995EW2wmVdSQd+iLdZoKibxDCvXMhxdgtDd96KjtgCIVntSy7eemJnFLtA==; 31:Z1flljdWqOB+fQc9n8zLk1WeKxEdBtv6Pj/OtGL/Ld/sVbFBJpV0e6+phL0/8zCXbqjHi97Xbpz25rXGshbA5dRq9ycNrla5R+P1YiJPKaqtP6MBeBObs4Tb5o0dD+XCfh686jJT6Ydko0OiirKPlGBZ71JonKUQx5jnWmCvMBRPEBPhgPxCj2fiquQqhgFPgcZX93Ym3+q75sr649C4uw0Tpa7o3jgfZuIoCgnPtnA= X-MS-TrafficTypeDiagnostic: BYAPR07MB4903: Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Anoob.Joseph@cavium.com; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4903; 20:nac21hpYMG35wDyzEea99mJdvSRr4+BBLlQgJkRKjPTaqCZkX1EVtcIw8JqKN4oXg1UGaAoMjq2hk7CKZi+rrr6/zyEFyLhYEuf5t2jhOhqUXoEMf2t3ve7mmtcq9Jqoqb8UlPgcHHXtAGq1Pb49jPa82xOMCI74gpgc003SKAp7PhwK4lOIRKvic8yuLY9qBubj1kVqzrDUK3XHCeZBh392l73XBCU0xJpicORCy610jaj9ZZ3ujbR5qaEjYN+vOZI9oGhBCVaAE7IjpNhqh46aXs+HNUAHcQq7m/Z7krWHu4QEnBVtP/CIgazoC93ggBJXL2i98YnlJ7GoUPtRA1WqTvvJWDiCYYwvz7Ab1gYyxQTr9tLhHAxwvlv//PhDJ4ucq/Netc1Rkq1xUBtqsWNU/Nuf+oSBujnUoTkkyLfAP4w687OLQ7+mE5mG8jFsQs77Jx4XO0IELRfutVOK4XOX0roBpUAbpXkp8OyqRM4VcfifT4hPqNHm5tn6LN5S/BtBl6qVofHZp0vgV5e+38nnj0b9khQapSkYYvs26rsSwxgKKWjC+8BAuUQ2EXQdC0rvzbjyDDAVy4U2I4FYL33uHY76hNuaSKMVz6Q0re4=; 4:VfjTdTQns6CQTZ7UrfsLYIO6AdCcclR9Bxyy+BtCBr3qRjt9IOT7Bs8uDsL31nFTx//7keIbf/D9IrINYgz0Oxehsgqgzi9BJU17GZODdfoZT1MSg+wLT+SHSlVcNSbG4Y93H/bfYHYb8T8I83YHty1y450PKpkgJR/P8yTMNjO8kLkia9534ILchAR4xg4Uu4XzJK+5R3yuiiiDtgA8MevesOC3JW3UBCQ9Ciu/fGNqdeEA92iKA5GgP7B4AkfdF5kS2cx93ZU0NECBByyFOaV56htxL5YWtoEsDYhofDUfgtzdB+t/3Q3W0ZzZED5h X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(3231254)(944501410)(52105095)(3002001)(10201501046)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:BYAPR07MB4903; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4903; X-Forefront-PRVS: 0687389FB0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39380400002)(366004)(39850400004)(376002)(199004)(189003)(18543002)(54906003)(7736002)(105586002)(37006003)(316002)(305945005)(25786009)(16586007)(6512007)(53936002)(48376002)(68736007)(5660300001)(81166006)(81156014)(8676002)(6636002)(6666003)(3846002)(6486002)(2616005)(956004)(6116002)(486006)(44832011)(8936002)(50226002)(66066001)(97736004)(476003)(1857600001)(26005)(2906002)(72206003)(52116002)(106356001)(51416003)(16526019)(47776003)(478600001)(6862004)(4326008)(8656006)(36756003)(42882007)(6506007)(386003)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4903; H:ajoseph83.caveonetworks.com.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB4903; 23:BnhSklasRNX3kxBRAoJg519McJnID0Hhrtc+eT0bw?= =?us-ascii?Q?lE9sLE9r0IEmzLkcuzbtZFzPTk3lwpxKB5Lv1YdXT7RXNf18g7mGCY8/Ge4N?= =?us-ascii?Q?PjeDDQXpj9P62N+BxzWnjLqlT+4mQsl1a7sGvfN+0S48OD0xsGCo5a1U/lHt?= =?us-ascii?Q?13vRc314qRUBDaFfdjLBrmyGMD2HjPcT3jo5y8WU8lVKa7Tm//m1bLULq94C?= =?us-ascii?Q?WF96jEiZsH+PFp5WnPEeO6E6BJYtawrBf4n/tNkbSCPEVZMon9z8Gn3f++Z+?= =?us-ascii?Q?Hmxeyb/1mf0QtoQiErdWtb8Qj7ZCuXjc7x7o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sVdEpqHSdgK6D/qlW/5q/uLDl4Fm+aQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4903; 7:AdZCTf2vGzOsIC6S2mpUeFhNOnq45ncN4OK8lsIQXDO04/tF92J6ma0uiBud1fFQSpWCRQVccX4gJJVMkrXbKN2u7c7w4ovU+vmeAct3HleodHkk42ZSS5TXWuOHaIVrvQPkPCG9JcXCeR5xvTdjBqOcspGxC+j8kIjnpUfouVk4GH1eRUH/12iBQiKyGl5jEIAfajycX3ofdcxZoNP8mnULOEGCW7+0qUPqQnaw68sAHu36SwHI+46KmlK/4Hz2 X-MS-Office365-Filtering-Correlation-Id: 7b62a565-c6f3-44b5-7459-08d5c55168dd X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2018 10:46:15.5158 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7b62a565-c6f3-44b5-7459-08d5c55168dd X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4903 Subject: [dpdk-dev] [PATCH] crypto/armv8: fix HMAC supported digest sizes 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: , X-List-Received-Date: Tue, 29 May 2018 10:46:20 -0000 For HMAC algorithms (SHAx-HMAC), the supported digest sizes are not a fixed value, but a range between 1 and the maximum digest size for those algorithms. Fixes: 0f89def76127 ("crypto/armv8: fix HMAC supported key sizes") Cc: stable@dpdk.org Signed-off-by: Anoob Joseph Signed-off-by: Sachin Saxena --- drivers/crypto/armv8/rte_armv8_pmd_ops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/armv8/rte_armv8_pmd_ops.c b/drivers/crypto/armv8/rte_armv8_pmd_ops.c index 3817ad7..c64aef0 100644 --- a/drivers/crypto/armv8/rte_armv8_pmd_ops.c +++ b/drivers/crypto/armv8/rte_armv8_pmd_ops.c @@ -27,9 +27,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 20, + .min = 1, .max = 20, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } @@ -48,9 +48,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 32, + .min = 1, .max = 32, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } -- 2.7.4