TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
From: Tadeusz Struk <tadeusz.struk at intel.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: tpm2_createprimary command
Date: Fri, 11 Oct 2019 12:30:50 -0700	[thread overview]
Message-ID: <a7790d21-be82-2e8a-4638-afa8f6cfed26@intel.com> (raw)
In-Reply-To: 20191011185614.2949.87910@new-ml01.vlan13.01.org

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

On 10/11/19 11:56 AM, mohammed.aitbendaoud(a)gmail.com wrote:
> i am using tpm2-tools for testing my tpm.
> 
> Before starting the tests i am doing : tpm2_createprimary -H o -g sha256 -G ecc
> 
> why we need a hash to create a primary key ?

It is used to calculate the object's qualified name. See "27.2.3 nameAlg" in
https://trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-1-Architecture-01.38.pdf

Thanks,
-- 
Tadeusz

             reply	other threads:[~2019-10-11 19:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11 19:30 Tadeusz Struk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-10-14  9:05 [tpm2] Re: tpm2_createprimary command mohammed.aitbendaoud
2019-10-14 17:52 Tadeusz Struk
2019-10-15  8:03 mohammed.aitbendaoud
2019-10-18 16:51 Tadeusz Struk

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=a7790d21-be82-2e8a-4638-afa8f6cfed26@intel.com \
    --to=tpm2@lists.01.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox