What does HRESULT 0x80280142 (TPM_20_E_COMMAND_SIZE) mean?

 
Previous Next
TPM_20_E_UNBALANCED TPM_20_E_COMMAND_CODE

TPM_20_E_COMMAND_SIZE

TPM_20_E_COMMAND_SIZE maps to TPM_RC_COMMAND_SIZE. The top-level commandSize value disagrees with the octets loaded by the hardware interface or is too small to hold a command header. The TPM rejects the request before normal command actions can begin.

Diagnostic steps

  • Log the header tag, commandSize, command code, and the exact byte count delivered to the TPM transport.
  • Check marshaling boundaries between the application, TSS, driver, and any proxy or simulator.
  • Do not confuse this with TPM_20_E_INSUFFICIENT, which denotes a shortage found while decoding a nested value.

TCG TPM 2.0 Part 2: TPM_RC_COMMAND_SIZE · TCG TPM 2.0 Part 3: command header layout


Looking for a different code? Search another status or error code.