On 11/15/23 13:03, Hamit Can Karaca wrote:
> Thanks for your Laszlo,
> 
> I am using the functions that are available in EDK2 TpmCommandLib. I am
> not sure where I fail because all the structs that I use are those which
> are given in EDK2. I will add my code below. It would be very nice If
> you could check my code. If you have examples where you use
> Tpm2DefineSpace and Tpm2NvWrite functions, can you please share with me?

Sorry, I have zero TPM programming experience; I've only checked the TCG
specs for responding earlier...

I suggest adding DEBUG macro invocations all around the problematic code
path, and narrowing down the issue as much as possible. You might want
to test on a different TPM chip as well (different physical board, or
maybe try swtpm with QEMU / OVMF).

Laszlo



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111275): https://edk2.groups.io/g/devel/message/111275
Mute This Topic: https://groups.io/mt/102510897/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: 
https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to