Skip to content

Commit c2debe4

Browse files
committed
sorted out PQC name casing properly...
1 parent 2d58b9b commit c2debe4

File tree

4 files changed

+68
-70
lines changed

4 files changed

+68
-70
lines changed

prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/mldsa/SignatureSpi.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
import org.bouncycastle.jcajce.spec.MLDSAParameterSpec;
1414
import org.bouncycastle.pqc.crypto.mldsa.MLDSAParameters;
1515
import org.bouncycastle.pqc.crypto.mldsa.MLDSASigner;
16-
import org.bouncycastle.util.Strings;
1716

1817
public class SignatureSpi
1918
extends java.security.Signature
@@ -49,7 +48,7 @@ protected void engineInitVerify(PublicKey publicKey)
4948
if (parameters != null)
5049
{
5150
String canonicalAlg = MLDSAParameterSpec.fromName(parameters.getName()).getName();
52-
if (!canonicalAlg.equals(Strings.toLowerCase(key.getAlgorithm())))
51+
if (!canonicalAlg.equals(key.getAlgorithm()))
5352
{
5453
throw new InvalidKeyException("signature configured for " + canonicalAlg);
5554
}
@@ -82,7 +81,7 @@ protected void engineInitSign(PrivateKey privateKey)
8281
if (parameters != null)
8382
{
8483
String canonicalAlg = MLDSAParameterSpec.fromName(parameters.getName()).getName();
85-
if (!canonicalAlg.equals(Strings.toLowerCase(key.getAlgorithm())))
84+
if (!canonicalAlg.equals(key.getAlgorithm()))
8685
{
8786
throw new InvalidKeyException("signature configured for " + canonicalAlg);
8887
}

prov/src/main/java/org/bouncycastle/jcajce/spec/MLDSAParameterSpec.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@
1212
public class MLDSAParameterSpec
1313
implements AlgorithmParameterSpec
1414
{
15-
public static final MLDSAParameterSpec ml_dsa_44 = new MLDSAParameterSpec("ml-dsa-44");
16-
public static final MLDSAParameterSpec ml_dsa_65 = new MLDSAParameterSpec("ml-dsa-65");
17-
public static final MLDSAParameterSpec ml_dsa_87 = new MLDSAParameterSpec("ml-dsa-87");
15+
public static final MLDSAParameterSpec ml_dsa_44 = new MLDSAParameterSpec("ML-DSA-44");
16+
public static final MLDSAParameterSpec ml_dsa_65 = new MLDSAParameterSpec("ML-DSA-65");
17+
public static final MLDSAParameterSpec ml_dsa_87 = new MLDSAParameterSpec("ML-DSA-87");
1818

19-
public static final MLDSAParameterSpec ml_dsa_44_with_sha512 = new MLDSAParameterSpec("ml-dsa-44-with-sha512");
20-
public static final MLDSAParameterSpec ml_dsa_65_with_sha512 = new MLDSAParameterSpec("ml-dsa-65-with-sha512");
21-
public static final MLDSAParameterSpec ml_dsa_87_with_sha512 = new MLDSAParameterSpec("ml-dsa-87-with-sha512");
19+
public static final MLDSAParameterSpec ml_dsa_44_with_sha512 = new MLDSAParameterSpec("ML-DSA-44-WITH-SHA512");
20+
public static final MLDSAParameterSpec ml_dsa_65_with_sha512 = new MLDSAParameterSpec("ML-DSA-65-WITH-SHA512");
21+
public static final MLDSAParameterSpec ml_dsa_87_with_sha512 = new MLDSAParameterSpec("ML-DSA-87-WITH-SHA512");
2222

2323
private static Map parameters = new HashMap();
2424

2525
static
2626
{
27-
parameters.put(ml_dsa_44.name, MLDSAParameterSpec.ml_dsa_44);
28-
parameters.put(ml_dsa_65.name, MLDSAParameterSpec.ml_dsa_65);
29-
parameters.put(ml_dsa_87.name, MLDSAParameterSpec.ml_dsa_87);
30-
parameters.put(ml_dsa_44_with_sha512.name, MLDSAParameterSpec.ml_dsa_44_with_sha512);
31-
parameters.put(ml_dsa_65_with_sha512.name, MLDSAParameterSpec.ml_dsa_65_with_sha512);
32-
parameters.put(ml_dsa_87_with_sha512.name, MLDSAParameterSpec.ml_dsa_87_with_sha512);
27+
parameters.put("ml-dsa-44", MLDSAParameterSpec.ml_dsa_44);
28+
parameters.put("ml-dsa-65", MLDSAParameterSpec.ml_dsa_65);
29+
parameters.put("ml-dsa-87", MLDSAParameterSpec.ml_dsa_87);
30+
parameters.put("ml-dsa-44-with-sha512", MLDSAParameterSpec.ml_dsa_44_with_sha512);
31+
parameters.put("ml-dsa-65-with-sha512", MLDSAParameterSpec.ml_dsa_65_with_sha512);
32+
parameters.put("ml-dsa-87-with-sha512", MLDSAParameterSpec.ml_dsa_87_with_sha512);
3333
}
3434

3535
private final String name;

prov/src/main/java/org/bouncycastle/jcajce/spec/MLKEMParameterSpec.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@
1212
public class MLKEMParameterSpec
1313
implements AlgorithmParameterSpec
1414
{
15-
public static final MLKEMParameterSpec ml_kem_512 = new MLKEMParameterSpec("ml-kem-512");
16-
public static final MLKEMParameterSpec ml_kem_768 = new MLKEMParameterSpec("ml-kem-768");
17-
public static final MLKEMParameterSpec ml_kem_1024 = new MLKEMParameterSpec("ml-kem-1024");
15+
public static final MLKEMParameterSpec ml_kem_512 = new MLKEMParameterSpec("ML-KEM-512");
16+
public static final MLKEMParameterSpec ml_kem_768 = new MLKEMParameterSpec("ML-KEM-768");
17+
public static final MLKEMParameterSpec ml_kem_1024 = new MLKEMParameterSpec("ML-KEM-1024");
1818

1919
private static Map parameters = new HashMap();
2020

2121
static
2222
{
23-
parameters.put(ml_kem_512.name, MLKEMParameterSpec.ml_kem_512);
24-
parameters.put(ml_kem_768.name, MLKEMParameterSpec.ml_kem_768);
25-
parameters.put(ml_kem_1024.name, MLKEMParameterSpec.ml_kem_1024);
23+
parameters.put("ml-kem-512", MLKEMParameterSpec.ml_kem_512);
24+
parameters.put("ml-kem-768", MLKEMParameterSpec.ml_kem_768);
25+
parameters.put("ml-kem-1024", MLKEMParameterSpec.ml_kem_1024);
2626

2727
parameters.put("kyber512", MLKEMParameterSpec.ml_kem_512);
2828
parameters.put("kyber768", MLKEMParameterSpec.ml_kem_768);

prov/src/main/java/org/bouncycastle/jcajce/spec/SLHDSAParameterSpec.java

Lines changed: 48 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -12,57 +12,57 @@
1212
public class SLHDSAParameterSpec
1313
implements AlgorithmParameterSpec
1414
{
15-
public static final SLHDSAParameterSpec slh_dsa_sha2_128f = new SLHDSAParameterSpec("slh-dsa-sha2-128f");
16-
public static final SLHDSAParameterSpec slh_dsa_sha2_128s = new SLHDSAParameterSpec("slh-dsa-sha2-128s");
15+
public static final SLHDSAParameterSpec slh_dsa_sha2_128f = new SLHDSAParameterSpec("SLH-DSA-SHA2-128F");
16+
public static final SLHDSAParameterSpec slh_dsa_sha2_128s = new SLHDSAParameterSpec("SLH-DSA-SHA2-128S");
1717

18-
public static final SLHDSAParameterSpec slh_dsa_sha2_192f = new SLHDSAParameterSpec("slh-dsa-sha2-192f");
19-
public static final SLHDSAParameterSpec slh_dsa_sha2_192s = new SLHDSAParameterSpec("slh-dsa-sha2-192s");
18+
public static final SLHDSAParameterSpec slh_dsa_sha2_192f = new SLHDSAParameterSpec("SLH-DSA-SHA2-192F");
19+
public static final SLHDSAParameterSpec slh_dsa_sha2_192s = new SLHDSAParameterSpec("SLH-DSA-SHA2-192S");
2020

21-
public static final SLHDSAParameterSpec slh_dsa_sha2_256f = new SLHDSAParameterSpec("slh-dsa-sha2-256f");
22-
public static final SLHDSAParameterSpec slh_dsa_sha2_256s = new SLHDSAParameterSpec("slh-dsa-sha2-256s");
21+
public static final SLHDSAParameterSpec slh_dsa_sha2_256f = new SLHDSAParameterSpec("SLH-DSA-SHA2-256F");
22+
public static final SLHDSAParameterSpec slh_dsa_sha2_256s = new SLHDSAParameterSpec("SLH-DSA-SHA2-256S");
2323

2424
// SHAKE-256.
2525

26-
public static final SLHDSAParameterSpec slh_dsa_shake_128f = new SLHDSAParameterSpec("slh-dsa-shake-128f");
27-
public static final SLHDSAParameterSpec slh_dsa_shake_128s = new SLHDSAParameterSpec("slh-dsa-shake-128s");
26+
public static final SLHDSAParameterSpec slh_dsa_shake_128f = new SLHDSAParameterSpec("SLH-DSA-SHAKE-128F");
27+
public static final SLHDSAParameterSpec slh_dsa_shake_128s = new SLHDSAParameterSpec("SLH-DSA-SHAKE-128S");
2828

29-
public static final SLHDSAParameterSpec slh_dsa_shake_192f = new SLHDSAParameterSpec("slh-dsa-shake-192f");
30-
public static final SLHDSAParameterSpec slh_dsa_shake_192s = new SLHDSAParameterSpec("slh-dsa-shake-192s");
29+
public static final SLHDSAParameterSpec slh_dsa_shake_192f = new SLHDSAParameterSpec("SLH-DSA-SHAKE-192F");
30+
public static final SLHDSAParameterSpec slh_dsa_shake_192s = new SLHDSAParameterSpec("SLH-DSA-SHAKE-192S");
3131

32-
public static final SLHDSAParameterSpec slh_dsa_shake_256f = new SLHDSAParameterSpec("slh-dsa-shake-256f");
33-
public static final SLHDSAParameterSpec slh_dsa_shake_256s = new SLHDSAParameterSpec("slh-dsa-shake-256s");
32+
public static final SLHDSAParameterSpec slh_dsa_shake_256f = new SLHDSAParameterSpec("SLH-DSA-SHAKE-256F");
33+
public static final SLHDSAParameterSpec slh_dsa_shake_256s = new SLHDSAParameterSpec("SLH-DSA-SHAKE-256S");
3434

3535
// PREHASH
36-
public static final SLHDSAParameterSpec slh_dsa_sha2_128f_with_sha256 = new SLHDSAParameterSpec("slh-dsa-sha2-128f-with-sha256");
37-
public static final SLHDSAParameterSpec slh_dsa_sha2_128s_with_sha256 = new SLHDSAParameterSpec("slh-dsa-sha2-128s-with-sha256");
36+
public static final SLHDSAParameterSpec slh_dsa_sha2_128f_with_sha256 = new SLHDSAParameterSpec("SLH-DSA-SHA2-128F-WITH-SHA256");
37+
public static final SLHDSAParameterSpec slh_dsa_sha2_128s_with_sha256 = new SLHDSAParameterSpec("SLH-DSA-SHA2-128S-WITH-SHA256");
3838

39-
public static final SLHDSAParameterSpec slh_dsa_sha2_192f_with_sha512 = new SLHDSAParameterSpec("slh-dsa-sha2-192f-with-sha512");
40-
public static final SLHDSAParameterSpec slh_dsa_sha2_192s_with_sha512 = new SLHDSAParameterSpec("slh-dsa-sha2-192s-with-sha512");
39+
public static final SLHDSAParameterSpec slh_dsa_sha2_192f_with_sha512 = new SLHDSAParameterSpec("SLH-DSA-SHA2-192F-WITH-SHA512");
40+
public static final SLHDSAParameterSpec slh_dsa_sha2_192s_with_sha512 = new SLHDSAParameterSpec("SLH-DSA-SHA2-192S-WITH-SHA512");
4141

42-
public static final SLHDSAParameterSpec slh_dsa_sha2_256f_with_sha512 = new SLHDSAParameterSpec("slh-dsa-sha2-256f-with-sha512");
43-
public static final SLHDSAParameterSpec slh_dsa_sha2_256s_with_sha512 = new SLHDSAParameterSpec("slh-dsa-sha2-256s-with-sha512");
42+
public static final SLHDSAParameterSpec slh_dsa_sha2_256f_with_sha512 = new SLHDSAParameterSpec("SLH-DSA-SHA2-256F-WITH-SHA512");
43+
public static final SLHDSAParameterSpec slh_dsa_sha2_256s_with_sha512 = new SLHDSAParameterSpec("SLH-DSA-SHA2-256S-WITH-SHA512");
4444

4545
// SHAKE-256.
4646

47-
public static final SLHDSAParameterSpec slh_dsa_shake_128f_with_shake128 = new SLHDSAParameterSpec("slh-dsa-shake-128f-with-shake128");
48-
public static final SLHDSAParameterSpec slh_dsa_shake_128s_with_shake128 = new SLHDSAParameterSpec("slh-dsa-shake-128s-with-shake128");
47+
public static final SLHDSAParameterSpec slh_dsa_shake_128f_with_shake128 = new SLHDSAParameterSpec("SLH-DSA-SHAKE-128F-WITH-SHAKE128");
48+
public static final SLHDSAParameterSpec slh_dsa_shake_128s_with_shake128 = new SLHDSAParameterSpec("SLH-DSA-SHAKE-128S-WITH-SHAKE128");
4949

50-
public static final SLHDSAParameterSpec slh_dsa_shake_192f_with_shake256 = new SLHDSAParameterSpec("slh-dsa-shake-192f-with-shake256");
51-
public static final SLHDSAParameterSpec slh_dsa_shake_192s_with_shake256 = new SLHDSAParameterSpec("slh-dsa-shake-192s-with-shake256");
50+
public static final SLHDSAParameterSpec slh_dsa_shake_192f_with_shake256 = new SLHDSAParameterSpec("SLH-DSA-SHAKE-192F-WITH-SHAKE256");
51+
public static final SLHDSAParameterSpec slh_dsa_shake_192s_with_shake256 = new SLHDSAParameterSpec("SLH-DSA-SHAKE-192S-WITH-SHAKE256");
5252

53-
public static final SLHDSAParameterSpec slh_dsa_shake_256f_with_shake256 = new SLHDSAParameterSpec("slh-dsa-shake-256f-with-shake256");
54-
public static final SLHDSAParameterSpec slh_dsa_shake_256s_with_shake256 = new SLHDSAParameterSpec("slh-dsa-shake-256s-with-shake256");
53+
public static final SLHDSAParameterSpec slh_dsa_shake_256f_with_shake256 = new SLHDSAParameterSpec("SLH-DSA-SHAKE-256F-WITH-SHAKE256");
54+
public static final SLHDSAParameterSpec slh_dsa_shake_256s_with_shake256 = new SLHDSAParameterSpec("SLH-DSA-SHAKE-256S-WITH-SHAKE256");
5555

5656
private static Map parameters = new HashMap();
5757

5858
static
5959
{
60-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_128f.getName(), SLHDSAParameterSpec.slh_dsa_sha2_128f);
61-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_128s.getName(), SLHDSAParameterSpec.slh_dsa_sha2_128s);
62-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_192f.getName(), SLHDSAParameterSpec.slh_dsa_sha2_192f);
63-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_192s.getName(), SLHDSAParameterSpec.slh_dsa_sha2_192s);
64-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_256f.getName(), SLHDSAParameterSpec.slh_dsa_sha2_256f);
65-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_256s.getName(), SLHDSAParameterSpec.slh_dsa_sha2_256s);
60+
parameters.put("slh-dsa-sha2-128f", SLHDSAParameterSpec.slh_dsa_sha2_128f);
61+
parameters.put("slh-dsa-sha2-128s", SLHDSAParameterSpec.slh_dsa_sha2_128s);
62+
parameters.put("slh-dsa-sha2-192f", SLHDSAParameterSpec.slh_dsa_sha2_192f);
63+
parameters.put("slh-dsa-sha2-192s", SLHDSAParameterSpec.slh_dsa_sha2_192s);
64+
parameters.put("slh-dsa-sha2-256f", SLHDSAParameterSpec.slh_dsa_sha2_256f);
65+
parameters.put("slh-dsa-sha2-256s", SLHDSAParameterSpec.slh_dsa_sha2_256s);
6666

6767
parameters.put("sha2-128f", SLHDSAParameterSpec.slh_dsa_sha2_128f);
6868
parameters.put("sha2-128s", SLHDSAParameterSpec.slh_dsa_sha2_128s);
@@ -71,12 +71,12 @@ public class SLHDSAParameterSpec
7171
parameters.put("sha2-256f", SLHDSAParameterSpec.slh_dsa_sha2_256f);
7272
parameters.put("sha2-256s", SLHDSAParameterSpec.slh_dsa_sha2_256s);
7373

74-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_128f.getName(), SLHDSAParameterSpec.slh_dsa_shake_128f);
75-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_128s.getName(), SLHDSAParameterSpec.slh_dsa_shake_128s);
76-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_192f.getName(), SLHDSAParameterSpec.slh_dsa_shake_192f);
77-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_192s.getName(), SLHDSAParameterSpec.slh_dsa_shake_192s);
78-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_256f.getName(), SLHDSAParameterSpec.slh_dsa_shake_256f);
79-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_256s.getName(), SLHDSAParameterSpec.slh_dsa_shake_256s);
74+
parameters.put("slh-dsa-sha2-128f", SLHDSAParameterSpec.slh_dsa_shake_128f);
75+
parameters.put("slh-dsa-sha2-128s", SLHDSAParameterSpec.slh_dsa_shake_128s);
76+
parameters.put("slh-dsa-sha2-192f", SLHDSAParameterSpec.slh_dsa_shake_192f);
77+
parameters.put("slh-dsa-sha2-192s", SLHDSAParameterSpec.slh_dsa_shake_192s);
78+
parameters.put("slh-dsa-sha2-256f", SLHDSAParameterSpec.slh_dsa_shake_256f);
79+
parameters.put("slh-dsa-sha2-256s", SLHDSAParameterSpec.slh_dsa_shake_256s);
8080

8181
parameters.put("shake-128f", SLHDSAParameterSpec.slh_dsa_shake_128f);
8282
parameters.put("shake-128s", SLHDSAParameterSpec.slh_dsa_shake_128s);
@@ -85,12 +85,12 @@ public class SLHDSAParameterSpec
8585
parameters.put("shake-256f", SLHDSAParameterSpec.slh_dsa_shake_256f);
8686
parameters.put("shake-256s", SLHDSAParameterSpec.slh_dsa_shake_256s);
8787

88-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_128f_with_sha256.getName(), SLHDSAParameterSpec.slh_dsa_sha2_128f);
89-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_128s_with_sha256.getName(), SLHDSAParameterSpec.slh_dsa_sha2_128s);
90-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_192f_with_sha512.getName(), SLHDSAParameterSpec.slh_dsa_sha2_192f);
91-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_192s_with_sha512.getName(), SLHDSAParameterSpec.slh_dsa_sha2_192s);
92-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_256f_with_sha512.getName(), SLHDSAParameterSpec.slh_dsa_sha2_256f);
93-
parameters.put(SLHDSAParameterSpec.slh_dsa_sha2_256s_with_sha512.getName(), SLHDSAParameterSpec.slh_dsa_sha2_256s);
88+
parameters.put("slh-dsa-sha2-128f-with-sha256", SLHDSAParameterSpec.slh_dsa_sha2_128f_with_sha256);
89+
parameters.put("slh-dsa-sha2-128s-with-sha256", SLHDSAParameterSpec.slh_dsa_sha2_128s_with_sha256);
90+
parameters.put("slh-dsa-sha2-192f-with-sha512", SLHDSAParameterSpec.slh_dsa_sha2_192f_with_sha512);
91+
parameters.put("slh-dsa-sha2-192s-with-sha512", SLHDSAParameterSpec.slh_dsa_sha2_192s_with_sha512);
92+
parameters.put("slh-dsa-sha2-256f-with-sha512", SLHDSAParameterSpec.slh_dsa_sha2_256f_with_sha512);
93+
parameters.put("slh-dsa-sha2-256s-with-sha512", SLHDSAParameterSpec.slh_dsa_sha2_256s_with_sha512);
9494

9595
parameters.put("sha2-128f-with-sha256", SLHDSAParameterSpec.slh_dsa_sha2_128f_with_sha256);
9696
parameters.put("sha2-128s-with-sha256", SLHDSAParameterSpec.slh_dsa_sha2_128s_with_sha256);
@@ -99,20 +99,19 @@ public class SLHDSAParameterSpec
9999
parameters.put("sha2-256f-with-sha512", SLHDSAParameterSpec.slh_dsa_sha2_256f_with_sha512);
100100
parameters.put("sha2-256s-with-sha512", SLHDSAParameterSpec.slh_dsa_sha2_256s_with_sha512);
101101

102-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_128f_with_shake128.getName(), SLHDSAParameterSpec.slh_dsa_shake_128f_with_shake128);
103-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_128s_with_shake128.getName(), SLHDSAParameterSpec.slh_dsa_shake_128s_with_shake128);
104-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_192f_with_shake256.getName(), SLHDSAParameterSpec.slh_dsa_shake_192f_with_shake256);
105-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_192s_with_shake256.getName(), SLHDSAParameterSpec.slh_dsa_shake_192s_with_shake256);
106-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_256f_with_shake256.getName(), SLHDSAParameterSpec.slh_dsa_shake_256f_with_shake256);
107-
parameters.put(SLHDSAParameterSpec.slh_dsa_shake_256s_with_shake256.getName(), SLHDSAParameterSpec.slh_dsa_shake_256s_with_shake256);
102+
parameters.put("slh-dsashake-128f-with-shake128", SLHDSAParameterSpec.slh_dsa_shake_128f_with_shake128);
103+
parameters.put("slh-dsashake-128s-with-shake128", SLHDSAParameterSpec.slh_dsa_shake_128s_with_shake128);
104+
parameters.put("slh-dsashake-192f-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_192f_with_shake256);
105+
parameters.put("slh-dsashake-192s-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_192s_with_shake256);
106+
parameters.put("slh-dsashake-256f-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_256f_with_shake256);
107+
parameters.put("slh-dsashake-256s-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_256s_with_shake256);
108108

109109
parameters.put("shake-128f-with-shake128", SLHDSAParameterSpec.slh_dsa_shake_128f_with_shake128);
110110
parameters.put("shake-128s-with-shake128", SLHDSAParameterSpec.slh_dsa_shake_128s_with_shake128);
111111
parameters.put("shake-192f-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_192f_with_shake256);
112112
parameters.put("shake-192s-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_192s_with_shake256);
113113
parameters.put("shake-256f-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_256f_with_shake256);
114114
parameters.put("shake-256s-with-shake256", SLHDSAParameterSpec.slh_dsa_shake_256s_with_shake256);
115-
116115
}
117116

118117
private final String name;

0 commit comments

Comments
 (0)