Skip to content

Commit 2696582

Browse files
panvatwiss
authored andcommitted
Clarify SLH-DSA key size terminology
Use the FIPS 205 public-key size label and express the private-key size directly as four times n.
1 parent 95d1f12 commit 2696582

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎index.html‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5138,8 +5138,8 @@ <h5>Import Key</h5>
51385138
</li>
51395139
<li>
51405140
<p>
5141-
If the [= byte sequence/length =] of |keyData| is not the `pk length`
5142-
specified by Table 2 of [[FIPS-205]]
5141+
If the [= byte sequence/length =] of |keyData| is not the
5142+
public-key size (`pk bytes`) specified in Table 2 of [[FIPS-205]]
51435143
for the parameter set indicated by the {{Algorithm/name}} member of |normalizedAlgorithm|,
51445144
then [= exception/throw =] a
51455145
{{DataError}}.
@@ -5178,8 +5178,8 @@ <h5>Import Key</h5>
51785178
</li>
51795179
<li>
51805180
<p>
5181-
If the [= byte sequence/length =] of |keyData| is not 2 * the `pk length`
5182-
specified by Table 2 of [[FIPS-205]]
5181+
If the [= byte sequence/length =] of |keyData| is not
5182+
4 times the value of |n| in Table 2 of [[FIPS-205]]
51835183
for the parameter set indicated by the {{Algorithm/name}} member of |normalizedAlgorithm|,
51845184
then [= exception/throw =] a
51855185
{{DataError}}.

0 commit comments

Comments
 (0)