From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roberto Sassu Subject: Re: [PATCH 0/4] Extend TPM 2.0 PCR banks each with corresponding digest Date: Thu, 30 Mar 2017 13:07:19 +0200 Message-ID: <212fdaf4-f5f3-8615-bb5a-7f21864e33e1@huawei.com> References: <20170329102452.32212-1-roberto.sassu@huawei.com> <58DCCCD3.7010300@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <58DCCCD3.7010300-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tpmdd-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Nayna , tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Cc: linux-ima-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: tpmdd-devel@lists.sourceforge.net On 3/30/2017 11:16 AM, Nayna wrote: > Why can't we export existing tpm2_pcr_extend() and use that directly ? tpm2_pcr_extend() requires the tpm_chip structure, which is not exposed outside. Translation from chip_num to tpm_chip should be done in tpm-interface.c (see tpm_seal_trusted()). Roberto ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot