| Summary: | [WebCrypto] Support Elliptic Curve P-521 on Mac | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jonas Finnemann Jensen <jopsen> | ||||||||||||||||
| Component: | WebCore Misc. | Assignee: | Chris Dumez <cdumez> | ||||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||||
| Severity: | Normal | CC: | achristensen, bfulgham, cdumez, darin, ggaren, jiewen_tan, katherine_cheney, sam, webkit-bug-importer, yoshiaki.jitsukawa | ||||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||||
| Version: | Safari 13 | ||||||||||||||||||
| Hardware: | Mac | ||||||||||||||||||
| OS: | macOS 10.15 | ||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Jonas Finnemann Jensen
2020-09-20 15:44:02 PDT
Created attachment 432998 [details]
WIP Patch
Created attachment 432999 [details]
WIP Patch
A couple of tests are crashing in signECDSA(), I will need to figure out why. Created attachment 433036 [details]
WIP Patch
Created attachment 433037 [details]
Patch
Created attachment 433043 [details]
Patch
Created attachment 433065 [details]
Patch
Comment on attachment 433065 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=433065&action=review > Source/WebCore/crypto/mac/CryptoKeyECMac.cpp:62 > + return size == 133; It would be nice if these were given names instead of just magic numbers. Or they could be calculated from constexpr expressions. > Source/WebCore/crypto/mac/CryptoKeyECMac.cpp:78 > + return size == 66; ditto. Created attachment 433090 [details]
Patch
(In reply to Alex Christensen from comment #9) > Comment on attachment 433065 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=433065&action=review > > > Source/WebCore/crypto/mac/CryptoKeyECMac.cpp:62 > > + return size == 133; > > It would be nice if these were given names instead of just magic numbers. > Or they could be calculated from constexpr expressions. > > > Source/WebCore/crypto/mac/CryptoKeyECMac.cpp:78 > > + return size == 66; > > ditto. Fixed. Now computed using constexpr functions instead of hardcoded values. Committed r279688 (239493@main): <https://commits.webkit.org/239493@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 433090 [details]. |