On Wed, 2017-05-03 at 10:42 -0400, Stefan Berger wrote: > - the TPM 2 part , as stated before, is still somewhat in flux. I am > not sure when there will be a final TPM 2 from TCG. There the > possibility exists that the state blobs the TPM 2 is writing out still > change. I have added a version tag in front of the blobs so in case > something else gets added that that can be accommodated. Besides that > it's also adapted to write the state blobs in big endian format for the > same reason as above. Maybe at some point I'll just freeze the code and > don't follow the ongoing TPM 2 development anymore besides bug fixes to > exsting code, which then freezes the state blobs as well.
Ignoring the "work in progress" status of TPM 2 and your https://github.com/stefanberger/swtpm/tree/tpm2-preview branch, should your current code already also work with the qemu device backend that is getting discussed here? In other words, are protocol changes needed? I know that TPM 2 has changed the commands, but I don't know whether that affects also the lower layers. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter.