aboutsummaryrefslogtreecommitdiff
path: root/libstb/tss/trustedbootUtils.H
AgeCommit message (Collapse)AuthorFilesLines
2016-10-10libstb/tss: implement TSS required functionsClaudio Carvalho1-0/+1
Hostboot shares the TSS code with phyp and skiboot, but the functions declared in trustedbootUtils.H are hostboot specific and must be implemented by the TSS downstream consumers. This implements the trustedbootUtils.H functions. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-10-10libstb/tss: add hostboot TSS code for TPM 2.0Claudio Carvalho1-0/+85
Hostboot exports the TCG TPM Software Stack (TSS) implementation for skiboot/PHYP (downstream consumers). This adds to skiboot the latest Hostboot TSS code, which supports multibank (it is able to extend multiple PCR banks at once). TSS code home and version: https://github.com/open-power/hostboot/tree/master-p8/src/usr/secureboot/trusted HEAD: 3ed4df70acbcf3927071ebd626d11e37f3656c38 Skiboot uses the TSS API to extend the same PCR number of both sha1 and sha256 PCR banks. The PCR number and both sha1 and sha256 measurements are provided to TSS, which sends a single TPM PCR_EXTEND command to the TPM device via TPM device driver. The TSS interface is defined in 'libstb/tss/trustedbootCmds.H'. Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>