Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3090203rwb; Mon, 15 Aug 2022 17:53:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR4UgPR986kTA5QjgV0VwIOzp3dUW53sVszgiMbtb71Rn6x3gQqU+IQFjZEl5ObXyvQJkywK X-Received: by 2002:a17:906:8a4e:b0:730:9fcd:d988 with SMTP id gx14-20020a1709068a4e00b007309fcdd988mr12077855ejc.636.1660611196803; Mon, 15 Aug 2022 17:53:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611196; cv=none; d=google.com; s=arc-20160816; b=cele/GbKrnLiq/rhJVV2qGGzFWxcF1KonoXITheO9uBbtV9iAx5C92QDPmF5AH+5+V bNzIfZGR+yftiOP+/UguUGEBXZGPz8E/jI6wIopCh8bxG4rRIWaJSbZdKDgzdWm5/ste ddGFCHxYWO830OUBE4mglal+9LTvkX3/QiPZKFKK/xP8OTn03A7ZQxuoCONWLYydWqRM M9XdVon1D6tn/fOJApjmnCHdveQYN8UlM+j1E1U00xe6H1/VUXPfFiRgbWHcSlcfZ0zx FJ0Hd7/g9cm675kjNCAesoWsJbWh2TGmmnEsnbCoqnTsWWHZL/cUAM7eese2g8vP/U5p LytQ== 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=7dsGwu47hsmZUNaaqcsjq7Q4TSWjPG343RP2bVieTYo=; b=VAqwy7kea8Ly909GbnYXrEorQdYQmuZ++ZbZ8qjUz2LK6SHXF5JFenVoRYF9MLaLzw RZPhAATSiEVwtzjMUcTCwgXUK1NycJYMHoN7hGM2mjhXNt/TVFSLJndAvxSDrmi79kQ1 60S08HGkj3L31ssTD0tXMtERDJCrtIRSk3g3WbWP/Gp8cEAyeDFHbv4v/a8V9um2roOi AkH+n2spAhYjhL2w1cXFk21b8XAYfJQmn2POMTWebA00A3f64+Fax+yWo+WQij9Ml503 Z3ozDNXyLPkAtqTGBXncC+WEfEy1L8cdPQagn3B1p73Nw5Dj8syW1a6/+Y8CMYh9Opax OJWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VhrYoZr5; 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 cr10-20020a056402222a00b0043cc4d599f8si7449000edb.161.2022.08.15.17.52.51; Mon, 15 Aug 2022 17:53:16 -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=VhrYoZr5; 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 S1355171AbiHOXrM (ORCPT + 99 others); Mon, 15 Aug 2022 19:47:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354335AbiHOXly (ORCPT ); Mon, 15 Aug 2022 19:41:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 152692C67C; Mon, 15 Aug 2022 13:12:58 -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 BE905B80EA9; Mon, 15 Aug 2022 20:12:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 250DDC433C1; Mon, 15 Aug 2022 20:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594375; bh=jV18IuuG2M1GWbVk7mRpWwZoaWpLoaIhVm8KhE8WCg0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VhrYoZr5kVBjAXY9smnkQngOQJQioMBrb74EIaKljm6o6NLIpKUHatLHu9uuKCF6e hfM+M8IArSqrD3mGKx0k6qQ8luOkqM9NXt4cIvANm6vznLIMKdv/f9wgu1poCTRIiP L2RK0eCPFlrESbylUIl2bhYyfpYw8T2C1bLR8d5Y= 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.19 0426/1157] crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE Date: Mon, 15 Aug 2022 19:56:22 +0200 Message-Id: <20220815180456.701948790@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 ac85682c013c..e3aaa971d660 100644 --- a/arch/arm64/crypto/Kconfig +++ b/arch/arm64/crypto/Kconfig @@ -71,6 +71,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