Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3517602rwa; Tue, 23 Aug 2022 06:08:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR7aDXsVA+uOMviHCmcr+ZqYPRtbea1d5s37ucLTtEjnI89oIyF5CCuB6M5KTANsVrloyii7 X-Received: by 2002:aa7:85d4:0:b0:536:610c:2449 with SMTP id z20-20020aa785d4000000b00536610c2449mr13718248pfn.85.1661260103956; Tue, 23 Aug 2022 06:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661260103; cv=none; d=google.com; s=arc-20160816; b=bRfR0bjhB36XLEMH8gx+T7SkiJF9tR+o3QlNoAM4CoDDgDuQlzX6TMfjmKdkwl9fZZ A5Tx2l0Cx2EQF3BljASwIzxmf07smMfkq6wbunUUWdB+PRmcNytd/FgMkpF3pCxG/tdo rfp1Au+JgqeREJ79IUVw4v2S+72yr9KTs464DHO7Z0IaTeXFxQdUkSrixt7UbBg74jBr JP1Y/KwHom0o2mgFKMDt7IzI9ljL/SGhgjdv7fl+8a+h4JzKqIu0lYSi1P1A8j42BsVX tdRD3oxUKWlnwvWoiGdB9i1PWuXZSvtHLNr8JSUw/MOdL5FSFRwV5kYr7q7BcTpehHlK HX5w== 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=SvBOJYPxWNJZoFLWRhSLgW5Z02M/wm2baJRbIC9E4Gg=; b=kaWkD9k3lxI0lAIAA8/6avyntVNrzr0WGS/pAefdMP3c9ndrqUwfGFu04IY4sA+n+9 lxUliRuY8WmSJjv1UKW3intnquwmr9k9FSVocH8npxDUta/e/IuUzw7DskACJT4w/nNB A8bpV/IioiAjKK1yOptVhMjpwJHCm5lAvYHj72hiPoyUNcWa93o5JEVTZAWyiTwnLLfN wNevw3t/GY6ZxH+ObMOFShsDaXv99xI4AkiSXx8dyFItnPZ+n9sBIfvpl567lxgfCq1A 8sY7qCeoFrOnKWcmm2lc1RgviHF54KRVKNKqZ5KHIIHSckpVrcd53XO/6WyTWVHb74uO 85RQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="Koh3br/8"; 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 f6-20020a635106000000b0041bc8882540si12780173pgb.370.2022.08.23.06.08.13; Tue, 23 Aug 2022 06:08:23 -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="Koh3br/8"; 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 S1357725AbiHWLU7 (ORCPT + 99 others); Tue, 23 Aug 2022 07:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347074AbiHWLRN (ORCPT ); Tue, 23 Aug 2022 07:17:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D799167DE; Tue, 23 Aug 2022 02:20:42 -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 9883AB8105C; Tue, 23 Aug 2022 09:20:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0605EC433C1; Tue, 23 Aug 2022 09:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661246440; bh=IkKoX6a/t9ES6fnQYu87BdIaOWtA/yzxL2+UmbVGEI0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Koh3br/8gIUzE+ifDtvyRhPtQ4TLtrOdZ/eaKNwKsx9IxqwdB8/6s9EI5Sf05ykEb WKQ7fhb/XB9Sx+CL0R/7xJj92qtaAirZJDZFWS5+dsLzOzJZ9OW2YpL97fCBwF7FYF LLm7/nEO0YnT7x3hGWMZ/HV/ACixo4DrLeqv1uck= 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.4 111/389] crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE Date: Tue, 23 Aug 2022 10:23:09 +0200 Message-Id: <20220823080120.251674858@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080115.331990024@linuxfoundation.org> References: <20220823080115.331990024@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 4922c4451e7c..99cddf1145c2 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