Skip to content

Commit e8b5255

Browse files
committed
Throw when length == 0 in the ECDH derive bits operation
1 parent 0eed687 commit e8b5255

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/Overview.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8714,6 +8714,11 @@ <h4>Operations</h4>
87148714
<dt>Derive Bits</dt>
87158715
<dd>
87168716
<ol>
8717+
<li>
8718+
<p>
8719+
If |length| is zero, then [= exception/throw =] an {{OperationError}}.
8720+
</p>
8721+
</li>
87178722
<li>
87188723
<p>
87198724
If the {{CryptoKey/[[type]]}} internal slot of

0 commit comments

Comments
 (0)