diff --git a/index.html b/index.html
index b824bc8..fab3cd2 100644
--- a/index.html
+++ b/index.html
@@ -150,6 +150,11 @@
Operations
|key|, then [= exception/throw =] an {{InvalidAccessError}}.
+
+
+ If |length| is not null, and not equal to 256, then [= exception/throw =] an {{OperationError}}.
+
+
Let |secret| be the result of performing the X25519 function specified in
@@ -166,27 +171,7 @@
Operations
-
- - If |length| is null:
- - Return |secret|
- - Otherwise:
- -
-
- -
- If the length of |secret| in bits is less than
- |length|:
-
- -
- [= exception/throw =] an
- {{OperationError}}.
-
- - Otherwise:
- -
- Return an octet string containing the first |length| bits of |secret|.
-
-
-
-
+ Return |secret|.
@@ -1002,6 +987,11 @@ Operations
|key|, then [= exception/throw =] an {{InvalidAccessError}}.
+
+
+ If |length| is not null, and not equal to 448, then [= exception/throw =] an {{OperationError}}.
+
+
Let |secret| be the result of performing the X448 function specified in
@@ -1018,27 +1008,7 @@
Operations
-
- - If |length| is null:
- - Return |secret|
- - Otherwise:
- -
-
- -
- If the length of |secret| in bits is less than
- |length|:
-
- -
- [= exception/throw =] an
- {{OperationError}}.
-
- - Otherwise:
- -
- Return an octet string containing the first |length| bits of |secret|.
-
-
-
-
+ Return |secret|.