All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Emil Condrea <emilcondrea@gmail.com>, xen-devel@lists.xen.org
Subject: Re: [PATCH v2 2/2] vtpmmgr: execute deep quote in locality 0
Date: Wed, 15 Apr 2015 11:07:18 -0400	[thread overview]
Message-ID: <552E7EA6.4040000@tycho.nsa.gov> (raw)
In-Reply-To: <1429002534-8759-3-git-send-email-emilcondrea@gmail.com>

On 04/14/2015 05:08 AM, Emil Condrea wrote:
> Enables deep quote execution for vtpmmgr which can not be started
> using locality 2. Flags are used to request additional data to be
> present when executing quote. They are interpreted as a bitmask of:
>   * VTPM_QUOTE_FLAGS_HASH_UUID
>   * VTPM_QUOTE_FLAGS_VTPM_MEASUREMENTS
>   * VTPM_QUOTE_FLAGS_GROUP_INFO
>   * VTPM_QUOTE_FLAGS_GROUP_PUBKEY
>
> The externData param for TPM_Quote is calculated as:
> externData = SHA1 (
>         extraInfoFlags
>         requestData
>         [SHA1 (
>            [SHA1 (UUIDs if requested)]
>            [SHA1 (vTPM measurements if requested)]
>            [SHA1 (vTPM group update policy if requested)]
>            [SHA1 (vTPM group public key if requested)]
>         ) if flags !=0 ]
> )
>
> The response param pcrValues is an array containing requested hashes used
> for externData calculation : UUIDs, vTPM measurements, vTPM group update
> policy, group public key. At the end of these hashes the PCR values are
> appended.
>
> Signed-off-by: Emil Condrea <emilcondrea@gmail.com>

Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>

      reply	other threads:[~2015-04-15 15:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-14  9:08 [PATCH v2 0/2] vtpm deep quote in locality 0 Emil Condrea
2015-04-14  9:08 ` [PATCH v2 1/2] vtpm: deep quote flags Emil Condrea
2015-04-15 15:07   ` Daniel De Graaf
2015-04-15 15:09     ` Emil Condrea
2015-04-15 15:34       ` Ian Campbell
2015-04-15 15:50         ` Ian Campbell
2015-04-15 17:33           ` Emil Condrea
2015-04-14  9:08 ` [PATCH v2 2/2] vtpmmgr: execute deep quote in locality 0 Emil Condrea
2015-04-15 15:07   ` Daniel De Graaf [this message]

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=552E7EA6.4040000@tycho.nsa.gov \
    --to=dgdegra@tycho.nsa.gov \
    --cc=emilcondrea@gmail.com \
    --cc=xen-devel@lists.xen.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.