| Previous | Next |
| TPMAPI_E_INVALID_KEY_SIZE | TPMAPI_E_INVALID_KEY_PARAMS |
TPMAPI_E_ENCRYPTION_FAILED
TPMAPI_E_ENCRYPTION_FAILED is a Windows TPM API result. It indicates that an encryption operation in the TPM API path could not be completed with the supplied key, data, or policy.
What to check
- Check the key type, authorization, algorithm parameters, and plaintext size for the operation.
- Verify that the key remains available and has not been invalidated by a TPM clear or policy change.
- Record the preceding HRESULT or TPM status because this result can wrap a more specific cause.
Microsoft documentation for TPMAPI error codes
Looking for a different code? Search another status or error code.