yanran
yanran

Reputation: 59

NCryptOpenStorageProvider return NTE_DEVICE_NOT_READY with TPM sometimes?

I've using win32 api NCryptOpenStorageProvider to store key pair on Windows with TPM, like:

status = NCryptOpenStorageProvider(provider, MS_PLATFORM_CRYPTO_PROVIDER, 0);

I found that some machine will return NTE_DEVICE_NOT_READY, but it works successfully sometimes.

Does anybody know why?

Upvotes: 0

Views: 51

Answers (0)

Related Questions