]> xenbits.xensource.com Git - people/liuw/stubdom.git/commit
vtpmmgr: Convert TPM_Seal to use TPM_PCR_INFO_LONG
authorJason Andryuk <andryuk@aero.org>
Mon, 21 Apr 2014 17:23:00 +0000 (13:23 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 23 Apr 2014 10:57:53 +0000 (11:57 +0100)
commite8f932b989bd541e5753a10fa42f5b9a85045c09
tree5892708606d6bbe18463e778768c2c27c969014e
parent14621cc7aaf8fb430c0c44a0d223d207df165fc6
vtpmmgr: Convert TPM_Seal to use TPM_PCR_INFO_LONG

Infineon 1.2 TPMs fail TPM_Seal commands with TPM_BAD_PARAMETER when
PCRS are specified by a TPM_PCR_INFO structure.  Using a
TPM_PCR_INFO_LONG structure to specify PCRs succeeds, so update to use
that.  This also requires changes to use TPM_STORED_DATA12 for the
result.

Signed-off-by: Jason Andryuk <andryuk@aero.org>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
vtpmmgr/disk_tpm.c
vtpmmgr/marshal.h
vtpmmgr/tcg.h
vtpmmgr/tpm.c
vtpmmgr/tpm.h