From: Nayna <nayna-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Jarkko Sakkinen
<jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Ken Goldman <kgoldman-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH v3 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks
Date: Wed, 18 Jan 2017 14:27:10 +0530 [thread overview]
Message-ID: <587F2DE6.4030102@linux.vnet.ibm.com> (raw)
In-Reply-To: <20170116094105.k2vuf3cclippkbye-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
On 01/16/2017 03:11 PM, Jarkko Sakkinen wrote:
> On Fri, Jan 13, 2017 at 03:19:59PM -0500, Ken Goldman wrote:
>> On 1/13/2017 11:43 AM, Jarkko Sakkinen wrote:
>>
>>>>>> +struct tpml_digest_values {
>>>>>> + u32 count;
>>>>>> + struct tpmt_ha digests[TPM2_ACTIVE_PCR_BANKS];
>>>>>> +} __packed;
>>>>>
>>>>> Please remove this structure.
>>>>
>>>> Sorry Jarkko, I didn't understand this comment.
>>>> Why do we want to remove this structure.
>>>
>>> Well it is only used to pass two parameters.
>>
>> Might it be good in general to reuse TPM Part 2
>> structures? For someone familiar with the TPM
>> spec, it could make reading the device driver code
>> easier.
>
> Having a structure to encapsulate two parameters is an overkill.
As per TCG TPM 2.0 Spec, struct tpml_digest_values is member of both
extend structure and tcg_pcr_event structure.
These two structs are part of event log patch set also
So, will update event log patch as well.
Thanks & Regards,
- Nayna
>
> /Jarkko
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> tpmdd-devel mailing list
> tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
next prev parent reply other threads:[~2017-01-18 8:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 16:58 [PATCH v3 0/2] tpm: enhance TPM 2.0 extend function to support multiple PCR banks Nayna Jain
2017-01-12 16:58 ` [PATCH v3 1/2] tpm: implement TPM 2.0 capability to get active " Nayna Jain
[not found] ` <1484240290-4306-2-git-send-email-nayna-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-12 18:25 ` Jarkko Sakkinen
2017-01-12 18:25 ` Jarkko Sakkinen
[not found] ` <20170112182507.w5lpzupqw4hwhtfn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-13 7:24 ` Nayna
2017-01-13 7:24 ` Nayna
2017-01-13 16:45 ` Jarkko Sakkinen
[not found] ` <1484240290-4306-1-git-send-email-nayna-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-12 16:58 ` [PATCH v3 2/2] tpm: enhance TPM 2.0 PCR extend to support multiple banks Nayna Jain
2017-01-12 16:58 ` Nayna Jain
[not found] ` <1484240290-4306-3-git-send-email-nayna-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-12 18:20 ` Jarkko Sakkinen
2017-01-12 18:20 ` Jarkko Sakkinen
[not found] ` <20170112182044.hehe5d5fblecejwo-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-13 7:14 ` Nayna
2017-01-13 7:14 ` Nayna
[not found] ` <58787E47.3010908-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-13 16:43 ` Jarkko Sakkinen
2017-01-13 16:43 ` Jarkko Sakkinen
[not found] ` <20170113164315.kxbdhchoi64jy44p-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-13 20:19 ` Ken Goldman
2017-01-16 9:41 ` Jarkko Sakkinen
[not found] ` <20170116094105.k2vuf3cclippkbye-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-18 8:57 ` Nayna [this message]
2017-01-17 7:53 ` Nayna
2017-01-17 7:53 ` Nayna
[not found] ` <587DCD88.5080100-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-01-17 16:13 ` Jarkko Sakkinen
2017-01-17 16:13 ` Jarkko Sakkinen
[not found] ` <20170117161314.5hyg3xjheawvugzu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-01-17 16:26 ` Nayna
2017-01-17 16:26 ` Nayna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=587F2DE6.4030102@linux.vnet.ibm.com \
--to=nayna-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
--cc=jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=kgoldman-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.