Hi all,

I'm currently working on a Linux project involving the use of the TPM.  The
idea is to somehow reproduce the TPM part of TrustedGrub on UEFI, except
it's only to boot a fixed kernel.  For various reasons it is done using
gnu-efi rather than EDKII.  However, I think my question is generic enough
for this mailing-list.

So, my current idea is to create a small EFI application that will do the
needed processing, and then load the linux kernel through EFI Stub.  I got
the "processing then stub" part right, everything works, except for the PCR
extending.

What I'm currently doing is loading the kernel.efi file contents into a
buffer using the Open and Read methods of the EFI_FILE_HANDLE handle.  My
aim was then to send the content of this buffer as an input to the
EFI.TCG_PROTOCOL.HashALL() function, but I always end up with an empty
output buffer, even if I simply send a fixed integer instead of the file
contents as an input buffer.

Is there anyone here that has already used this protocol and can help me,
or even redirect me to a more appropriate source of information ?

Thanks in advance !

Regards,

Eric Viseur
Etudiant Ingénieur Civil Electricien
LinkedIn Profile<http://www.linkedin.com/profile/view?id=193442069&trk=tab_pro>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to