From patchwork Tue Dec 5 10:10:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 120631 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5549469qgn; Tue, 5 Dec 2017 02:11:02 -0800 (PST) X-Google-Smtp-Source: AGs4zMbEXnO0q8N6B47w8k7HCDrbECchTDdu2A9GW9Y2Wp0PuBAzDEnoSX20SA2FFAIsZ4sD9Ipw X-Received: by 10.98.220.218 with SMTP id c87mr2055068pfl.229.1512468662814; Tue, 05 Dec 2017 02:11:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512468662; cv=none; d=google.com; s=arc-20160816; b=jOh8zyd5AbeQigsjZicmVDV2WzNMRhKWakyqZm3alGz74rThq2Sy4lNjGq3EteleAm u3gQ4pB/k9KzrkxuFmouYq08aE6VbdUST4cXIELtN8MptCRQ4E3+EsDM3cf/+yx94csm EWD+Xvj0+CU8ZzIfO325h1RhBimvtY6V3Iq7zEo2oozA2cARMvbf/6kluLKqtLrqNGhL 2xhGlqcz9OTtijlOqSQGe/MhVkidsGNHxJFHTN3IzhHaR5+GBHZ3/xah2KugfzYZXlEL U9l1DZXv7dx5e1IhzFsVPWWMKrxmdIY2bDXYj/hMYaWALDq47z9/Ulrxwa73OUtQgK18 49XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Qmg1k7VITLygp9Io025OMbOnlsvqvyerdAKG2EWQiPU=; b=RXXeyPROxgRKxzNPzdfqD/VQLuSvG26Y0YRRbzFgvpUslpozSqWHxOhbZtc7qb/Tvn WIEbBecRXENKI5sKskJQlZ5n7rotTK8I1LkjjD6JUYFeUPZ+R+xKfMFlBmS4GsMHp76y eZjgGIgEuHoaAG3E28GDzRJ2+XsyVf29uuFRNVqLhzWbWPEhmJ7qBn10bvBrPkWPIfTo yaTB7oQ4AonKoEdnzZV/CEbYf7QhltFtUf2DwrPJGOrhzVqRGeRTqkhvUd4R486ztwS8 hNFd4K7VPmv4D0BvFjDeBIcX25D3P6E+VxWF1ENBcQX9YTLO1H4wfpL0XxaSaSoAfuQi E8pQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3si10836393pgr.330.2017.12.05.02.11.02; Tue, 05 Dec 2017 02:11:02 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753218AbdLEKK5 (ORCPT + 1 other); Tue, 5 Dec 2017 05:10:57 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:64826 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753205AbdLEKKz (ORCPT ); Tue, 5 Dec 2017 05:10:55 -0500 Received: from wuerfel.lan ([149.172.96.106]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MK26P-1eLLMx14GT-001Rwo; Tue, 05 Dec 2017 11:10:38 +0100 From: Arnd Bergmann To: Harsh Jain , Herbert Xu , "David S. Miller" Cc: Arnd Bergmann , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: chcr: select CRYPTO_GF128MUL Date: Tue, 5 Dec 2017 11:10:26 +0100 Message-Id: <20171205101032.985159-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:EVZ7CbBxcUOwLmX4cklwAg+TEtBmAk42GA66Tpw/dklpoE8EeSA b9fcYkTeL5UOa0eM5nMxFzyqM/MJfynliZ86qk1rhLJBRcSI5pSLh6i3mkkxUKHOEZcivFj nMVtRvs2Vq2oRlmBjkDWQecVoOnQI1LlOalK4G+0/hdVoQQJYUIHFv0C47NbwuCDrsz8UHj Ed0lPZQ434VALvbGMn70Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:aAs01MnsckY=:v9XEp2VtvGXWcplyCOiUYG Sh9LbMqKOozOwojK7jGqZZnBrfCihRueurNNlllv4/hRmzgFRmYTqBK4kVmyedXmDMtPCs7jZ EiNhFyvr2WOdFn2y3St83IV0+9JiQfbnEZaDBUyFFdmVWDS1u7L7WrQneTi5rzDCGJPuz2onK Xfbq8IZG8HrNMY77BZIa/YDRq/OE1/YNppvyqf+80x83LjqBPQtzH71SBfsWNGI4BQRu9w6wN P5n74i4uIkRZTHWRYzNFkbMGA1Wh1y+lMYfc2o41/kLJL3Lzj195+lArnKVPbFoB9gFQQqcu/ Zl1xymODBupKQfHye+PN7ngL53iwQne0nallbKfDuufulpwU8K/YsoKuylSvWy+Fle6IC1Gsu ywP6VmhwX4PbDZlwbfoGoydpaEIignBczwHMXb7FBjFjRIbYbQeB9iLPdNFo+kpcqoenmUopp 4Zvd7JVOU/vOvGDZo406dpEJOKE/U/pay+0TkuSOTKnale9zL9L7QMmd//d4UWG5taLfRIf+R qwszS2gn1Et86+y2QY3M7tjtwl9QzXDvMBoe+PUCLXl4p8FzhFneU7WHBnRNyH5RlZ79CCEhb s7UsZaKu+ersxmlgnUthntCiRCpU0qp0wjgTg9NuRbr3spwIp7feA6GJ6QKE+L/pbJF6p2sLi 9OT8lCwE0ZNZnuywX8oGK9k/8XqEls2rvdRyIkyOZP7ESFPcHf35l109GbcO/Ff5d4BC5s503 IYgoHOT14pgOhTBg08MTL+aTdsEygAevZKIQ6g== Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Without the gf128mul library support, we can run into a link error: drivers/crypto/chelsio/chcr_algo.o: In function `chcr_update_tweak': chcr_algo.c:(.text+0x7e0): undefined reference to `gf128mul_x8_ble' This adds a Kconfig select statement for it, next to the ones we already have. Fixes: b8fd1f4170e7 ("crypto: chcr - Add ctr mode and process large sg entries for cipher") Signed-off-by: Arnd Bergmann --- drivers/crypto/chelsio/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 diff --git a/drivers/crypto/chelsio/Kconfig b/drivers/crypto/chelsio/Kconfig index 3e104f5aa0c2..b56b3f711d94 100644 --- a/drivers/crypto/chelsio/Kconfig +++ b/drivers/crypto/chelsio/Kconfig @@ -5,6 +5,7 @@ config CRYPTO_DEV_CHELSIO select CRYPTO_SHA256 select CRYPTO_SHA512 select CRYPTO_AUTHENC + select CRYPTO_GF128MUL ---help--- The Chelsio Crypto Co-processor driver for T6 adapters.