We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 494ef6c commit c514f13Copy full SHA for c514f13
src/java.base/share/classes/sun/security/util/SignatureUtil.java
@@ -198,7 +198,7 @@ public static class EdDSADigestAlgHolder {
198
static {
199
try {
200
sha512 = new AlgorithmId(ObjectIdentifier.of(KnownOIDs.SHA_512));
201
- shake256 = new AlgorithmId(ObjectIdentifier.of(KnownOIDs.SHAKE256));
+ shake256 = new AlgorithmId(ObjectIdentifier.of(KnownOIDs.SHAKE256_512));
202
shake256$512 = new AlgorithmId(
203
ObjectIdentifier.of(KnownOIDs.SHAKE256_LEN),
204
new DerValue((byte) 2, new byte[]{2, 0})); // int 512
0 commit comments