Skip to content

Commit 6543f9a

Browse files
committed
changed default to 128f parameter set.
1 parent 2ef5673 commit 6543f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/slhdsa/SLHDSAKeyPairGeneratorSpi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ public KeyPair generateKeyPair()
109109
{
110110
if (this.getAlgorithm().startsWith("HASH"))
111111
{
112-
param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_256s_with_sha512);
112+
param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_128f_with_sha256);
113113
}
114114
else
115115
{
116-
param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_256s);
116+
param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_128f);
117117
}
118118

119119
engine.init(param);

0 commit comments

Comments
 (0)