DescriptionWork around a bug in the NCryptSignHash implementation of some smartcards.
Some smartcards do not properly handle the output length (either bounds
checking or returning the output size) when the output buffer is non-NULL.
Work around those by calling twice despite already having a pre-allocated
buffer.
BUG=470204
Committed: https://crrev.com/52850c1e665f3f18e3e6d6b9c46c7763e858c041
Cr-Commit-Position: refs/heads/master@{#322632}
Patch Set 1 #Patch Set 2 : comments #Patch Set 3 : #
Total comments: 4
Patch Set 4 : sleevi comments #Patch Set 5 : unnecessary churn #Messages
Total messages: 9 (3 generated)
|