public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Hamit Can Karaca" <hckaraca99@gmail.com>
To: devel@edk2.groups.io
Subject: [edk2-devel] TPM2 NVM WRITE IN EDK2
Date: Thu, 09 Nov 2023 02:39:29 -0800	[thread overview]
Message-ID: <P5cO.1699526369528341374.wkQY@groups.io> (raw)

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

Hello,
I am a young UEFI developer and I am trying to use the functions in Tpm2CommandLib to write data to TPM2. I have defined the index that, I am going to write data to, using the DefineSpace function. But whenever I am trying to use the Tpm2NvWrite function, I keep getting EFI_DEVICE_ERROR with a response code 0x1D5. Is there anything to do before Tpm2NvWrite that I don't know or do I use the wrong parameters?
If anyone has used these functions please let me know, thanks!


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111050): https://edk2.groups.io/g/devel/message/111050
Mute This Topic: https://groups.io/mt/102510897/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 1799 bytes --]

             reply	other threads:[~2023-11-10 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09 10:39 Hamit Can Karaca [this message]
2023-11-13 12:57 ` [edk2-devel] TPM2 NVM WRITE IN EDK2 Laszlo Ersek
2023-11-15 12:03   ` Hamit Can Karaca
2023-11-15 13:15     ` Laszlo Ersek

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-list 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=P5cO.1699526369528341374.wkQY@groups.io \
    --to=devel@edk2.groups.io \
    /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