[WebCryptoAPI]

There is a mistake in decryption of plaintext limit for AES-GCM at https://www.w3.org/TR/WebCryptoAPI/#aes-gcm-description.
„1. If plaintext has a length greater than 2^39 - 256 bytes, then throw<https://www.w3.org/TR/WebCryptoAPI/#concept-throw> an OperationError<https://www.w3.org/TR/WebCryptoAPI/#dfn-OperationError>.”
Allowed size is 2^39 -256 bits not bytes.


Best wishes

Received on Monday, 19 August 2019 09:06:37 UTC