Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1861551rwb; Fri, 19 Aug 2022 10:36:22 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fR5HyyUBXwXKJfepUuJ+fMlBOjNQSaZ+CkOm6J2pG8fSOubKBB5SrUaib9QdeEj6P1zJc X-Received: by 2002:a17:90a:e58a:b0:1fa:c67c:6107 with SMTP id g10-20020a17090ae58a00b001fac67c6107mr9748259pjz.50.1660930582590; Fri, 19 Aug 2022 10:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660930582; cv=none; d=google.com; s=arc-20160816; b=PeeBLDYVS03j1gOE9yAMFO4+FTSE6ceNcZPW79O0HQfLE/KKpTHX01uk1cDidGz4rP GRWziJhZsVUoKnB3OJ6IJvz7Ud9Pv1IfrQlgJ/0T5EtDvuUfdHP3FKCK0X/aWDu2Hjjy PlCt7l61w2CvAQmluSUy67cEf/QRme17ke23ZlL1Z96Ok6cdRpz5Z2npRGu2uEqmzo8q ZOemlO3hJd+/YL+w8ZunkZ2lUVB001yDEyFI7CaCGb+CVHc1NjkFTzo9xgs2tNSlx2SK kyc7EmyurBF8LG+Q2p5QohocPfUllmT4HGV76LCOvw/XqjSyQv2C1DERM/L2aAQkiGqd P0eQ== 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=j8DovVFtwWKbwaSjFZGUKOwUlEUEv/9iCF6wiMVGxDM=; b=RaXzY3uW0u0q8KwVi9DU3cf6us8fh2tG7M5NM4MBt9ik9ueDcuQm24qHQVrPwwK8dH l21hSgsyDt/2fAMu0Ga2iEk9FK1wN6kbfI034yZuDQqaoqfZQ/klqPvi0ZE6won39HnT ESfc8fvhaniQn368TL2pqZPP8a1y0GH2E8RzBfH819rUtnDuL++lIBVzBJYX9QmWMIFD 7S845ouia+lU8APKGHvB9NVjazRwst6A4TV5mxjaErzBE2CVXmMx36hHSeLKOIGDN/ht u+7HJNTJTdy4QHpEbwjMatdZD8uKbx+kqg+x11O6RvIUHzSh0H1Mo94WJz/4Snttgto3 mtYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ySJlYViI; 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 j191-20020a638bc8000000b00429ea6e9438si4155516pge.224.2022.08.19.10.36.11; Fri, 19 Aug 2022 10:36:22 -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=ySJlYViI; 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 S1351680AbiHSQJh (ORCPT + 99 others); Fri, 19 Aug 2022 12:09:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351743AbiHSQG1 (ORCPT ); Fri, 19 Aug 2022 12:06:27 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9087107F0C; Fri, 19 Aug 2022 08:55:48 -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 5C439CE26B6; Fri, 19 Aug 2022 15:55:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D144C433C1; Fri, 19 Aug 2022 15:55:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660924544; bh=meiPX+XRYn9LPg+IPClYQZy9fcsxsBiGyAMRKHZrhtQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ySJlYViI0KinQX+uZVVD3eA1ezTfwapSV39xV7JJ+cahc5ASFk8dFH4OT9ywQi7E3 bBHGSSVXDbv96ryLGarQmtsZ2lJDvgJl14aHnSgNjVVM69zNa1NK6Jbs6KZYrLCUie kl16JsF1OQxOcZAtYdGYnxDrm+fMV4hECazduNtI= 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.10 205/545] crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE Date: Fri, 19 Aug 2022 17:39:35 +0200 Message-Id: <20220819153838.551230937@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220819153829.135562864@linuxfoundation.org> References: <20220819153829.135562864@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 b8eb0453123d..6bd4e749a946 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