Skip to content

Commit e9ccc48

Browse files
committed
Add step to reject raw x25519 keys that are not 256 bits
1 parent 37f41ce commit e9ccc48

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec/Overview.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11775,6 +11775,14 @@ <h5>Import Key</h5>
1177511775
{{SyntaxError}}.
1177611776
</p>
1177711777
</li>
11778+
<li>
11779+
<p>
11780+
If the [= length in bits =] of the data
11781+
represented by |keyData| is not 256
11782+
then [= exception/throw =] a
11783+
{{DataError}}.
11784+
</p>
11785+
</li>
1177811786
<li>
1177911787
<p>
1178011788
Let |algorithm| be a new {{KeyAlgorithm}} object.

0 commit comments

Comments
 (0)