Bug 227796 - [WebCrypto] deriveBits() fails if length is not a multiple of 8 for ECDH algorithm
Summary: [WebCrypto] deriveBits() fails if length is not a multiple of 8 for ECDH algo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-07-08 08:56 PDT by Chris Dumez
Modified: 2021-07-08 09:30 PDT (History)
9 users (show)

See Also:


Attachments
Patch (10.60 KB, patch)
2021-07-08 08:58 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-07-08 08:56:27 PDT
deriveBits() fails if length is not a multiple of 8 for ECDH algorithm. This doesn't match the specification or the behavior of Chrome.
Comment 1 Chris Dumez 2021-07-08 08:58:08 PDT
Created attachment 433134 [details]
Patch
Comment 2 EWS 2021-07-08 09:29:23 PDT
Committed r279723 (239511@main): <https://commits.webkit.org/239511@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 433134 [details].
Comment 3 Radar WebKit Bug Importer 2021-07-08 09:30:17 PDT
<rdar://problem/80327952>