Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2869745rwb; Mon, 15 Aug 2022 13:00:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR7aW8Mzdi/nXbq8fgQwI8h97Z7I4+8+/cEukQxFLb3bnXeuk7HPFn0aEfwCyTT4xMIcyYMP X-Received: by 2002:a17:907:728c:b0:730:c005:5d93 with SMTP id dt12-20020a170907728c00b00730c0055d93mr11492836ejc.265.1660593643573; Mon, 15 Aug 2022 13:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660593643; cv=none; d=google.com; s=arc-20160816; b=ZiAppYPDcw3OwL769xKjassgkCqjzvnro53f7KYMAZQCnJQPqaVP8O90jo66anbQPA XVcqNDfksMpixUl5lHTQ59Sjw33yWclN3eEKpDNRJmA8Px0TyEr02a52KbGC10/fkWtg b8hSm4LyHAj+xl4gbB0FejVCsbpZUUE7hzzSbHPsS/uCq/I5raO5CPU9k/UNTXMJOitY oCcz3FcP6GSmMRnHO35HxwdX0oqBhtdYQLOb3HsVYXG6RtLrTgG++PXN/F6pjM1650wz SQwZ9PiKhc04pidGFpzXYuUXLNhtkrUkyi+5BV+D5DjWp3G7WO5PlyAyFP4Fy5yMZdzy /pVw== 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=mBhc+h4PSrirVWj7vFaQmTQxDpb+lzrASmanBWRf9FE=; b=Z4N1VOG4KBueoPWM1K8isiL/ULMxvmdeYGZMy3LLnEfnOdZmRdQEH7owr55vKoowgf Poc4CLkNsN+R+vQSl3yRZM3IzLkqMRv2EO3UmufoNkcJJwhyYjX9naR7pRbZuwBd8mwM Tl5O4k6qI6qZUd0unO5WBMO3MDZVYzIe7BflcuKr+y0BCy8aLgcs5B5MwZvUw4DTYzWT UdnsgusJe3nZ4fTrFRdxNiYJVxOP8FRR/PERWe3X+h6j0kQvwv1BdSdAmi1k+zjHn1cG 9ZzmUzYeqHExybnm7HLBw+de+248Qo3twfIy3M2sj6foNVEi6CW26KjI1w8Vii+rXH7z MlKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rTXlv3Sx; 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 t26-20020a508d5a000000b0043ac5ba36easi8047589edt.419.2022.08.15.13.00.16; Mon, 15 Aug 2022 13:00:43 -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=rTXlv3Sx; 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 S244489AbiHOSyB (ORCPT + 99 others); Mon, 15 Aug 2022 14:54:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244482AbiHOSvS (ORCPT ); Mon, 15 Aug 2022 14:51:18 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC83459BC; Mon, 15 Aug 2022 11:29:12 -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 sin.source.kernel.org (Postfix) with ESMTPS id CB528CE1264; Mon, 15 Aug 2022 18:29:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 703DBC433C1; Mon, 15 Aug 2022 18:29:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660588149; bh=8NDVX8rGIyuK8un0KHxKdn2+1yKhDm+2GnDz3ZQSE4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rTXlv3SxIZ9/0GHsVMtT1hq4jNplVPC2FazjdNoktnKGSVgg096oDflRZv23LFjeJ iGz6sH6WW8eKZjpcCTfjCZAYZETr9YdD/f8NIK4L7GMGUORjeIXTcFilvLOF0b7tkZ opSwfvlW7yPe2075JZ4TYGlar/UuNNl/wH8p8LN4= 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.15 310/779] crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE Date: Mon, 15 Aug 2022 19:59:14 +0200 Message-Id: <20220815180350.547966746@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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 55f19450091b..1a5406e599ba 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