On 7/29/2016 1:14 PM, Jason Gunthorpe wrote: > > The bios log is defined to be host endian? > > Please reference the standard in a comment that these structs are > coming from.
The BIOS log is little endian. That is, all multi-byte values are little endian. Examples are the pcrIndex, eventType, and eventSize, as well as the digest count and hashAlg. From the "TCG PC Client Platform Firmware Profile Specification" 1.7 Specification Conventions 1. All constants and data SHALL be represented as Little Endian format unless otherwise explicitly stated. ------------------------------------------------------------------------------ _______________________________________________ tpmdd-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
