We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef5673 commit 6543f9aCopy full SHA for 6543f9a
prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/slhdsa/SLHDSAKeyPairGeneratorSpi.java
@@ -109,11 +109,11 @@ public KeyPair generateKeyPair()
109
{
110
if (this.getAlgorithm().startsWith("HASH"))
111
112
- param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_256s_with_sha512);
+ param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_128f_with_sha256);
113
}
114
else
115
116
- param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_256s);
+ param = new SLHDSAKeyGenerationParameters(random, SLHDSAParameters.sha2_128f);
117
118
119
engine.init(param);
0 commit comments