From fc6d00a1116d3f9caee7199ebb5c26dba8877538 Mon Sep 17 00:00:00 2001
From: Filip Skokan Import Key
then [= exception/throw =] a
{{DataError}}.
+ The import operation shall accept `ML-KEM-512-PrivateKey`, `ML-KEM-768-PrivateKey`, or `ML-KEM-1024-PrivateKey` + structures in either one of the three CHOICEs (seed-only, private-only, or both). The absence of a seed + or presence of the expanded private key is not a reason to [= exception/throw =] a {{DataError}}. +
@@ -2081,6 +2086,14 @@
+ If the `[[type]]` internal slot + of |key| is "`private`" and an ML-KEM seed cannot be resolved from the + `[[handle]]` + internal slot of |key|, then [= exception/throw =] an {{OperationError}}. +
++ The import operation shall accept `ML-DSA-44-PrivateKey`, `ML-DSA-65-PrivateKey`, or `ML-DSA-87-PrivateKey` + structures in either one of the three CHOICEs (seed-only, private-only, or both). The absence of a seed + or presence of the expanded private key is not a reason to [= exception/throw =] a {{DataError}}. +
@@ -3225,6 +3243,14 @@
+ If the `[[type]]` internal slot + of |key| is "`private`" and an ML-DSA seed cannot be resolved from the + `[[handle]]` + internal slot of |key|, then [= exception/throw =] an {{OperationError}}. +
+