Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3026069rwb; Mon, 15 Aug 2022 16:24:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR5OAult8zngnY3Jt482QqSki05LZ0AoEGSU9mDus4GZFISM7iYYzg0UYmR8jDUUNaE3TLb9 X-Received: by 2002:a63:5b61:0:b0:41d:3227:37b8 with SMTP id l33-20020a635b61000000b0041d322737b8mr15570215pgm.265.1660605847504; Mon, 15 Aug 2022 16:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605847; cv=none; d=google.com; s=arc-20160816; b=Uepzz1DhyUC8KdMS0UwcCGayeDOp8E9xzDQ6sR5fSwQtq1gzJGJhacL1cv+jY3kPf0 5TDDyiGvr+BOdqkAArt/RSMb0zQv7zS3dWapwOEurBVjJGEbhXjdz26pYmI1rEcYscue YFkvwdC/jZqzqPFbBMJaAzEPAmJtp+uWQI/57DCArmo5c5A9MceYJ+7tUVb0Y08HJPhF MM/dHXqBW24HCLAeTMVasO9Azq6JlpJcRg438KPb91RcCq9l0Q495UpPzXpzHYvPYXvh kw4oskQigESkHyftARCC57Ue3CddkY2K7HG0EoIp1TGWGuzhw+U/65QtsCrf7YG5vyuf Cj6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xRaRJDlL68z7c38iRmn+CGKV/EDydzPK0kv7BC8LsnI=; b=iICUERxvovqldKdk+ZGsLLlf0lYp0rDspdhHnSBbXDt+vhrLXfweonr3Se9lwnhSgN dLJO5P9DwNa4mePpVtttv8KntY5pf+bDExMaxD66M6B1W/2sGw9w35gxesbpjBoYbXBv 5Tpo10JDmyEONKBZV2EV59OHp4gm9k679oUst1/PbAhLozKRoNq+xxrA2SC0B26byxhc kLodqdwwXyEVmPX48pCr0kXn88k9DlXDyiS7sRYClduwjM53emhBgsR63M7mG8hSPr2p Pz+cv+lO25AUzwYNReNNi6PIaOQBey/gMk2UuNAtTKYoZGOwN9X9N1IoJC/cxdXjCNe5 Vl5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="jDUy/Xul"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m11-20020a170902db0b00b0016f975be301si13407896plx.334.2022.08.15.16.23.56; Mon, 15 Aug 2022 16:24:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="jDUy/Xul"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239810AbiHOVNH (ORCPT + 99 others); Mon, 15 Aug 2022 17:13:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347896AbiHOVHn (ORCPT ); Mon, 15 Aug 2022 17:07:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A1A35247C; Mon, 15 Aug 2022 12:16:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 01950B8107A; Mon, 15 Aug 2022 19:16:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D93BC433D6; Mon, 15 Aug 2022 19:16:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590980; bh=LirXWrjAmt9goQwEFSLoY6YoxSifPxKeann4ZciL/hg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jDUy/XulmV7Rs2QYyQgAtGFp0x6rb0iLrwYf1w+veivGJD2V7JbNBfWP7h5f2El+x ric1ruIkhRl7BBFx8V/tfd8XU3LySm0i59syzwnWdt9v6fCUkS8yDkNvDQzwAw+++K nhrnodNZhU4nyYU1EEuUV9Ipv2FK3LaSK4s3slWs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Qian Cai , Herbert Xu , Sasha Levin Subject: [PATCH 5.18 0402/1095] crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE Date: Mon, 15 Aug 2022 19:56:41 +0200 Message-Id: <20220815180446.326140313@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qian Cai [ Upstream commit fac76f2260893dde5aa05bb693b4c13e8ed0454b ] Otherwise, we could fail to compile. ld: arch/arm64/crypto/ghash-ce-glue.o: in function 'ghash_ce_mod_exit': ghash-ce-glue.c:(.exit.text+0x24): undefined reference to 'crypto_unregister_aead' ld: arch/arm64/crypto/ghash-ce-glue.o: in function 'ghash_ce_mod_init': ghash-ce-glue.c:(.init.text+0x34): undefined reference to 'crypto_register_aead' Fixes: 537c1445ab0b ("crypto: arm64/gcm - implement native driver using v8 Crypto Extensions") Signed-off-by: Qian Cai Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin --- arch/arm64/crypto/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig index 2a965aa0188d..bdca34283c06 100644 --- a/arch/arm64/crypto/Kconfig +++ b/arch/arm64/crypto/Kconfig @@ -59,6 +59,7 @@ config CRYPTO_GHASH_ARM64_CE select CRYPTO_HASH select CRYPTO_GF128MUL select CRYPTO_LIB_AES + select CRYPTO_AEAD config CRYPTO_CRCT10DIF_ARM64_CE tristate "CRCT10DIF digest algorithm using PMULL instructions" -- 2.35.1