From: Tadeusz Struk <tadeusz.struk at intel.com>
To: tpm2@lists.01.org
Subject: Re: [tpm2] SLB 9670 TPM 2.0 device, How many keys I can store inside TPM as persistent
Date: Fri, 06 Apr 2018 12:11:37 -0700 [thread overview]
Message-ID: <feadfac9-bb65-964e-2584-46ccee79c241@intel.com> (raw)
In-Reply-To: e6f127d2-576d-274f-817b-fe731304814e@mikronika.pl
[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]
On 04/05/2018 10:49 PM, Tomasz Przybysz wrote:
> #define TPM_PT_HR_PERSISTENT_MIN (PT_FIXED + 15 ) /* the minimum number of persistent objects that can be held in TPM NV memoryNOTE This minimum shall be no less than the minimum value required by the platformspecific specification to which the TPM is built. */
>
> I don't uderstand. So what is max capacity of this device ?
The maximum capacity of the device is limited only by the amount of the NV memory in the chip, which for this chip is 7KB as far as I can see.
> *
> Up to 7 loaded persistent Objects***for my understandig it's max capacity. But why this parameter is called *TPM_PT_HR_PERSISTENT_MIN* ?
> vs
> "the minimum number of persistent objects that can be held in TPM NV memory"
>
> So is it min or max ?
It's min. The spec defines some minimums in order to ensure proper operation.
See section 41. "Minimums" in https://trustedcomputinggroup.org/wp-content/uploads/TPM-Rev-2.0-Part-1-Architecture-01.16.pdf
The chip vendor can define other minimums, not less than the minimums specified by the spec.
Put in other words. This tells you what is the minimum number of persistent objects a TPM needs to support to be able to support all TPM command implemented by the given TPM chip.
>
> What does 'loaded persistent' mean ? As I know persistent key is always loaded.
> When I want to use persistent key I don't need load it.
Right, you don't need to load a persistent key, assuming it wasn't evicted by tpm2_evictcontrol tool.
For more info see section 37.3 "Owner and Platform Evict Objects" from the spec above.
Hope that helps.
--
Tadeusz
next reply other threads:[~2018-04-06 19:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 19:11 Tadeusz Struk [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-04-06 6:30 [tpm2] SLB 9670 TPM 2.0 device, How many keys I can store inside TPM as persistent Tomasz Przybysz
2018-04-06 5:49 Tomasz Przybysz
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=feadfac9-bb65-964e-2584-46ccee79c241@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