| Previous | Next |
| TPM_E_PCP_INVALID_HANDLE | TPM_E_PCP_FLAG_NOT_SUPPORTED |
TPM_E_PCP_INVALID_PARAMETER
TPM_E_PCP_INVALID_PARAMETER means a Platform Crypto Provider operation received a parameter that is not valid for the requested TPM-backed key or operation.
What to check
- Check the CNG function contract, parameter sizes, optional buffers, and the flags accepted by the particular operation.
- Confirm that the key belongs to the Microsoft Platform Crypto Provider and has the expected algorithm and usage properties.
- For a reproducible application error, capture the exact API call and its input lengths rather than changing TPM ownership or firmware settings.
Microsoft: CNG key storage providers
Microsoft: NCryptOpenStorageProvider
Microsoft: TPM and PCP error codes
Looking for a different code? Search another status or error code.