/* This service is a proxy for commands to the TPM. */
EFI_STATUS EFIAPI TcgDxePassThroughToTpm(IN EFI_TCG_PROTOCOL *This, IN UINT32 TpmInputParameterBlockSize, IN UINT8 *TpmInputParameterBlock, IN UINT32 TpmOutputParameterBlockSize, IN UINT8 *TpmOutputParameterBlock)
/* This service is a proxy for commands to the TPM. */
EFI_STATUS EFIAPI TcgDxePassThroughToTpm(IN EFI_TCG_PROTOCOL *This, IN UINT32 TpmInputParameterBlockSize, IN UINT8 *TpmInputParameterBlock, IN UINT32 TpmOutputParameterBlockSize, IN UINT8 *TpmOutputParameterBlock)
{
  if ((TpmInputParameterBlock == NULL) ||
      (TpmOutputParameterBlock == NULL) ||
      (TpmInputParameterBlockSize == 0) ||
      (TpmOutputParameterBlockSize == 0))
  {
    return EFI_INVALID_PARAMETER;
  }
  return Tpm12SubmitCommand (
           TpmInputParameterBlockSize,
           TpmInputParameterBlock,
           &TpmOutputParameterBlockSize,
           TpmOutputParameterBlock
           );
}