Bug 227796

Summary: [WebCrypto] deriveBits() fails if length is not a multiple of 8 for ECDH algorithm
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, darin, ews-watchlist, ggaren, jiewen_tan, katherine_cheney, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>