Bug 164942 - [Mac] Get rid of magic number 16384 in CryptoKeyRSAMac.cpp
Summary: [Mac] Get rid of magic number 16384 in CryptoKeyRSAMac.cpp
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-11-18 11:55 PST by Jiewen Tan
Modified: 2024-01-02 09:20 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiewen Tan 2016-11-18 11:55:22 PST
Get rid of magic number 16384 in CryptoKeyRSAMac.cpp.
Comment 1 Radar WebKit Bug Importer 2017-01-05 18:15:58 PST
<rdar://problem/29894561>
Comment 2 Ahmad Saleem 2024-01-02 09:20:33 PST
We have this FIXME:

https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp#47

// FIXME: We should get rid of magic number 16384. It assumes that the length of provided key will not exceed 16KB.

In function 'getPublicKeyComponents'.