[webkit-reviews] review granted: [Bug 224083] WebCrypto in Safari will not AES-GCM encrypt 0 bytes : [Attachment 425078] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 6 10:10:31 PDT 2021


youenn fablet <youennf at gmail.com> has granted Jiewen Tan
<jiewen_tan at apple.com>'s request for review:
Bug 224083: WebCrypto in Safari will not AES-GCM encrypt 0 bytes
https://bugs.webkit.org/show_bug.cgi?id=224083

Attachment 425078: Patch

https://bugs.webkit.org/attachment.cgi?id=425078&action=review




--- Comment #6 from youenn fablet <youennf at gmail.com> ---
Comment on attachment 425078
  --> https://bugs.webkit.org/attachment.cgi?id=425078
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=425078&action=review

> Source/WebCore/crypto/mac/CryptoAlgorithmAES_GCMMac.cpp:73
> +    plainText.shrink(cipherText.size() - desiredTagLengthInBytes);

You could use offset here.


More information about the webkit-reviews mailing list