On 05/04/2017 05:44 AM, Patrick Ohly wrote:
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?

Yes.


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.

No, should work as-is.


Reply via email to