From patchwork Mon Feb 27 17:10:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary R Hook X-Patchwork-Id: 9593633 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 7C237601D7 for ; Mon, 27 Feb 2017 17:28:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6E9072848E for ; Mon, 27 Feb 2017 17:28:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 62BA228492; Mon, 27 Feb 2017 17:28:41 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 4682B2848E for ; Mon, 27 Feb 2017 17:28:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751586AbdB0R2X (ORCPT ); Mon, 27 Feb 2017 12:28:23 -0500 Received: from mail-by2nam03on0084.outbound.protection.outlook.com ([104.47.42.84]:1088 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751338AbdB0R14 (ORCPT ); Mon, 27 Feb 2017 12:27:56 -0500 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=A5s71N6/8BXd93VfuCeoB4FjxPQRvJ2obpTaxNVziq0=; b=ScGqcnNn0qSYrLUHQuSb9LzmzWRsszBIOz1DWXD/Do2vUwciKt/+xWAIMXwUzEqm0mEpCaklZ+HHJJRvnuyrWD4+YyQrsIysNl1P+MiJrIuAsAq1r+P2CUzAPjYoOAsXGpSmKNg1FakH97QxxAsYPOmDkw/2Hze3sE+O2doSS9Q= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.19.42] (165.204.77.1) by CY4PR12MB1397.namprd12.prod.outlook.com (10.168.169.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.933.12; Mon, 27 Feb 2017 17:10:51 +0000 Subject: [PATCH] crypto: ccp - Reference the correct structure member From: Gary R Hook To: CC: , , Date: Mon, 27 Feb 2017 11:10:45 -0600 Message-ID: <20170227171045.28039.10586.stgit@taos> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: YTXPR01CA0012.CANPRD01.PROD.OUTLOOK.COM (10.165.183.150) To CY4PR12MB1397.namprd12.prod.outlook.com (10.168.169.18) X-MS-Office365-Filtering-Correlation-Id: a1e41416-c9d4-4843-b45d-08d45f339596 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:CY4PR12MB1397; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1397; 3:ui5ZDGIGfpZjxpOAuFouwodJfcWLb+zRryFntdYkQkaRpGlYN/9HkZNgkw9CQEz3meg/IXIDav2IllXC6nTPAVjP3NxePu82QtPgIdqPSjCDPTTbllOZiIZdbTMZBAj/h9JlxD1Lev2CF6u9HsNeL1FQzcM2ymIRqfO/KEZHH6wMw8iQR5r2ggvzwKzcxx4loGOqszJEcJfQCOaShSLPw7Gw+sP8ms2Ekog7HAre9bHFn+VFXB2awp2T14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qFdAFJCsRfFsegf3BDs/6nuxsB7edTPwCPjapiKyWeYzavjVGxqVcPOYMvY80hVVvwKW7jYk2039SO1cAmbMEanxgqez3w8K1ZJN3LNWpP/VfVwIrXQXGMAFLuuqTWLrQ5nwI+CXPIJW/SshxLXYUjdIA8lvJaNYwOvKzR+T7gfyg/Tecea0jCiHUR4LEdQN+Yp9iozQ6q6J55aD8Atfa+4DBZ8TqcFtkrn4LnKUdGW/X X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123558025)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148); SRVR:CY4PR12MB1397; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1397; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1397; 4:O2DhNkZdpYAy3Qx15IXD04YwPoAKl8eqjlpYdkqxHOcaMK8N6U2yOwcyhV/psvP+BnLfshEyPV4aV6oI6dsqfYwGF4sW2tNC/+TcGlOa6xuxMjsmRXlChayqkSxvSW3EcYIdE7MLLnpxq15PROMqh7lzNrYBSPnUV7l79Q2E+5YRBoYcJ1fOwSuo+G00NQmJAvTzrmCKipiDrd8MOy1WCYe3sCwmsVeTfi0Mh0t80YRvOAIzZVaAJND6Nvfh2ZWzyO81/uHqDy22SR+gXk0GL0SYq9otJBLERBmJlZnvZPOq1XyPz84fHjA8Qz23d/1Lh++DX7L/plsngIwnXYcUOt+p7RQev3SaYQeyL/RYJEwjWmLsq3V0ZVG6hzR+6TH2838Ods/KtiROV82K16OGuLlw00LsqQF1KF0Y/UJz/i2Z5NTQ9lHSknTQiR2r+1kg3vrhKEzL44jWzvSDEHIyZkzRwpbV+ZY/EFVRr76JPEWduvQDCy630aY+R+dY+9GmJzl/IeoJkRDZjwtcbBPCtnOCVJNrBHo1UeLmNVWHbEQE3ofkhVXw1p65ewhB7FRblp8s4ZCCb/1anObP2RL29pC+JCMqcSfUTDPHi6f0fHIwYqxCiDlHokLEBY5tXgN7EkkJsm1KiL/eSX2INqs4nPvK9lognRZmklCXq0OgeY4= X-Forefront-PRVS: 02318D10FB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(39850400002)(39450400003)(39860400002)(39840400002)(39410400002)(199003)(189002)(105586002)(50466002)(8676002)(81156014)(81166006)(2351001)(103116003)(7736002)(106356001)(305945005)(33716001)(9686003)(54906002)(25786008)(5660300001)(53936002)(6116002)(6666003)(38730400002)(6916009)(90366009)(77096006)(6486002)(33646002)(83506001)(110136004)(4326007)(1076002)(230700001)(86362001)(101416001)(4001350100001)(97736004)(92566002)(2906002)(23676002)(54356999)(189998001)(42186005)(47776003)(68736007)(66066001)(97746001)(50986999)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1397; H:[10.236.19.42]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMzk3OzIzOlA1eksvZno0bHBTQUVBSllIdEllY3pjajQ4?= =?utf-8?B?Z0o3TFY5TnQyWlFQVWJpTDVTS0E3WjlRY2hMNEdWNy9zOTBocFhWTFRXRCtF?= =?utf-8?B?NWpuZUNJNUE1aFF4OGd1Y1dBRkVCRDFxQ1M5VHBTWlpKMURJR2luY2JMT3ZQ?= =?utf-8?B?TlVtaFV3MzU4L21ydEFHNEtySDdPckdFQzZxR0h3bms4UklIbTVucTlTdlV6?= =?utf-8?B?b0xiYVg0cFpDcW44MENGVDErekUzcUxmc3NtMDhWRWYwL0JPQmhkc0RXYVo3?= =?utf-8?B?ck0rUVRpV0tQNWg1YnVhbkhRRlFZc0lSSy9BOFhuVDNkN2Q3TnlSQ0w1WFo5?= =?utf-8?B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yT/ X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2017 17:10:51.8540 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1397 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 Fix a build break by referencing the proper structure member name when invoking functions. Remove unneeded akcipher structure. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/Makefile | 1 - drivers/crypto/ccp/ccp-crypto-main.c | 8 -------- drivers/crypto/ccp/ccp-ops.c | 10 +++++----- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/drivers/crypto/ccp/Makefile b/drivers/crypto/ccp/Makefile index 563594a..60919a3 100644 --- a/drivers/crypto/ccp/Makefile +++ b/drivers/crypto/ccp/Makefile @@ -12,7 +12,6 @@ ccp-crypto-objs := ccp-crypto-main.o \ ccp-crypto-aes.o \ ccp-crypto-aes-cmac.o \ ccp-crypto-aes-xts.o \ - ccp-crypto-rsa.o \ ccp-crypto-aes-galois.o \ ccp-crypto-des3.o \ ccp-crypto-sha.o diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c index 228210c..8dccbdd 100644 --- a/drivers/crypto/ccp/ccp-crypto-main.c +++ b/drivers/crypto/ccp/ccp-crypto-main.c @@ -40,7 +40,6 @@ /* List heads for the supported algorithms */ static LIST_HEAD(hash_algs); static LIST_HEAD(cipher_algs); -static LIST_HEAD(akcipher_algs); static LIST_HEAD(aead_algs); /* For any tfm, requests for that tfm must be returned on the order @@ -366,7 +365,6 @@ static void ccp_unregister_algs(void) { struct ccp_crypto_ahash_alg *ahash_alg, *ahash_tmp; struct ccp_crypto_ablkcipher_alg *ablk_alg, *ablk_tmp; - struct ccp_crypto_akcipher_alg *ak_alg, *ak_tmp; struct ccp_crypto_aead *aead_alg, *aead_tmp; list_for_each_entry_safe(ahash_alg, ahash_tmp, &hash_algs, entry) { @@ -381,12 +379,6 @@ static void ccp_unregister_algs(void) kfree(ablk_alg); } - list_for_each_entry_safe(ak_alg, ak_tmp, &akcipher_algs, entry) { - crypto_unregister_akcipher(&ak_alg->alg); - list_del(&ak_alg->entry); - kfree(ak_alg); - } - list_for_each_entry_safe(aead_alg, aead_tmp, &aead_algs, entry) { crypto_unregister_aead(&aead_alg->alg); list_del(&aead_alg->entry); diff --git a/drivers/crypto/ccp/ccp-ops.c b/drivers/crypto/ccp/ccp-ops.c index 6e2aa2c..7ae7f14 100644 --- a/drivers/crypto/ccp/ccp-ops.c +++ b/drivers/crypto/ccp/ccp-ops.c @@ -709,7 +709,7 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, while (aad.sg_wa.bytes_left) { ccp_prepare_data(&aad, NULL, &op, AES_BLOCK_SIZE, true); - ret = cmd_q->ccp->vdata->ccp_act->aes(&op); + ret = cmd_q->ccp->vdata->perform->aes(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_aad; @@ -758,7 +758,7 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, } } - ret = cmd_q->ccp->vdata->ccp_act->aes(&op); + ret = cmd_q->ccp->vdata->perform->aes(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst; @@ -807,7 +807,7 @@ static int ccp_run_aes_gcm_cmd(struct ccp_cmd_queue *cmd_q, op.dst.u.dma.length = AES_BLOCK_SIZE; op.eom = 1; op.u.aes.size = 0; - ret = cmd_q->ccp->vdata->ccp_act->aes(&op); + ret = cmd_q->ccp->vdata->perform->aes(&op); if (ret) goto e_dst; @@ -1197,7 +1197,7 @@ static int ccp_run_des3_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) int ret; /* Error checks */ - if (!cmd_q->ccp->vdata->ccp_act->des3) + if (!cmd_q->ccp->vdata->perform->des3) return -EINVAL; if (des3->key_len != DES3_EDE_KEY_SIZE) @@ -1335,7 +1335,7 @@ static int ccp_run_des3_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) op.soc = 0; } - ret = cmd_q->ccp->vdata->ccp_act->des3(&op); + ret = cmd_q->ccp->vdata->perform->des3(&op); if (ret) { cmd->engine_error = cmd_q->cmd_error; goto e_dst;