]> err.no Git - linux-2.6/commit
[PATCH] tpm: more bios log parsing fixes
authorSeiji Munetoh <seiji.munetoh@gmail.com>
Wed, 31 May 2006 04:25:52 +0000 (21:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 31 May 2006 23:27:10 +0000 (16:27 -0700)
commit44d7aff035118e8c3993aa3fa05d358d1008e982
tree0b454482cde4dac8200357ddb4e0f015b8e266bb
parentde66a695bef17264b2472c06e981c068bfa0636e
[PATCH] tpm: more bios log parsing fixes

From: Seiji Munetoh <seiji.munetoh@gmail.com>

Change the binary output format to actual ACPI TCPA log structure since the
current format does not contain all event-data information that need to
verify the PCRs in TPM.  tpm_binary_bios_measurements_show() uses
get_event_name() to convert the binary event-data to ascii format, and puts
them as binary.  However, to verify the PCRs, the event-data must be a
actual binary event-data used by SHA1 calc.  in BIOS.

So, I think actual ACPI TCPA log is good for this binary output format.
That way, any userland tools easily parse this data with reference to TCG
PC specification.

Signed-off-by: Seiji Munetoh <seiji.munetoh@gmail.com>
Acked-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/tpm/tpm_bios.c