From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40054.outbound.protection.outlook.com [40.107.4.54]) by dpdk.org (Postfix) with ESMTP id B8BCD1B056 for ; Mon, 17 Sep 2018 15:58:11 +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=SgqsSRHGawOQfwRJlMR1R4TpczzOgaH+PykY5wya2iQ=; b=vDlVQk33sxABil5145/ZR9whNzkHTGuAYuKv9HGjRfVMcTpTaJBnNiJmVr8NSykWf3eq3JtoJtDPF5gtrCyrr9tLvCkbNsSOBPe9lF5ngQqyLihjCFuXTWNrxgdkECINbZmK+SRRbUehzyvN1LdVjhC4Bf3HFsN0oEkbrNmyjbw= Received: from [10.232.134.144] (14.143.30.134) by AM6PR04MB4886.eurprd04.prod.outlook.com (2603:10a6:20b:6::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Mon, 17 Sep 2018 13:58:09 +0000 To: Tomasz Duszynski , dev@dpdk.org Cc: nsamsono@marvell.com, mw@semihalf.com References: <1535118895-6505-1-git-send-email-tdu@semihalf.com> <1535118895-6505-4-git-send-email-tdu@semihalf.com> From: Akhil Goyal Message-ID: <690b46d2-22d4-42f3-2003-1b9a48226e76@nxp.com> Date: Mon, 17 Sep 2018 19:27:57 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1535118895-6505-4-git-send-email-tdu@semihalf.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [14.143.30.134] X-ClientProxiedBy: BM1PR0101CA0031.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::17) To AM6PR04MB4886.eurprd04.prod.outlook.com (2603:10a6:20b:6::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 97a3bf2e-9772-4041-d671-08d61ca59a86 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4886; X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4886; 3:WVNHsLoM0wynr+KQSSB3ESMLeYcYWBiD2ttOVV6T57uZRXy5wGCGOrJQdTnD4y3+JH8rUYv1Rok29CWzW4WRLy+nTV3jhV3XFi8p572lSPrUz/uZlAHNE8pq6SOFrtGZpSLVDtczhL84oUhYas48CHVuz9Q4/uxPVIIJ8XuwFrE22t3FEmV6O43zSMFKPzMivsEXWC4a+id6DCtVmk44q567dalYor+V2qXVPHNRuR5gUQWRaTgXa9osCQF9rJxR; 25:taXOHFGOEirdn8+6k3YDReV+Kr0ZkCea3FbTZ6PIHzQQB6QBBWZP8oXQ1M6XMFsg6J7pUY3zwmZG7wFyE0c3hAYRyoRH56chhA0FvawgWlHCY+NHfIn/rddRqdw8ItMfRZxAciwof8FNBMlG2XzHVFcPQ73yy/p4MqW+8N5kEqa+KEEHCqMkYlVTAWNGiupuv8JYIz4ajvPesiBtbLEybmhWjWPZClZl9grkil6678DvenyCFW4Z5fqLGeMvyWL2H2ZC6s/djKSG369UH0F3fah+5SEc80YEat85Y2NW37UgHcK0D9KxXfVDVRP87lL6AARwbJgjeYzxgy9k+6i+6Q==; 31:RwO+kFFTzdbV4TxhzquIyDOV3dvjx41p5ksT6nFNhooKQPleovtm0C8TwTxbmC2g9trRCe7UppkS0f7CdQxUOo/97tnxCKufMgwAluq7qGHNVFZu/srqI5B5vw9Pm7jJIH8KgpJckM32Dj83EYLd2/5wAn0L/DSNK/FUMLYuWACaVSf4yZywCYsvKG7OF9aqSVt0+vCM+Ig1rYaVB5mBOkC+I+9I9482o7lAlq5jNkc= X-MS-TrafficTypeDiagnostic: AM6PR04MB4886: X-Microsoft-Exchange-Diagnostics: 1; AM6PR04MB4886; 20:8qJFEGbz9F2D+Pc5FoFUX9IY4jHLurCoaYNdLkF8QfANKXmzJJagazNiqecqmxLS353lizg0LJcU3Qo7yXxTkwS+j6GsNF+Pt4eRvLAgTL9PlM6ftLDB89k6fJqbiSY+LJpX7d/YbWP2qUmNb4r/NAwHA8jQoL2PcvhObCTdzS9BdZbO0Bb1ShN6bowaLgLq+Y5Z9zxOUHHVNwSb8xjhng0JdBEkd47G0HS4jbqF42GxcN1W2gHRJ5sVJTA8xE1lzb2mBPxwhUfBri5N/PUTjwtHFr+1YKFAlFBKsrkP+l3cQeh3rtJqvcnon+DLtcziQrsux50C8Pj1aStDna9gNuixkAj3ns0WCrkbdMJs/r1nUp+lq9a7dCibx098jadvWS6wQP/TLdneVLogRgFz2keTxY7eldQlDZCKt+GMHJU9Dy8wIZxIjiArZsbeZ7Zsons1MclFVkwZpzSt4IjxCjlyjOijixbUkqG77zHtBRC6R8gJXU6aDE+ACIJVNwWS; 4:f4J/Ltukcbx8Qiwcu0BBEoYNrvOXnuJlsBlgQ6jNSAZ/ShXxiX9X+FNkyMlADyPu0rdhoOyTW2QfHJPmymHQ26ssmj4VgVQ+g0O9H81vqEwdGP7kso2AexGuJGgs9LhHimO9jHCLbQeTFMRrIIOjK2dGMySm91p6EaWb5Ters1M1KXaBKl9+9+x0pGUfY+iz+iC7vikJQ9qNiwBAVpUMvBEbuu2Pi0jj5IfpIHTUpA+gqQuGLCYuemSBsYebQSvxiCOZ57MATIM3ml2tRn3ZLg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231355)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201708071742011)(7699050)(76991041); SRVR:AM6PR04MB4886; BCL:0; PCL:0; RULEID:; SRVR:AM6PR04MB4886; X-Forefront-PRVS: 0798146F16 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(346002)(39860400002)(396003)(376002)(136003)(366004)(199004)(189003)(52146003)(23676004)(7736002)(305945005)(31696002)(6346003)(186003)(26005)(65956001)(5009440100003)(446003)(8676002)(2486003)(229853002)(81156014)(64126003)(47776003)(11346002)(76176011)(97736004)(105586002)(66066001)(58126008)(106356001)(52116002)(956004)(2616005)(16576012)(53546011)(81166006)(86362001)(16526019)(65806001)(6666003)(478600001)(5660300001)(230700001)(4326008)(68736007)(3260700006)(25786009)(476003)(2906002)(486006)(386003)(8936002)(316002)(6486002)(53936002)(36756003)(6116002)(3846002)(67846002)(6246003)(31686004)(44832011)(50466002)(77096007)(65826007)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4886; H:[10.232.134.144]; 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) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTZQUjA0TUI0ODg2OzIzOkYvY0g5eVpYc0NuZFBXbzNsb0FnVjdhTHlx?= =?utf-8?B?ZDVidGk3TkJ5YmZJak54L1lyQU9QNk1pM201SXNRL1NYWUI0OGNqUllkOW4z?= =?utf-8?B?SVRhNytoYVBIaDJlU2pkOWcvZndWNXo5WG91SEJPYXdQZTVLMHZucEdmNGly?= =?utf-8?B?cFpBaE8vVTFDbWNyQ2ZEZUQ2aHJ3N01ETjdNUkNyNTFnenN1bTlm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hZxzXJTP/3hQRhlE706ROZNlOHNBP18jIaJJ0AKD5Lb5j/kXlMyK9vBhH9I/C4M=; 7:eztTZfQyjxxv6PKs/9JjjhiGM+LDgkQje/zEAvgLgVP4WFEr+/Wx5dAWKg5pJLnT2QPVcHkxg9Su+9Wn3Z95utQ3nEA4NY6VdpNhvhBkiNu0ANRC1WdRhZeWY6hT9nivIerLmiEQ1yDkvoJaZEdot8ogZKAu0BCrU6E7jbcXd2A4t/JiZiBNx1FTP91KHydh1gtHy59feYtJLOPcWywtNJm45lf75nxguvpzSfp6ru5IkrlPmuf2C5+KDYBWLg5F SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Sep 2018 13:58:09.8150 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 97a3bf2e-9772-4041-d671-08d61ca59a86 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4886 Subject: Re: [dpdk-dev] [PATCH 3/6] crypto/mvsam: add support for HMAC SHA224 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: Mon, 17 Sep 2018 13:58:12 -0000 Hi Tomasz, On 8/24/2018 7:24 PM, Tomasz Duszynski wrote: > Add support for the HMAC SHA224 authentication algorithm. > > Signed-off-by: Tomasz Duszynski > Reviewed-by: Natalie Samsonov > --- > drivers/crypto/mvsam/rte_mrvl_pmd.c | 3 +++ > drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 21 +++++++++++++++++++++ > 2 files changed, 24 insertions(+) > > diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd.c b/drivers/crypto/mvsam/rte_mrvl_pmd.c > index 9d130b1..5ef4139 100644 > --- a/drivers/crypto/mvsam/rte_mrvl_pmd.c > +++ b/drivers/crypto/mvsam/rte_mrvl_pmd.c > @@ -113,6 +113,9 @@ struct auth_params_mapping auth_map[RTE_CRYPTO_AUTH_LIST_END] = { > [RTE_CRYPTO_AUTH_SHA1] = { > .supported = ALGO_SUPPORTED, > .auth_alg = SAM_AUTH_HASH_SHA1 }, > + [RTE_CRYPTO_AUTH_SHA224_HMAC] = { > + .supported = ALGO_SUPPORTED, > + .auth_alg = SAM_AUTH_HMAC_SHA2_224 }, > [RTE_CRYPTO_AUTH_SHA224] = { > .supported = ALGO_SUPPORTED, > .auth_alg = SAM_AUTH_HASH_SHA2_224 }, > diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c > index e2cfc07..d253b8f 100644 > --- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c > +++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c > @@ -97,6 +97,27 @@ static const struct rte_cryptodev_capabilities > }, } > }, } > }, > + { > + /* SHA224 HMAC */ > + .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, > + {.sym = { > + .xform_type = RTE_CRYPTO_SYM_XFORM_AUTH, > + {.auth = { > + .algo = RTE_CRYPTO_AUTH_SHA224_HMAC, > + .block_size = 64, > + .key_size = { > + .min = 1, > + .max = 64, > + .increment = 1 > + }, > + .digest_size = { > + .min = 28, > + .max = 28, > + .increment = 0 > + }, > + }, } > + }, } > + }, > { /* SHA224 */ > .op = RTE_CRYPTO_OP_TYPE_SYMMETRIC, > {.sym = { doc shall also be updated for each of the new algorithm supported. Also please rephrase the subject as crypto/mvsam: support for HMAC SHA224 Please change the subject for other patches as well. Thanks, Akhil