| Summary: | [OpenSSL] Implement CryptoAlgorithmRSA* | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yoshiaki Jitsukawa <yoshiaki.jitsukawa> | ||||||||
| Component: | Platform | Assignee: | Yoshiaki Jitsukawa <yoshiaki.jitsukawa> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | annulen, benjamin, cdumez, chris.reid, cmarcelo, don.olmstead, ews-watchlist, gyuyoung.kim, Hironori.Fujii, jiewen_tan, ryuan.choi, sergio, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 206439 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Yoshiaki Jitsukawa
2021-05-03 02:10:45 PDT
Created attachment 427550 [details]
Patch
Comment on attachment 427550 [details]
Patch
Taking down the first patch to add some more RSA implementation.
Created attachment 427762 [details]
Patch
Comment on attachment 427762 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=427762&action=review Just have an informal comment > Source/WebCore/crypto/openssl/CryptoAlgorithmRSAES_PKCS1_v1_5OpenSSL.cpp:38 > + RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(!(key.keySizeInBits() % 8)); Are these RELEASE_ASSERT_WITH_SECURITY_IMPLICATION checks needed? It looks like keySizeInBits returns either 0 or a multiple of 8 from getRSAModulusLength. > Are these RELEASE_ASSERT_WITH_SECURITY_IMPLICATION checks needed? It looks like keySizeInBits returns either 0 or a multiple of 8 from getRSAModulusLength.
Nope, not really needed. I'll remove these.
Created attachment 427871 [details]
Patch
(In reply to Yoshiaki Jitsukawa from comment #6) > Created attachment 427871 [details] > Patch Removed RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(!(key.keySizeInBits() % 8)). Committed r277142 (237429@main): <https://commits.webkit.org/237429@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 427871 [details]. Filed: Bug 225581 – [WinCairo][Clang] lld-link: error: undefined symbol: public: static class GenericTypedArrayView<> in CryptoKeyRSAOpenSSL.cpp *** Bug 206635 has been marked as a duplicate of this bug. *** |