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 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 945ACC282DB for ; Fri, 1 Feb 2019 17:43:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6458B2086C for ; Fri, 1 Feb 2019 17:43:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728833AbfBARnD (ORCPT ); Fri, 1 Feb 2019 12:43:03 -0500 Received: from mga04.intel.com ([192.55.52.120]:29499 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726486AbfBARnD (ORCPT ); Fri, 1 Feb 2019 12:43:03 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Feb 2019 09:43:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,549,1539673200"; d="scan'208";a="271800974" Received: from gandrejc-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.254.151]) by orsmga004.jf.intel.com with ESMTP; 01 Feb 2019 09:42:57 -0800 Date: Fri, 1 Feb 2019 19:42:56 +0200 From: Jarkko Sakkinen To: Mimi Zohar , christophe.ricard@gmail.com Cc: Roberto Sassu , david.safford@ge.com, monty.wiseman@ge.com, matthewgarrett@google.com, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, silviu.vlasceanu@huawei.com Subject: Re: [PATCH v9 6/6] tpm: pass an array of tpm_extend_digest structures to tpm_pcr_extend() Message-ID: <20190201174256.GA23559@linux.intel.com> References: <20190201100641.26936-1-roberto.sassu@huawei.com> <20190201100641.26936-7-roberto.sassu@huawei.com> <20190201133949.GE17861@linux.intel.com> <20190201134151.GF17861@linux.intel.com> <1549031589.6993.7.camel@linux.ibm.com> <20190201173330.GA5522@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190201173330.GA5522@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: On Fri, Feb 01, 2019 at 07:33:30PM +0200, Jarkko Sakkinen wrote: > On Fri, Feb 01, 2019 at 09:33:09AM -0500, Mimi Zohar wrote: > > Thanks! I just finished compiling, rebooting, and verifying the IMA > > boot-aggregate matches. > > > > While compiling, I saw some messages that "TPM_BUFSIZE is redefined" > > for tpm_i2c_infineon, tpm_i2c_nuvoton, and st33zp24.  Didn't look to > > see if this is a result of this patch set or not. > > > > The IMA boot-aggregate matches the PCRs. > > > > Tested-by: Mimi Zohar (on x86 for TPM 1.2 & PTT > > TPM 2.0) > > Thank you. > > I found the reason for that warning. It is redefined, for reason unknown > to me in drivers/char/tpm/st33zp24/st33zp24.h (commit bf38b8710892). > > I'll post a fix to that commit ASAP. After that commit has been applied > I can apply Roberto's patches. Just sent. No need to any testing for that one. Just need one reviewed-by or even acked-by, and after that I will apply all Roberto's patches. /Jarkko