Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1035653AbdDUFr0 (ORCPT ); Fri, 21 Apr 2017 01:47:26 -0400 Received: from mail-dm3nam03on0070.outbound.protection.outlook.com ([104.47.41.70]:63120 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751215AbdDUFrX (ORCPT ); Fri, 21 Apr 2017 01:47:23 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: George Cherian To: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: george.cherian@cavium.com, herbert@gondor.apana.org.au, davem@davemloft.net Subject: [PATCH 0/3] Add more algorithms and some misc cleanups Date: Fri, 21 Apr 2017 11:16:03 +0000 Message-Id: <1492773366-17899-1-git-send-email-george.cherian@cavium.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0063.INDPRD01.PROD.OUTLOOK.COM (10.164.136.163) To BLUPR0701MB1699.namprd07.prod.outlook.com (10.163.85.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 08461b45-d97d-46a6-5cf8-08d48879e08a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BLUPR0701MB1699; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;3:nY6wwq1PxwpDId7NC3ZaRj+4ifMTvz4KUu737DExDyo+eqp7fL7VJVWRNfQbt9w3g5HQPvhfJ9EXmwTW7fR0KnpRyOvO+Td5zWbMUZynF5lYSgW83ZTaNn+cuAzQHc9pyIqsPJ7TpQOI3uqnlK/JEMu0WcGjHjERTVMNnj8C/7wkT4eIuwEwHtVkZTskY+gAF7HTWZtmkLkIjHypoQhBL86m/LIy9HB9naEFX7iwwb4YKkQnV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uG0EiJyG2KnRwDWHH4r3P08L+WEhF/yGZ7g6DywHDS1fftcJokEuJ/uUw4GQb6M6DliOl+HoS0mVrNmqt8HWZPw0RHbKv6NENaOQOrb15szdfeJdD5kuTxwDC8olh3u52Gwq28SbmYbQkFjBe+xmiB22mbP6KH46XpU2A0TJGuSXTWrur3esFrgF1PO/vA5Iihalfh3I6Getl8/IljpZbESlO13qpXPa9rjsL1ov9OtHOw3hpq/8qWj7XtDBn+Mx3VPoJeJE9 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(6072148);SRVR:BLUPR0701MB1699;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1699; X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;4:mtSWO2UIkTMv3cn0/OAInXo8YSm9XMDJ70+liAEQBXw1LksvIuKs3ZkB/MOz/aPVjna/FsQJBI3isv5npoAqgNKJnYjRfZviUVPyGm2mr/ehfHF2bDJc11+kynN02k0IraKcn6/rxiaip10gGMG+JEYawJznduOTUAkkogmCecjaU9fKsvZyCJuruQpVQ3fP93lXhmvEGgFCqERdi+HMDhp6InH3DlEV5HvgDXxL460qU6eDLanwKYo8zTOz1FkxlWMccnh0geXGw/GLgqxu42946wMRnbgFCm8SRBuBSLY2Um8rlwrFSXfMANlU/4bjwltIKKmZFwK8uqA9x8FlHFDuEpxuk1qtKi+81mVloV/nOK5XRuoQ6PTT7XqprwXsEwbqRU3OHVYdwpqiZcPuVut5TwKv8+tNJGDag/Yl3XOxCrlZuk/tdBY7dkb15cAwT0zduTYZl4gIU3VHhZHHYi3R/QqJ9oSet7a04FGf3W67t9p7UtPCe/hugUcE5JHldfv60ntF0PGMAzCvrVdNelmiVwe0It6upY0RJ0UQF6dv0MfOw6uE3WZ511zvlFeguRvZamJRh7ofTYkJ317R7NVLGtGWoP2rT6h7BitX/qsWoFuzSs1/wNX5/y58Fdxy7/giXgijjVhuY7Yb/gkEy5oPpLpVtQiQK2k0ssNrjeUed4SNqBLczUqXzKW9hs+BGwlZYxfW/JPzxrvFeWhBeA== X-Forefront-PRVS: 02843AA9E0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39840400002)(39850400002)(39400400002)(39410400002)(39450400003)(6506006)(8676002)(305945005)(42186005)(7736002)(48376002)(86362001)(189998001)(53936002)(53416004)(6486002)(3846002)(50466002)(6512007)(6116002)(50226002)(5009440100003)(36756003)(66066001)(6666003)(50986999)(5003940100001)(33646002)(2906002)(25786009)(47776003)(5660300001)(4326008)(38730400002)(110136004);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR0701MB1699;H:ubuntu.caveonetworks.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR0701MB1699;23:uyUpviXRf79e3L98RqIRhNzHwbIjdJoSOVstrh6?= =?us-ascii?Q?iy8PcNO68XvxFvuRJLWPB7zHvHPio/aYQUL+zo+6QSjOIY38z27qc64/G8Qr?= =?us-ascii?Q?Ru2dtk3wYWRIxLcoPlYg4LM1MOZFOMDigPtDtF2K/onA6VkOqBMartAStzRx?= =?us-ascii?Q?yeSWpvAxA+BADvjgGq7nyj9d82EZFkSiRVfdFORd5xl/RSu+tDhA5cYDTAAw?= =?us-ascii?Q?3C22jBOrW56ws1yCqt4MQTcIkvfTrFIL7Q0fxzokHi0d7jHA1663v4N7YVxU?= =?us-ascii?Q?GzBGIh4gKW5Up0+Z2rjTDxTdV2LsHgCV8PRCMk0edZ3MSuKxwM4Y2/US3w0S?= =?us-ascii?Q?Z1iGEuatdgMWNIUuX5WjQqt2vm36vIQF0t1gfrHotQHUFNhWya1Lfi9xOEW2?= =?us-ascii?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3/IFK+uNIEVxzAJB83X8CUzgaWC1lhbUZ3jcKVbATIdCGdkbleBNK2gseO3JwVCdS+zVZtfrh6BDX0L82CsP4yBKlLeao4jy3jRbu76GQlQPW6uP7s7HT0xJXb6Ljft4WuB0SxsaEx1mk5Iy41Zak4T8CDT0+t/GcDxKIcFWIY0LY7oW1flClKWOOOfj+ONygrbUZT8QCUwpmpm7siDA==;5:JbPqU/CVEgPwW1pP6dO82n6qxh3h+t028Ftlf8Faf4l+WbVGsi1dfZGACbU5wh8OF4wArI9EXfaJM2ql7YzQrafIfjIBqYl6mTw7wyxBBBXKOIUKvBJwcff8OiRJhJc1qPDRMiBnvQPIhFtl9ihbBQ==;24:JUq7KWspDLAQz09CYixKNwKEOuS8G5NziklSCdMB8FXyBYLhyVUTy3qKnAVheWVZjL2b4TESMqH5LooLi+ZbDttRJPpM/uEJAEjPiN6LnGM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BLUPR0701MB1699;7:2b4EYZpTPWsKqpCM1Bbzpyqv7TVQ1n5hcO4V0eI4Dydsecf3wjUPOTZPZnLmKKRjm86GQF5WZ0gMDXWH/fS+OsIb0OBRk/xJX5cH4m+yl1AUpNcYmy7meihNRIjqdhYdB9BXSva85n6x5voYAmCgkHE/clKfeyidB7KTBlttM3iIPrsN9XqYDDaILnCQXyi+IG34TVHFMeHZWWUh9ojNDV8zOBnQtcAPwfYBSrAxHFcdD5nIPDMZYLX3X0eC2e76ha97GPUzNVTsBZFZhY5VOsbqbVydDknFhy9f0u3VRKhFqneE+HIju4OLMYsYKYt+qAke+wsr82OJ3jnk6owldA== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Apr 2017 05:47:18.9572 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1699 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 606 Lines: 22 This series adds more algorithem support for CPT. Add support for -ecb(aes) -cfb(aes) -ecb(des3_ede) Some cleanups too. George Cherian (3): crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg crypto: cavium: Remove the individual encrypt/decrypt function for each algorithm crypto: cavium: Add more algorithms drivers/crypto/cavium/cpt/cptvf_algs.c | 196 ++++++++++++++++++++++----------- drivers/crypto/cavium/cpt/cptvf_algs.h | 7 ++ drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 3 files changed, 141 insertions(+), 64 deletions(-) -- 2.1.4