diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-02-22 15:26:34 +0100 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2018-03-09 18:09:54 +0100 |
commit | 4672a4892867a8ca911c20c8306502449cd667b0 (patch) | |
tree | 9a2578c385ffa4b78fcc131c3a3dbf75c6dcbcd3 /OvmfPkg/OvmfPkgIa32.dsc | |
parent | 6cf1880fb5b668d85f367137f87becb7a83aa14c (diff) | |
download | edk2-4672a4892867a8ca911c20c8306502449cd667b0.tar.gz edk2-4672a4892867a8ca911c20c8306502449cd667b0.tar.bz2 edk2-4672a4892867a8ca911c20c8306502449cd667b0.zip |
OvmfPkg: include Tcg2Pei module
This module will initialize TPM device, measure reported FVs and BIOS
version. We keep both SHA-1 and SHA-256 for the TCG 1.2 log format
compatibility, but the SHA-256 measurements and TCG 2 log format are
now recommended.
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Stefan Berger <stefanb@linux.vnet.ibm.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'OvmfPkg/OvmfPkgIa32.dsc')
-rw-r--r-- | OvmfPkg/OvmfPkgIa32.dsc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc index ef25e50370..05ad5cf375 100644 --- a/OvmfPkg/OvmfPkgIa32.dsc +++ b/OvmfPkg/OvmfPkgIa32.dsc @@ -273,6 +273,7 @@ QemuFwCfgLib|OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgPeiLib.inf
!if $(TPM2_ENABLE) == TRUE
+ BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
!endif
@@ -608,6 +609,12 @@ !if $(TPM2_ENABLE) == TRUE
OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
+ SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {
+ <LibraryClasses>
+ HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
+ NULL|SecurityPkg/Library/HashInstanceLibSha1/HashInstanceLibSha1.inf
+ NULL|SecurityPkg/Library/HashInstanceLibSha256/HashInstanceLibSha256.inf
+ }
!endif
#
|