Associate BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC with the P256 curve (the only EC key type we generate now). #31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Associate BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC with the P256 curve (the only EC key type we generate now).
It is a temporary fix for, most likely, an PCP/ncrypt bug where for generating ECDSA P256 an ECCPUBLICBLOB with BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC is returned. Tested on Win 10 Ent 10.0.19042 Build 19042 with bcrypt/ncrypt 10.0.19041.662.