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: Mon, 14 Oct 2019 10:52:52 -0700	[thread overview]
Message-ID: <d5d5b92f-2f7a-7efe-7ee4-8aa31051ae23@intel.com> (raw)
In-Reply-To: 20191014090543.2603.52642@new-ml01.vlan13.01.org

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

On 10/14/19 2:05 AM, mohammed.aitbendaoud(a)gmail.com wrote:
>      tpm2_create -H 0x80000000 -g sha256 -G aes -u key.pub -r AESkey.priv 
> 
> when I put aes in parameter it returns me an error : type algorithm not support 0x6
> 
>  2- Why the tpm2-tools does not support aes while the hardware chip of the TPM supports it ?

The create tool does support aes algorithm. The error code doesn't look right.
To create a symmetric aes key please follow the example on:

https://github.com/tpm2-software/tpm2-tools/wiki/Creating-Objects

Thanks,
-- 
Tadeusz

             reply	other threads:[~2019-10-14 17:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-14 17:52 Tadeusz Struk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-10-18 16:51 [tpm2] Re: tpm2_createprimary command Tadeusz Struk
2019-10-15  8:03 mohammed.aitbendaoud
2019-10-14  9:05 mohammed.aitbendaoud
2019-10-11 19:30 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=d5d5b92f-2f7a-7efe-7ee4-8aa31051ae23@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