Summary: | [WebCrypto] Enhance ways to convert an ECDSA signature binary into DER format | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jiewen Tan <jiewen_tan> | ||||||||
Component: | WebCore Misc. | Assignee: | Jiewen Tan <jiewen_tan> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bfulgham, commit-queue, jiewen_tan, ryanhaddad, sam, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Jiewen Tan
2017-04-25 13:53:07 PDT
Created attachment 308138 [details]
Patch
Created attachment 308143 [details]
Patch
What does it mean this covered by existing tests? Do those tests change their results? (In reply to Sam Weinig from comment #4) > What does it mean this covered by existing tests? Do those tests change > their results? crypto/subtle/ecdsa-import-key-verify-p384.html fails in Internal Bots. After this change, it should pass. That's why this change is covered by existing tests. Please see radars for further information. Comment on attachment 308143 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=308143&action=review r=me. > Source/WebCore/crypto/mac/CryptoAlgorithmECDSAMac.cpp:147 > + // InitialOctet is needed when the first byte of r/s is larger or equal than 128. "larger or equal than" -> "greater than or equal to" Comment on attachment 308143 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=308143&action=review Thanks Brent for r+ my patch. >> Source/WebCore/crypto/mac/CryptoAlgorithmECDSAMac.cpp:147 >> + // InitialOctet is needed when the first byte of r/s is larger or equal than 128. > > "larger or equal than" -> "greater than or equal to" Fixed. Created attachment 308176 [details]
Patch for landing
Comment on attachment 308176 [details] Patch for landing Clearing flags on attachment: 308176 Committed r215791: <http://trac.webkit.org/changeset/215791> |