Reputation: 59
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