On Mon, Aug 29, 2016 at 08:52:59AM -0400, Ken Goldman wrote: > 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.
Surely all those structs need to be tagged le32/etc then? Jason ------------------------------------------------------------------------------ _______________________________________________ tpmdd-devel mailing list tpmdd-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tpmdd-devel