/* Register the security handler to provide TPM measure boot service. */
EFI_STATUS EFIAPI DxeTpmMeasureBootLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
/* Register the security handler to provide TPM measure boot service. */
EFI_STATUS EFIAPI DxeTpmMeasureBootLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
{
  EFI_HOB_GUID_TYPE  *GuidHob;
  GuidHob = NULL;
  GuidHob = GetFirstGuidHob (&gMeasuredFvHobGuid);
  if (GuidHob != NULL) {
    mMeasuredHobData = GET_GUID_HOB_DATA (GuidHob);
  }
  return RegisterSecurity2Handler (
           DxeTpmMeasureBootHandler,
           EFI_AUTH_OPERATION_MEASURE_IMAGE | EFI_AUTH_OPERATION_IMAGE_REQUIRED
           );
}