[Webkit-unassigned] [Bug 207176] [OpenSSL] Implement WebCrypto APIs for AES-CBC, AES-CFB and AES-GCM
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 6 17:15:58 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=207176
--- Comment #15 from Yoshiaki Jitsukawa <yoshiaki.jitsukawa at sony.com> ---
Comment on attachment 389788
--> https://bugs.webkit.org/attachment.cgi?id=389788
patch
View in context: https://bugs.webkit.org/attachment.cgi?id=389788&action=review
> Source/WebCore/crypto/openssl/CryptoAlgorithmAES_GCMOpenSSL.cpp:61
> + Vector<uint8_t> cipherText(plainText.size());
We can reserve this cipherText buffer including the tag area like: Vector<uint8_t> cipherText(plainText.size() + tagLength)
so that we can avoid potential memory reallocation afterwards.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200207/3d09eda3/attachment.htm>
More information about the webkit-unassigned
mailing list