From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-SN1-obe.outbound.protection.outlook.com (mail-eopbgr700053.outbound.protection.outlook.com [40.107.70.53]) by dpdk.org (Postfix) with ESMTP id E7BCA160 for ; Mon, 23 Jul 2018 16:46:35 +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=yu2a9N5WF5YyhJAuU0BSn3ePCrdJlQmDnKw6uSLFLoE=; b=G95iKogR8vk9o657zXZEmr++RMknkYxjMxux5SX7SrOY7Njk7rQ9wdARRbLMMHoFc8JR9CMHNNIzkXdyC+eCdST8MTZiC4aqH2CUZhIvi4965iGxNHcl4OdyPz/+0DNjDhhL7yNhHxQi3taw8xZNe+jwnZeDKZf7ayDHgVOis04= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; Received: from hyd1sverma-dt.caveonetworks.com (115.113.156.2) by DM5PR0701MB3640.namprd07.prod.outlook.com (2603:10b6:4:7e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.20; Mon, 23 Jul 2018 14:46:32 +0000 From: Shally Verma To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, pathreya@caviumnetworks.com, nmurthy@caviumnetworks.com Date: Mon, 23 Jul 2018 20:16:02 +0530 Message-Id: <1532357165-8575-1-git-send-email-shally.verma@caviumnetworks.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.2] X-ClientProxiedBy: MA1PR0101CA0020.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:21::30) To DM5PR0701MB3640.namprd07.prod.outlook.com (2603:10b6:4:7e::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: df7179bb-6e53-4966-f1b6-08d5f0ab1627 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DM5PR0701MB3640; X-Microsoft-Exchange-Diagnostics: 1; DM5PR0701MB3640; 3:Y0YuHWRPy+rQvzP8SxNSNefLIb28HHfuoG3aLdnsnMMID7BwHHiTqTcvAgzZqQwpNVSpxrIFInBzjKwPdCrjeYV0Y0SOLJJnKdUqK2RcMYfjwlbO9B8vPVy+N4mPEWjSFpGGWZUV8+Z76aJ6Yap3F0rAfffCuCH1/xn9uVQzfPZ3Lss+MKtkvwUbhOucVtVDvhXynA8cFcH5OG+kHzqZytYKWmKpl3A7EnVI6EZiq8mqP/U7j+U++TKgjFZtQ+cg; 25:9yGEVI+i+pJTQRT46frGc8aNHNWXi0KzfNn67seBgIbvqlNUS5EyhV65Z8LDhDu6oSH4BMnmvmxckeC1nEPj8e3B8b5bDoRwEaE7BMWe6NTqolpbFtrVl2OE7KQsQmfh9wNv6wXO7DV6y4ef00BZYJvIq3W1PIGo7vj0Bc2eqdewz0C8n2+y49rC1txqhlIR3Xz/dU0P65zk5OWmv5cOV6zyJbYKqd5ZoddvdH8SINphkJdvEYlCLeOgBJR+C5KDXzck5Fwt4Frw4eNMgKCUz+bV9WVIA3ssd+ELy2felMSa+kSKvQms230L2/KEeoLVRiV8oC7Y6Cl2RwbYw7dmlQ==; 31:zAPDDSh3LTURmIWlDCTzmZdcN4ndh/lCVRRD/Ggomvo8DoQiOR0ne6mlgfAVf5svQiaTXOH7erQhYQ/gjA7KGXN8M+uBeulbTuPXocdO+WxBN5yliKsfcaTclULTYVfew3yAvrYzHbvWfa94PfHwS1QOLO9hADO/Syeg47YfwqFJlDyJpdvyOg+yZH3E3oMxW6h7EO+QD8nRrPT7VdhZssCBbSoUYMv1tTMiALnFzug= X-MS-TrafficTypeDiagnostic: DM5PR0701MB3640: X-Microsoft-Exchange-Diagnostics: 1; DM5PR0701MB3640; 20:uHijzMYluOIcmvPyGln3xpF9qhAGfjddIta/A3xZ8PYAbL6j54T+gPt8Ge9eXHes69KEbEWDg7pzMUaUSFWty9tNcQqW+gOnufKtVG7jc4sWDIx+89ykihrlnPar5rAmIKaIgQgXTg8DW3JK1chbxBx4D58nK29TG0BJ34OUrUP6E9bqi0NIJAWE7jAlVCN6fhsRQtVSRrwJgtP85lEj4Yv1+r+y6gbUmTqKqQSBMyGvO3ErVzo/q6aMb8hMqbGfqQ+3T+7iJDREhpVaM0ZiT30ygRXe9kRrskwPeCMm73HS9S0Ec2CasPLFDFNS+iA65UXE536FapXKMlqtH336bS7isAWAGD452jhhrmo/OQd0DFx6t453BDCJGLtzuQXe6Ec5QCHgzN0bfw6Vz2lhNJtmEQcr7diqn21kOW9GJ8WP99NM02tPcwDcLP5CDHBi+slQiGm4O1JDdpTomH/5YAUY3ERpq6ND3YRGPI/iRnz8VY93eeq22F01V9p7/JKtI+oGpEOqOE0AvonBv+rUrrYKFWi14iW61U4Noy+xTb3xfR+vbu16wVkuwY+V4OPDmUk/ItAjPMv5pakB3EIEO4saSGZHIbfZEO8bcnMdFYQ=; 4:OcavtD8H9J5jvtUCSZVbDpheE+BFAoASqPl7xc/igLy4MlmtPE5Fcvd6BLoSEe6m6lh5JGcplDQrRfWaAHFpB7RiDFeWHBrh96sdvbJBbb7xqxTPF5nDZXvjfSHjuoMD0iB7eMJ03H2nvc8LIcSPHyrJK3W7LxQsSdcIBSumuaCwOb+3qpaW9kVhUeYmgxHI5Hbx2PHGTBDAzIZQjUOOonxuhgRtLSa3CBUHAFtGN2RoTCxIm5t7ThW/5qm3DliSkSs13QtK/Qscanl+mVJ/yg== 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)(3002001)(10201501046)(3231311)(944501410)(52105095)(93006095)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DM5PR0701MB3640; BCL:0; PCL:0; RULEID:; SRVR:DM5PR0701MB3640; X-Forefront-PRVS: 0742443479 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(366004)(39860400002)(136003)(189003)(199004)(6486002)(42882007)(16586007)(478600001)(305945005)(50226002)(50466002)(5660300001)(7736002)(476003)(48376002)(36756003)(44832011)(8676002)(486006)(2616005)(956004)(3846002)(14444005)(68736007)(47776003)(72206003)(966005)(6116002)(97736004)(316002)(69596002)(107886003)(4326008)(2906002)(81166006)(66066001)(81156014)(2361001)(8936002)(25786009)(6306002)(6512007)(53416004)(26005)(106356001)(6916009)(105586002)(55236004)(186003)(386003)(52116002)(6506007)(53936002)(6666003)(51416003)(2351001)(16526019); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR0701MB3640; H:hyd1sverma-dt.caveonetworks.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR0701MB3640; 23:IkBv1oC2vTgDsMZRXB/66HxfiRWpfXU+ZwH2X4I?= =?us-ascii?Q?nvAqv6JBqQnzlgDqdRKCPSwSV+N3dPtV8/hqenNSkIfzYbHxSBIThxyKE3AC?= =?us-ascii?Q?nOIoU0gpnb8Ot2nk4nqZlGx++Y1HMOipwBo+/80q4G13RuALrEAXi/P8w0z1?= =?us-ascii?Q?rJkXgYvTYI6J+AEHUW/mRbYdqNheV6BinXfgkd/dwXXeg89XwvLH6OJsCIqA?= =?us-ascii?Q?ZewiIiU7vjSRfVuZngDOp7q008XbqLwSHaNLyZKmJ1p8AAdDwHIwONozSMkX?= =?us-ascii?Q?PccUePg1zTwL9xj/C7Dn6zVjGnERFFy9E13nbLogGgKk1O6RMQUc66r64Gad?= =?us-ascii?Q?R6EWTCPRyXMJC2gL8iU8x6oNHjstgm9Rsvfxv8ysQKpbj5mUP/ay+zFzSIlq?= =?us-ascii?Q?HpbRCDlhlWASxoRkX42YaqI81wx+6dGRATXLNRfwiPCcHxe6d/6JRPUhRZOU?= =?us-ascii?Q?YBhmMKoIVBWG+ThudvSbCzjBriUFkAjtpOK2tSqcSGwc87e46rwA+s0JTTKW?= =?us-ascii?Q?1M0Jaq9ffAEDrkImfSdXcfDCAue8s+285HJs4l+mLZllYvrUmEmfHK669d+R?= =?us-ascii?Q?UpSIBqrGo479KCYFE5bxmQV6tzvVJ3h95aHESIEb9nYL6DF+7Qn+QPxUxe45?= =?us-ascii?Q?faSQcp4UhDP2+5TSNWU9y1SFi97+DobTMfal4xga9I1qjhHqW/78TG3DEGbE?= =?us-ascii?Q?zYhUmgg9aSvMOs+9IO/hFK6WmayL6cDcheqQXR2PfQ6ZUEyv6X2pu0P9KCfY?= =?us-ascii?Q?k7QnwgMm3P34oZ341anajzPxmKoeYZYe44uqylODmG8EfsskEDhjeRfmi879?= =?us-ascii?Q?8NtI6e/YwhqtfmTponhYmcNfulH1YcraZNEmKZ+tKnVPdabcsHcQswMYWcAe?= =?us-ascii?Q?piiNpOkjR9auZI1nzx6jrsGzGb06R9+f/FQ1tg2Lb+0drQy/UzN9PGdFZJcn?= =?us-ascii?Q?8osrafkgmC7kGVV062H2u8kb61CDUuseUV22d0Sxue9lwmnqk7CpMXmUlEqV?= =?us-ascii?Q?IoZOgqzOYRlAAgt7hw++WoU8RpV53HEYIVwSkZ5NTu3QtSTxS6wQ78eBTCLB?= =?us-ascii?Q?gsLdfrCUMNp37drO1BvOgIjPYX1CyZTCXE6icBqb4iyopdb9nrwpl0SPHBs/?= =?us-ascii?Q?y4zKzfDFYeLjsyyiiLxPffRM0opqFKt5TSfPW6V31l698PYwDFC8kbwMdg5b?= =?us-ascii?Q?+baU0WRawdOBybsaDOUH1BAi+QaYLz2btJWz4mvbc5kSkQ261rISoPC0Qm6r?= =?us-ascii?Q?V1xVXJgLNa8j/Ho/mmjIY9f+1TaLjjyvhh3QVr5rq+G5X92VGeDAgPY7ndCj?= =?us-ascii?Q?ZCYLXSZM3JQrllKWGc7N+u5/7zAflorHK/s5Vezn6UqAh?= X-Microsoft-Antispam-Message-Info: rbAfKb2QPHqzRAWH3BIGtPqdXTbXLmvPTX58tAukDUjeltyi7ql0wlTBHeJiewNztI/hu23agBckJaAz1L3q7uQowusX21QIpMrBfFhjMyVypl+1Txlzt3mKr+W34Goq+N9S/GLUjs5Gm1mF06DQat3Kz8PruK46kgtkCgWhnBmUNxMak4jgn/44RZCGIU9ale/iZBS5HjTveW/Rvl6vZxWT0HlL0OvdvNMtIDdaAtSR5hRvr31XCz1k/e4c2k59DGqlsdG1whlYQDWoclkRvbccKv68joxdpte8YFtI9nMXjDQveO714NUVY+jB+GuSNX5PYnXJ2eAfg5H0vkgikvEkJwZbvNXC9jyfSe7ep+Y= X-Microsoft-Exchange-Diagnostics: 1; DM5PR0701MB3640; 6:WmpjJZNS5vhtCgQbqresuwoIjNcEGqR0EJph1dJKa+9GlewnhoJjI4LxtnQku9PFND+Sa2nIbznxERfRHUWSPRBs4VWIzRHJdf8Wvuzqu13BiOu+8NDCEHaI+TWNdUu53tif2vHw/btO577hM/icO4lj7UOOqhWkbM9GDKWseIGW/M0P0l3OOT1elKNFf0m1y55buWcJNCZSyi9KHJs66S86HPIAIrrNeS2KvTLLPJqFj3tBrgWLfURp9x9SI4R+Wnqsr4LsTVSTA/m7P4do3fney9YxtEwufgldZ0K2LtDyRnsaF8+m22DAp73u9m3CFAGiKqp+sS8AyZdsxzfXjV3WTaks+xyNwA3U74CLtfBqvUiyc73+lAF3dKYcYcvPrJmZuJWOQSAQ3DRkXPli/T9M/1Q/Agd5D6taTF+Lc5y5vLmziHUFcU3cb9F1YCrhXSpb6uaiWPJJr2bkGvc1Hg==; 5:MtpND0xI1x9ka9x990/JIoUvqeLjxLBl+Kr4W908tJ03BqF7Vp2Xggi5HKj98v3Su1KysdPj5qucc7VLuibQeaGQ5mExo1+7CnozHY/Y8abf0MhwvARBKbcA4njKBMytGBI9pkyaVF06TZTx5PN5BvlTu3w+wkMLAmvKLXXVqC8=; 7:n6aQC3cmHE/GKST1r9t0h1lw5NH0vP0/GkTKcifAcksI+0VYn9NxP8tR9cUhD+/OKR//et+6b74OFpE87UtlK5teANDKsO8DGD9VfEI/Zz49i1HI/O3KRYz8AdChEEMeanwdfpygQOug69Kk3DENfKjTxBHT80mSbTDZ1IxOm4oYDV/+JgAuRV2BcfbjB+84ZAyOYK2w3ChWLUojBOd7UMfhbIazpyWkDtx7wj05Eq9IbcJOuxRQGFwa7WQHrJk+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jul 2018 14:46:32.8762 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: df7179bb-6e53-4966-f1b6-08d5f0ab1627 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR0701MB3640 Subject: [dpdk-dev] [PATCH v5 0/3]crypto/openssl: support asymmetric crypto 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, 23 Jul 2018 14:46:36 -0000 This patch series add asymmetric crypto support in openssl pmd changes in v5: - fix -Wimplicit-fallthrough compilation error with gcc-7+ toolchain changes in v4: - add openssl 1.1.0h support in openssl PMD for asym operations. - A compat.h added for PMD compatibility with both 1.0.2 and 1.1.0 - update openssl document with asymmetric feature support For further history refer https://patches.dpdk.org/patch/40079/ Ashish Gupta (1): doc: add asym feature list Sunila Sahu (2): crypto/openssl: add rsa and mod asym op crypto/openssl: add dh and dsa asym op doc/guides/cryptodevs/features/openssl.ini | 11 + doc/guides/cryptodevs/openssl.rst | 1 + drivers/crypto/openssl/compat.h | 108 +++++ drivers/crypto/openssl/rte_openssl_pmd.c | 468 +++++++++++++++++++- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 528 ++++++++++++++++++++++- drivers/crypto/openssl/rte_openssl_pmd_private.h | 28 ++ 6 files changed, 1132 insertions(+), 12 deletions(-) create mode 100644 drivers/crypto/openssl/compat.h -- 2.9.5