From: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
To: ltp@lists.linux.it
Subject: [LTP] Hidden TPM questions in the LTP IMA posts
Date: Mon, 05 Feb 2018 10:42:27 +0200 [thread overview]
Message-ID: <1517820147.7570.4.camel@linux.intel.com> (raw)
In-Reply-To: <1517416161.3469.142.camel@linux.vnet.ibm.com>
On Wed, 2018-01-31 at 11:29 -0500, Mimi Zohar wrote:
> On Wed, 2018-01-31 at 15:32 +0200, Jarkko Sakkinen wrote:
> > Hi
> >
> > On Fri, Jan 26, 2018 at 09:49:59AM -0500, Mimi Zohar wrote:
> > > Hi Jarkko,
> > >
> > > There are a few TPM questions for the fixing the IMA Linux Test
> > > Program (LTP) tests:
> > >
> > > - The maximum size of the TPM 1.2 event record is unspecified. What
> > > is the expected maximum size?
> > > - Is there a way of knowing the location of the TPM 1.2 PCRs without
> > > grepping for them?
>
> I responded (in the original thread) to my own question:
>
> Commit 313d21e "tpm: device class for tpm" moved the TPM sysfs
> location from /sys/class/misc/tpmX/device/ to
> /sys/class/tpm/tpmX/device/.
I was wondering what you meant by "location". That was the reason why I
postponed my response in the first place. I did not understand that you
were talking about the sysfs path. The only location I know for PCRs is
that they are inside the TPM.
For the first question, I don't think there is a hard coded limit but I
could be wrong. In the area of event log I think the TCG documentation
is just utter shit.
There is some documentation in EFI platform and protocol specifications
but it quite lacking.
It is awkward that this stuff is in EFI specifications in the first
place when with TPM 1.2 you access the log through ACPI and on some
platforms the event log is available through DT. It is hard to find
answers even to simple questions like what is put into the event log,
which is a very basic question that I do not have to day a definitive
answer.
/Jarkko
next prev parent reply other threads:[~2018-02-05 8:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-26 14:49 [LTP] Hidden TPM questions in the LTP IMA posts Mimi Zohar
2018-01-31 13:32 ` Jarkko Sakkinen
2018-01-31 13:43 ` Petr Vorel
2018-01-31 16:29 ` Mimi Zohar
2018-02-05 8:42 ` Jarkko Sakkinen [this message]
2018-02-05 13:34 ` Javier Martinez Canillas
2018-02-08 12:36 ` Jarkko Sakkinen
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=1517820147.7570.4.camel@linux.intel.com \
--to=jarkko.sakkinen@linux.intel.com \
--cc=ltp@lists.linux.it \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox