Home
last modified time | relevance | path

Searched refs:TpmOutSize (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/
DTpm2Tis.c223 UINT32 TpmOutSize; in Tpm2TisTpmCommand() local
247 TpmOutSize = 0; in Tpm2TisTpmCommand()
338 TpmOutSize = SwapBytes32 (Data32); in Tpm2TisTpmCommand()
339 if (*SizeOut < TpmOutSize) { in Tpm2TisTpmCommand()
343 *SizeOut = TpmOutSize; in Tpm2TisTpmCommand()
347 while ( Index < TpmOutSize ) { in Tpm2TisTpmCommand()
351 if (Index == TpmOutSize) { in Tpm2TisTpmCommand()
365 for (Index = 0; Index < TpmOutSize; Index++) { in Tpm2TisTpmCommand()
DTpm2Ptp.c160 UINT32 TpmOutSize; in PtpCrbTpmCommand() local
184 TpmOutSize = 0; in PtpCrbTpmCommand()
279 TpmOutSize = SwapBytes32 (Data32); in PtpCrbTpmCommand()
280 if (*SizeOut < TpmOutSize) { in PtpCrbTpmCommand()
284 *SizeOut = TpmOutSize; in PtpCrbTpmCommand()
288 for (Index = sizeof (TPM2_RESPONSE_HEADER); Index < TpmOutSize; Index++) { in PtpCrbTpmCommand()
294 for (Index = 0; Index < TpmOutSize; Index++) { in PtpCrbTpmCommand()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/Tpm12DeviceLibAtmelI2c/
DTisPc.c264 UINT32 TpmOutSize; in Tpm12SubmitCommand() local
366 TpmOutSize = SwapBytes32 (ReadUnaligned32 (&ResponseHeader->paramSize)); in Tpm12SubmitCommand()
367 if (TpmOutSize == sizeof (TPM_RSP_COMMAND_HDR)) { in Tpm12SubmitCommand()
371 if (TpmOutSize < sizeof (TPM_RSP_COMMAND_HDR)) { in Tpm12SubmitCommand()
375 if (*OutputParameterBlockSize < TpmOutSize) { in Tpm12SubmitCommand()
379 *OutputParameterBlockSize = TpmOutSize; in Tpm12SubmitCommand()
387 TpmOutSize - sizeof (TPM_RSP_COMMAND_HDR) in Tpm12SubmitCommand()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12DeviceLibDTpm/
DTpm12Tis.c267 UINT32 TpmOutSize; in Tpm12TisTpmCommand() local
292 TpmOutSize = 0; in Tpm12TisTpmCommand()
379 TpmOutSize = SwapBytes32 (Data32); in Tpm12TisTpmCommand()
380 if (*SizeOut < TpmOutSize) { in Tpm12TisTpmCommand()
384 *SizeOut = TpmOutSize; in Tpm12TisTpmCommand()
388 while ( Index < TpmOutSize ) { in Tpm12TisTpmCommand()
392 if (Index == TpmOutSize) { in Tpm12TisTpmCommand()
406 for (Index = 0; Index < TpmOutSize; Index++) { in Tpm12TisTpmCommand()