From patchwork Wed Jul 27 00:09:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary R Hook X-Patchwork-Id: 9249127 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6C1DA607D8 for ; Wed, 27 Jul 2016 00:24:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 58F6C26B41 for ; Wed, 27 Jul 2016 00:24:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B24D27BF8; Wed, 27 Jul 2016 00:24:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C38727BEE for ; Wed, 27 Jul 2016 00:24:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757361AbcG0AYJ (ORCPT ); Tue, 26 Jul 2016 20:24:09 -0400 Received: from mail-sn1nam01on0057.outbound.protection.outlook.com ([104.47.32.57]:58553 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756926AbcG0AYH (ORCPT ); Tue, 26 Jul 2016 20:24:07 -0400 X-Greylist: delayed 867 seconds by postgrey-1.27 at vger.kernel.org; Tue, 26 Jul 2016 20:24:07 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=b8Rauu6hY+U9HuB8QxjgT0PlZ80acAzva9MrnvyGfac=; b=YKzQKIENxVlmvSwQlI7ScTNN0iT2VI7TvS+VSicCtBPFRQWpnBoBCDI+MHPn72ts2VGjdymlkRAESG/oC8yVW4fvhazQYFle+IWx6KKqEsoJkxD6K6X6WpUqiCcVBZccPdCr5r6GgfyTkvKnnfNNdBpqVJB1jLSzsg6yZUeRvOk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.19.42] (165.204.77.1) by DM2PR12MB0345.namprd12.prod.outlook.com (10.161.146.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.15; Wed, 27 Jul 2016 00:09:34 +0000 Subject: [PATCH 02/10] crypto: ccp - Shorten the fields of the action structure From: Gary R Hook To: CC: , , Date: Tue, 26 Jul 2016 19:09:31 -0500 Message-ID: <20160727000931.24944.8322.stgit@taos> In-Reply-To: <20160727000652.24944.44919.stgit@taos> References: <20160727000652.24944.44919.stgit@taos> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: CY1PR14CA0036.namprd14.prod.outlook.com (10.163.13.174) To DM2PR12MB0345.namprd12.prod.outlook.com (10.161.146.28) X-MS-Office365-Filtering-Correlation-Id: b464a035-cf5e-46c9-ae32-08d3b5b24a96 X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0345; 2:qpz1ayeqbFPJcZ1f8EHYi9S1u2v5JbdxR50D5KXd9Y8vbNJXlb5Y6Su0tIEmHCq1dHBtnA3yJqMMt4fTEgzXMeXHA34w8wj9U7ATAEEU0TbbEgswZvWjGWBWOGCkX7J/4xuQnm985B6GAgUn5SR5m5rn3ln06Rb18ahtdFziPqcv5rWkWSXzeqJPKe+n28H5; 3:TzdySy/0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SDua NjkYc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:DM2PR12MB0345; BCL:0; PCL:0; RULEID:; SRVR:DM2PR12MB0345; X-Forefront-PRVS: 0016DEFF96 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(979002)(6009001)(6049001)(7916002)(189002)(199003)(110136002)(8676002)(189998001)(81156014)(97736004)(97746001)(77096005)(83506001)(23676002)(66066001)(2950100001)(7736002)(7846002)(47776003)(305945005)(81166006)(4001350100001)(9686002)(68736007)(92566002)(86362001)(42186005)(230700001)(106356001)(33716001)(54356999)(76176999)(586003)(19580405001)(229853001)(1076002)(2906002)(19580395003)(4326007)(33646002)(6116002)(103116003)(105586002)(101416001)(50466002)(50986999)(2351001)(3846002)(2004002)(71626007)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0345; H:[10.236.19.42]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTJQUjEyTUIwMzQ1OzIzOmNLTlliVTVTZ0p2Y0t0Z3Q0cEx0OEhjdHRQ?= =?utf-8?B?TGp3MDNxazZaVHNOcUw0MUNTdjV5QmZhOStxTDRkbU1BRXAwWnlZZDhRZzNm?= =?utf-8?B?YjdabE9nVkxGbGpsbWhqUithcGMyUnlPY0FacVFmSkJpY3NnRFNMVVdmWmZS?= =?utf-8?B?cXJZd09VekEwZWpTK0o0KzF6U2cyeEUrT0EyWW9RazRlSHl5ZjFIM2ZJOUJo?= =?utf-8?B?TENoOEFpWEthdVFGakdXalhXVWlJMitSMWhjL2k2WkhFbmU4WStjQ0FkQzFK?= =?utf-8?B?bWFsdX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8aIbwPxPtqnfL+oYNaI8fYVR2cLwr5ve6UAB4CSjB2QWysxSVzL5sLZw8IFL02uk/04WarGZfMPR0obFA45c1qqA==; 5:u/GtA9NGsvhrx4uPuDEeickST4FqmYHULXwHCfjiPC/b8IVc9fNh76nxVX/FpcsAdKFk1E8KzzmoZ53piqIcbFffev/5LqolToAcYfs1f7XA9BJeUDi9afETLkt6I9EpMxyBEvM83dHJukIJFmN8hQ==; 24:mVpnOkIoPH0wnf13qLQEr80wQuf9sRuisXJ6glt5wetBgE83e/h+4A3EyIIDDSDCABsuRBibEYj5o3i+wXnxRlrDO8Q2qbHOP2DYg807SvQ=; 7:+XaPLCKN/6JYV74e7aW0BbDDs+QYqn15kUXOsbsO5tyxzPt4UbDmC8cUc6bsjT8eLcpPv40aGw8lwprdm/htC+ZDg3EkmEAFOW7niT0mS5sj3ff5kU3sSLSTuxm6ijJVoUCa+K0Ycv58BF7ou6JI3Ynajb+PWtgkoqOVoAFKkDm16gB5aBS8Q3t/zPm4aJkLwi3IJr5EIzhlR7k2+xt64RcOyDmNbTjEK4lKA55G4Yj1lVzShVcnBYyAQZdy0W7U SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0345; 20:qmQj64E/G8z00uSnjrR6DpBD+EeNV9XZE3FNoiVB2OMU/BZfX5WhckTg3cKCsSy2OFC+pmy3k3dbCH7WC2aoHLsD6+L7eDnE+7JzptSkriGYfH04AuFBHEKRgPrZ9ys3ZKczdzds/Rq+Lv3U1lCMJxLrznUgT+23L0zcfzBrOghPJACnHcNC1ksF6PgA8UnQWHfXDEEX79GpGNcMf0ooD0Oq+TCvvSk8VsW4aaSzOvWLlCt/CR5FDdSBHEL2j8sX X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2016 00:09:34.6354 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0345 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use more concise field names; "perform_" is too verbose. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-dev-v3.c | 12 ++++++------ drivers/crypto/ccp/ccp-dev.h | 12 ++++++------ drivers/crypto/ccp/ccp-ops.c | 21 +++++++++++---------- 3 files changed, 23 insertions(+), 22 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/ccp/ccp-dev-v3.c b/drivers/crypto/ccp/ccp-dev-v3.c index 2f7f3c5..1a94d2e 100644 --- a/drivers/crypto/ccp/ccp-dev-v3.c +++ b/drivers/crypto/ccp/ccp-dev-v3.c @@ -528,12 +528,12 @@ static irqreturn_t ccp_irq_handler(int irq, void *data) } static const struct ccp_actions ccp3_actions = { - .perform_aes = ccp_perform_aes, - .perform_xts_aes = ccp_perform_xts_aes, - .perform_sha = ccp_perform_sha, - .perform_rsa = ccp_perform_rsa, - .perform_passthru = ccp_perform_passthru, - .perform_ecc = ccp_perform_ecc, + .aes = ccp_perform_aes, + .xts_aes = ccp_perform_xts_aes, + .sha = ccp_perform_sha, + .rsa = ccp_perform_rsa, + .passthru = ccp_perform_passthru, + .ecc = ccp_perform_ecc, .init = ccp_init, .destroy = ccp_destroy, .irqhandler = ccp_irq_handler, diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index 8824e41..46d3ef3 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -149,12 +149,12 @@ struct ccp_op; /* Structure for computation functions that are device-specific */ struct ccp_actions { - int (*perform_aes)(struct ccp_op *); - int (*perform_xts_aes)(struct ccp_op *); - int (*perform_sha)(struct ccp_op *); - int (*perform_rsa)(struct ccp_op *); - int (*perform_passthru)(struct ccp_op *); - int (*perform_ecc)(struct ccp_op *); + int (*aes)(struct ccp_op *); + int (*xts_aes)(struct ccp_op *); + int (*sha)(struct ccp_op *); + int (*rsa)(struct ccp_op *); + int (*passthru)(struct ccp_op *); + int (*ecc)(struct ccp_op *); int (*init)(struct ccp_device *); void (*destroy)(struct ccp_device *); irqreturn_t (*irqhandler)(int, void *); diff --git a/drivers/crypto/ccp/ccp-ops.c b/drivers/crypto/ccp/ccp-ops.c index ffa2891..d102477 100644 --- a/drivers/crypto/ccp/ccp-ops.c +++ b/drivers/crypto/ccp/ccp-ops.c @@ -4,6 +4,7 @@ * Copyright (C) 2013,2016 Advanced Micro Devices, Inc. * * Author: Tom Lendacky + * Author: Gary R Hook * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -478,7 +479,7 @@ static int ccp_copy_to_from_ksb(struct ccp_cmd_queue *cmd_q, op.u.passthru.byte_swap = byte_swap; - return cmd_q->ccp->vdata->perform->perform_passthru(&op); + return cmd_q->ccp->vdata->perform->passthru(&op); } static int ccp_copy_to_ksb(struct ccp_cmd_queue *cmd_q, @@ -610,7 +611,7 @@ static int ccp_run_aes_cmac_cmd(struct ccp_cmd_queue *cmd_q, } } - ret = cmd_q->ccp->vdata->perform->perform_aes(&op); + ret = cmd_q->ccp->vdata->perform->aes(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_src; @@ -772,7 +773,7 @@ static int ccp_run_aes_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.soc = 1; } - ret = cmd_q->ccp->vdata->perform->perform_aes(&op); + ret = cmd_q->ccp->vdata->perform->aes(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst; @@ -937,7 +938,7 @@ static int ccp_run_xts_aes_cmd(struct ccp_cmd_queue *cmd_q, if (!src.sg_wa.bytes_left) op.eom = 1; - ret = cmd_q->ccp->vdata->perform->perform_xts_aes(&op); + ret = cmd_q->ccp->vdata->perform->xts_aes(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst; @@ -1094,7 +1095,7 @@ static int ccp_run_sha_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) if (sha->final && !src.sg_wa.bytes_left) op.eom = 1; - ret = cmd_q->ccp->vdata->perform->perform_sha(&op); + ret = cmd_q->ccp->vdata->perform->sha(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_data; @@ -1274,7 +1275,7 @@ static int ccp_run_rsa_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.u.rsa.mod_size = rsa->key_size; op.u.rsa.input_len = i_len; - ret = cmd_q->ccp->vdata->perform->perform_rsa(&op); + ret = cmd_q->ccp->vdata->perform->rsa(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst; @@ -1399,7 +1400,7 @@ static int ccp_run_passthru_cmd(struct ccp_cmd_queue *cmd_q, op.dst.u.dma.offset = dst.sg_wa.sg_used; op.dst.u.dma.length = op.src.u.dma.length; - ret = cmd_q->ccp->vdata->perform->perform_passthru(&op); + ret = cmd_q->ccp->vdata->perform->passthru(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst; @@ -1484,7 +1485,7 @@ static int ccp_run_passthru_nomap_cmd(struct ccp_cmd_queue *cmd_q, op.dst.u.dma.offset = 0; op.dst.u.dma.length = pt->src_len; - ret = cmd_q->ccp->vdata->perform->perform_passthru(&op); + ret = cmd_q->ccp->vdata->perform->passthru(&op); if (ret) cmd->engine_error = cmd_q->cmd_error; @@ -1575,7 +1576,7 @@ static int ccp_run_ecc_mm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.u.ecc.function = cmd->u.ecc.function; - ret = cmd_q->ccp->vdata->perform->perform_ecc(&op); + ret = cmd_q->ccp->vdata->perform->ecc(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst; @@ -1739,7 +1740,7 @@ static int ccp_run_ecc_pm_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.u.ecc.function = cmd->u.ecc.function; - ret = cmd_q->ccp->vdata->perform->perform_ecc(&op); + ret = cmd_q->ccp->vdata->perform->ecc(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst;