Skip to content

Commit

Permalink
Link to byte sequence/length where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
twiss committed Jan 7, 2025
1 parent 29ed765 commit 0e6aafa
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions spec/Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -12053,8 +12053,8 @@ <h4>Operations</h4>
<li>
<p>
If the {{AesCtrParams/counter}} member of
|normalizedAlgorithm| does not have length 16
bytes,
|normalizedAlgorithm| does not have
a [= byte sequence/length =] of 16 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
Expand Down Expand Up @@ -12093,8 +12093,8 @@ <h4>Operations</h4>
<li>
<p>
If the {{AesCtrParams/counter}} member of
|normalizedAlgorithm| does not have length 16
bytes,
|normalizedAlgorithm| does not have
a [= byte sequence/length =] of 16 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
Expand Down Expand Up @@ -12594,8 +12594,8 @@ <h4>Operations</h4>
<li>
<p>
If the {{AesCbcParams/iv}} member of
|normalizedAlgorithm| does not have length 16
bytes,
|normalizedAlgorithm| does not have
a [= byte sequence/length =] of 16 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
Expand Down Expand Up @@ -12630,8 +12630,8 @@ <h4>Operations</h4>
<li>
<p>
If the {{AesCbcParams/iv}} member of
|normalizedAlgorithm| does not have length 16
bytes,
|normalizedAlgorithm| does not have
a [= byte sequence/length =] of 16 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
Expand Down Expand Up @@ -13130,25 +13130,26 @@ <h4>Operations</h4>
<ol>
<li>
<p>
If |plaintext| has a length greater than 2^39 - 256
bytes,
If |plaintext| has a [= byte sequence/length =]
greater than 2^39 - 256 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
</li>
<li>
<p>
If the {{AesGcmParams/iv}} member of
|normalizedAlgorithm| has a length greater than 2^64 - 1
bytes,
|normalizedAlgorithm| has a [= byte sequence/length =]
greater than 2^64 - 1 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
</li>
<li>
<p>
If the {{AesGcmParams/additionalData}} member
of |normalizedAlgorithm| is present and has a length
of |normalizedAlgorithm| is present and has a
[= byte sequence/length =]
greater than 2^64 - 1 bytes,
then [= exception/throw =] an
{{OperationError}}.
Expand Down Expand Up @@ -13232,18 +13233,18 @@ <h4>Operations</h4>
<li>
<p>
If the {{AesGcmParams/iv}} member of
|normalizedAlgorithm| has a length greater than 2^64 - 1
bytes,
|normalizedAlgorithm| has a [= byte sequence/length =]
greater than 2^64 - 1 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
</li>
<li>
<p>
If the {{AesGcmParams/additionalData}} member
of |normalizedAlgorithm| is present and has a length
greater than 2^64 - 1
bytes,
of |normalizedAlgorithm| is present and has a
[= byte sequence/length =]
greater than 2^64 - 1 bytes,
then [= exception/throw =] an
{{OperationError}}.
</p>
Expand Down

0 comments on commit 0e6aafa

Please sign in to comment.