Site icon EfmSoft

What does HRESULT 0x80290106 (TPMAPI_E_BUFFER_TOO_SMALL) mean?

 
Previous Next
TPMAPI_E_OUT_OF_MEMORY TPMAPI_E_INTERNAL_ERROR

TPMAPI_E_BUFFER_TOO_SMALL

TPMAPI_E_BUFFER_TOO_SMALL is a Windows TPM API result. It indicates that the destination buffer cannot hold the returned TPM data or encoded result.

What to check for TPMAPI_E_BUFFER_TOO_SMALL

  • Read the returned required size when the API provides one, then allocate a larger buffer.
  • Verify that byte counts, not element counts, are supplied for buffers whose APIs use byte lengths.
  • Handle variable-size TPM blobs and logs without relying on a fixed legacy buffer size.

Microsoft documentation for TPMAPI error codes

Diagnostic discriminator: Compare the caller-provided output-buffer capacity with the size required by the TPM API. This result is a destination sizing contract, not malformed TPM data.


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

Exit mobile version