From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3992C433EF for ; Thu, 10 Mar 2022 04:21:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238194AbiCJEWB (ORCPT ); Wed, 9 Mar 2022 23:22:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235566AbiCJEWA (ORCPT ); Wed, 9 Mar 2022 23:22:00 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2753312CC38; Wed, 9 Mar 2022 20:21:00 -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 ams.source.kernel.org (Postfix) with ESMTPS id E1B0EB824AB; Thu, 10 Mar 2022 04:20:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DFC0C340E8; Thu, 10 Mar 2022 04:20:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646886057; bh=C6YzQXJ4A8f7EpImKUHh1ypfIfiOwjesz0ZXkF9WljM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ctXacqoP2eLru8nzvqT1Glp5o155hlw5401WQ72RTYnPI0GNph0gSVhjBMBiiXuSY EiV6HyAMhs52vewTGuy7PC9pBiU3VcC16119q2GPZu0/cxARiizQa9ghdNdtiZreKt c/ZerLPYH3cSg8EPEE8yZFpuHw/usQrU0yW4WQGqEQy/TH0TlUaBLxLazpj+esxPSu WBli+prOvmsKCzLImOpfeUX3QUbrfL8vQL85VliJBBF4qy/u++j2JUykI6oT8xxiIg gO4G/86I0aLqs+Y6dSIdKKkUz4A7mYZPi+IMKNPbQdoXHt1t25RcwyqA5VroHAQQRp 6m8VVHniwwnKA== Date: Wed, 9 Mar 2022 20:20:55 -0800 From: Eric Biggers To: Jarkko Sakkinen Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, James Morris , David Howells , Peter Huewe , Jason Gunthorpe Subject: Re: [GIT PULL] TPM DEVICE DRIVER updates for v5.18 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Thu, Mar 10, 2022 at 01:50:44AM +0200, Jarkko Sakkinen wrote: > On Tue, Mar 08, 2022 at 08:50:30PM +0200, Jarkko Sakkinen wrote: > > On Tue, Mar 08, 2022 at 10:10:31AM -0800, Eric Biggers wrote: > > > On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote: > > > > KEYS: asymmetric: enforce that sig algo matches key algo > > > > > > It looks like you applied v1 of this patch > > > (https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@kernel.org) rather > > > than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@kernel.org). > > > I think that v2 is necessary because some callers of > > > public_key_verify_signature() leave pkey_algo as NULL. > > > > > > Sorry for not spotting that you applied v1 earlier. > > > > > > - Eric > > > > I can do another pull request. > > Eric, does 'next' branch in > > git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git > > look good to you now? > Yes, that looks good, thanks. - Eric