Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1023865rwb; Fri, 18 Nov 2022 11:30:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6kYlXGrW7ymXgJ0p3ZhNv3j8sfHyy6L70rXWv9qsFz8m79qvZNHE50BSzxo0LDDoVkiqKh X-Received: by 2002:a05:6402:5405:b0:468:4cd4:f133 with SMTP id ev5-20020a056402540500b004684cd4f133mr7610049edb.18.1668799844568; Fri, 18 Nov 2022 11:30:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668799844; cv=none; d=google.com; s=arc-20160816; b=gN6qn9PpquLqAQpc3ov5+xn2vEvODoFaxdRd+BP/dsviSFcRx53IfJZKELLsivv5jE ElHYJYMC1Z5fFP2B7+5i7XcRCauskylxv0r6UxIkzNU5W1m9aIX0nkdVloq+yG+mawG8 dMbUpeEn8f48pUqzW+SgTLv9dHEYc5n3afW5uzbuuHR1R/q1777VRsMQ8DeYLzXI0fRm tt0XlC7ygyjyRoV7BU0HbwV+lDJZGROAiRg6kjDNcr+W1uQIHMO3rsHBvIe01IqNNZD2 mU9026Jz07lTFtW24GBBcULRxI8q2Ua9iIDknALjso/36PBSeyUSRKM5+uE3wMPM7RSz Za4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aNc02PzKznQBgS08gnmU6RsZG03omrkyZ59yf5W5W0M=; b=rD9sNl8ZNjLQkoczpEoO119JS+WUB07FFqIhpa5Bd8Z6IVz2riUJl6T/ZUTs2DcB+J oSpqoCPEpXiaZu1VxBzpx2b009OmUpr9AzN647s1ogqIh+UDN5hrReSOZODYlPgLTe9+ ru9EK4iSCEvaOQb+8vcAlM5F8f+ElcmwZc+7RS/zqCvQ+DsTyWXXfF5fal8TEJTufaqd ZlU1RpPjPaIXCqrzSutNg2e8ps/I4wzybDEeKrQkAKrk2AJ7LK5mN9UT9XFo5QoFlDRQ oEosaCXrhAaQ4HZBr3aHDfQAav53TjRSa4qzO6VfVVshZtEolQ3JhE6JZjsXRUq6QHQd DlDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JSJLlAoS; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a170906795100b0078ddff4b3absi3694082ejo.423.2022.11.18.11.30.18; Fri, 18 Nov 2022 11:30:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=@kernel.org header.s=k20201202 header.b=JSJLlAoS; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242093AbiKRTTC (ORCPT + 99 others); Fri, 18 Nov 2022 14:19:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241969AbiKRTTA (ORCPT ); Fri, 18 Nov 2022 14:19:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E8D36457A for ; Fri, 18 Nov 2022 11:18:59 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 3A8BF626B2 for ; Fri, 18 Nov 2022 19:18:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62C54C4347C; Fri, 18 Nov 2022 19:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668799138; bh=MpDNHR/DzsboY7rAaW2LUqmp104SU5eb+mdV2/4ZGoI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JSJLlAoSjCUOz+nAtP/U2QJd7oluxCHc7pZAQLjhTnr/KBi6t6qe9L54zSlS3/vlR cxl6FnLOejzGlB8Kc7Mvbwj+7FxXCm4ihhDR7QsDRJPJPkurP5jjdxVwdI70h8UueK oCiLmsV4YEBlsVeAxMZ5NJJsmDhTm8wcKWp3xu7LolyqPtsMIHgjSQ1NA53zb60Ki3 b41qll3cHxxwgkjdT5DP9OsA82eRKfInetmyHMWrOj69+jJNE3PCReh8jkt96IpUbo VRJdlFYY9tRAC1OTyHKBjX3fXl6sR1NEhGWy8TaSL1wXFVAKvtLFsz+bjgIdXhTWe7 wE5Yk6abedNHQ== Date: Fri, 18 Nov 2022 11:18:56 -0800 From: Eric Biggers To: "Elliott, Robert (Servers)" Cc: "linux-crypto@vger.kernel.org" , "x86@kernel.org" , "linux-arm-kernel@lists.infradead.org" , Sami Tolvanen Subject: Re: [PATCH 0/11] crypto: CFI fixes Message-ID: References: <20221118090220.398819-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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-crypto@vger.kernel.org On Fri, Nov 18, 2022 at 07:14:13PM +0000, Elliott, Robert (Servers) wrote: > > > arch/x86/crypto/twofish_glue_3way.c:EXPORT_SYMBOL_GPL(__twofish_enc_blk_3w > > ay); > > > > No, that doesn't matter at all. Whether a symbol is exported or not just > > has to do with how the code is divided into modules. It doesn't have > > anything to do with indirect calls. > > I thought that makes them available to external modules, and there is no > control over how they use them. > The upstream kernel doesn't support out of tree modules. In the highly unlikely event that someone wants to make these low-level implementation details available to out of tree modules, they can just patch the kernel themselves. - Eric