Message ID | 20191014121910.7264-12-ard.biesheuvel@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp4413726ocf; Mon, 14 Oct 2019 05:19:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVbPY0SCBVHOyjINgzjEtkNCgVZDLo8/hi7DwXkDZobhctbgSgd59ByvEiDDbQlMtMlbGQ X-Received: by 2002:a05:6402:b02:: with SMTP id bm2mr27984097edb.244.1571055594003; Mon, 14 Oct 2019 05:19:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571055593; cv=none; d=google.com; s=arc-20160816; b=pidDTwitH6sn2601p1g6CrA7ognP9MN4cMFEQvYpCCcbLcEZgsqsV3xxcyyfZRBwBD Xs3lqhsicyqP/PlL5NY3ZjSVk0kjG4+l/i1bGK1Ujxm34rJ6Au6CCf4Edqyv7rE/ZFRI mpxgpVMUrl9BiC/qH+/I3v8EHogY7edsA4u4fKDSXOXh4oP2XYVH/qzmJN10J68t9FkI k/e3DIuwnkHEyZBZadNT0BAD3lLLLZJ3fZJxuC9bEQ4RrrkBhl9ndoL4dyzqBZop2iXf hg0ef9US9whVQxVfVIVxs0iqH52CSHElvylcZOUvhGQfqaEBpSHxTKldC58TG+2qAwqm dvBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=WtD+83p4yyMiSfdpiz82scK9NvivEcYh4EVuo56jSYqqPI6eQRn7kvFhBrQWmTth8A WapwPadqzKQACUph3o+jTtzCFFkvQfJDF67hLyHysG2sFmeLQVDlA9ItwGGHD+RGcmaE OvxWIIAuyk1d8OMEu53P7bfa7OnRjlsKiorwTYPdf45VjMY9/U5fNPlP57Pljp1kb3TG rl1oGDejZDT41HXT+P9eECNcIqeoh87BLZnbo/8FImEjiqsP6jpe1DgPvfaenpYFGlle skTinfreMZBXamdcxg84q4AoBTVVbNn1DqMpUUFClhqUf/66cPCtxLChZZwzFIRDFjj8 cgOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZpjXYJn; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-crypto-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hk1si10860733ejb.408.2019.10.14.05.19.53; Mon, 14 Oct 2019 05:19:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nZpjXYJn; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730002AbfJNMTw (ORCPT <rfc822;sumit.garg@linaro.org> + 3 others); Mon, 14 Oct 2019 08:19:52 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38980 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730052AbfJNMTw (ORCPT <rfc822;linux-crypto@vger.kernel.org>); Mon, 14 Oct 2019 08:19:52 -0400 Received: by mail-wr1-f68.google.com with SMTP id r3so19483324wrj.6 for <linux-crypto@vger.kernel.org>; Mon, 14 Oct 2019 05:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=nZpjXYJnxtwxCKRKWxEQ0A/+tBRKo8pczz3RbQtTpz9oqHH8t36+Nnfu8MxBxi49BE 98lTuISguCQ80IBNglY4jCojSjc1lnY1ziCEJDXEZCRc666Id0e7tKid0t2aXL3xCaYH mdb66mauI690hAoJ5hwoSQWMx7iOwk49iHDqhkG8kR24QnCsFEvvv2jAREA9/S1vrO5O o11qLRpnfyGPhRcB+OU1sYfhN54glqhQy8orOcqsc6iOukW8nn59KQFTd6CgSRzie0EB 2f6k1P/K4PUrB1Q5n+GvkeldX3avoUUb5Jc27ty+SMdhgHqW/W43IBXscYxxFyYYEiMM p2/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lIZcqfC0xhMTbTw2eMsrTKpkwPVrbw6wba0eQebSEA0=; b=V7dB3TWwfEokdDWr93nc51zWXKSkX/n5sOPqOQVkqWMtLrQhwmolJJ7LUL5zuvaUEa 7zAWP5CVULIkYMCpRa/gXwfDbLEahsnd/tbC7r0RfKCTcL7f9HfdqISwvN13YqYSNEpm L8xxmG9RGOR1c2QE/CDhWd9ItvTROcUyJyv8PGou7l+lzF5mys86jEo42tp+WOrnjHqy IicxxgA9sRkN4UqKaeGBeF0Z6gkFDPedFY2maxUFlOyqUcXO44psuJ5AGuvBZF1LoixT QLH2jkEGFs9kwFCYK9d8h0udmGjTzQl//sfJDFy8IJM6VxC4LAXd4zPm3PCvSCYxFBl9 Fjkg== X-Gm-Message-State: APjAAAULOZtJqdlAyD30DSnstjl2cDQAJl6RcXk81D9JoQ0yUw1pRB06 dqLFzUlze0lF0D0Jz5nQ713uC4tPvhpK8w== X-Received: by 2002:a5d:5444:: with SMTP id w4mr9302645wrv.18.1571055590020; Mon, 14 Oct 2019 05:19:50 -0700 (PDT) Received: from localhost.localdomain (91-167-84-221.subs.proxad.net. [91.167.84.221]) by smtp.gmail.com with ESMTPSA id i1sm20222470wmb.19.2019.10.14.05.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 05:19:49 -0700 (PDT) From: Ard Biesheuvel <ard.biesheuvel@linaro.org> To: linux-crypto@vger.kernel.org Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>, Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Eric Biggers <ebiggers@google.com>, linux-arm-kernel@lists.infradead.org Subject: [PATCH 11/25] crypto: nitrox - remove cra_type reference to ablkcipher Date: Mon, 14 Oct 2019 14:18:56 +0200 Message-Id: <20191014121910.7264-12-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191014121910.7264-1-ard.biesheuvel@linaro.org> References: <20191014121910.7264-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: <linux-crypto.vger.kernel.org> X-Mailing-List: linux-crypto@vger.kernel.org |
Series |
crypto: convert h/w accelerator driver to skcipher API
|
expand
|
diff --git a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c index ec3aaadc6fd7..97af4d50d003 100644 --- a/drivers/crypto/cavium/nitrox/nitrox_skcipher.c +++ b/drivers/crypto/cavium/nitrox/nitrox_skcipher.c @@ -493,7 +493,6 @@ static struct skcipher_alg nitrox_skciphers[] = { { .cra_blocksize = AES_BLOCK_SIZE, .cra_ctxsize = sizeof(struct nitrox_crypto_ctx), .cra_alignmask = 0, - .cra_type = &crypto_ablkcipher_type, .cra_module = THIS_MODULE, }, .min_keysize = AES_MIN_KEY_SIZE,
Setting the cra_type field is not necessary for skciphers, and ablkcipher will be removed, so drop the assignment from the nitrox driver. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> --- drivers/crypto/cavium/nitrox/nitrox_skcipher.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.1