Skip to content

Commit

Permalink
Throw an OperationError in the PBKDF2 and HKDF derive bits operations…
Browse files Browse the repository at this point in the history
… if length is zero (#275)

SHA: 6438d87
Reason: push, by @twiss

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
littledivy and github-actions[bot] committed Sep 2, 2021
1 parent e5f4fdc commit b876010
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@
"id": "x690"
}
},
"publishISODate": "2021-08-21T00:00:00.000Z",
"generatedSubtitle": "Editor's Draft 21 August 2021"
"publishISODate": "2021-09-02T00:00:00.000Z",
"generatedSubtitle": "Editor's Draft 02 September 2021"
}</script><link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED"></head>

<body class="h-entry" data-cite="WebIDL html dom webidl"><div class="head">
<a class="logo" href="https://www.w3.org/"><img alt="W3C" width="72" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C"></a> <h1 id="title" class="title">Web Cryptography API</h1>

<h2>
W3C Editor's Draft
<time class="dt-published" datetime="2021-08-21">21 August 2021</time>
<time class="dt-published" datetime="2021-09-02">02 September 2021</time>
</h2>
<dl>
<dt>This version:</dt><dd>
Expand Down Expand Up @@ -14405,7 +14405,7 @@ <h3 id="x31-4-operations"><bdi class="secno">31.4 </bdi>Operations<a class="self
<ol>
<li>
<p>
If <var>length</var> is null or is not a multiple of 8, then <a data-type="dfn" href="https://heycam.github.io/webidl/#dfn-throw">throw</a> an <a data-type="exception" href="https://heycam.github.io/webidl/#operationerror"><code>OperationError</code></a>.
If <var>length</var> is null or zero, or is not a multiple of 8, then <a data-type="dfn" href="https://heycam.github.io/webidl/#dfn-throw">throw</a> an <a data-type="exception" href="https://heycam.github.io/webidl/#operationerror"><code>OperationError</code></a>.
</p>
</li>
<li>
Expand Down Expand Up @@ -14639,7 +14639,7 @@ <h3 id="x32-4-operations"><bdi class="secno">32.4 </bdi>Operations<a class="self
<ol>
<li>
<p>
If <var>length</var> is null or is not a multiple of 8, then <a data-type="dfn" href="https://heycam.github.io/webidl/#dfn-throw">throw</a> an <a data-type="exception" href="https://heycam.github.io/webidl/#operationerror"><code>OperationError</code></a>.
If <var>length</var> is null or zero, or is not a multiple of 8, then <a data-type="dfn" href="https://heycam.github.io/webidl/#dfn-throw">throw</a> an <a data-type="exception" href="https://heycam.github.io/webidl/#operationerror"><code>OperationError</code></a>.
</p>
</li>
<li>
Expand Down

0 comments on commit b876010

Please sign in to comment.