On Mon, 23 Mar 2026 20:32:43 GMT, Mark Powers <[email protected]> wrote:
>> [JDK-8369917](https://bugs.openjdk.org/browse/JDK-8369917) > > Mark Powers has updated the pull request incrementally with one additional > commit since the last revision: > > update KeyUtil::hashAlgFromHSS to allow more numbers src/java.base/share/classes/sun/security/provider/HSS.java line 857: > 855: } > 856: > 857: void digestFixedLengthPreprocessed(Object digest, byte[] input, I would even go one step further: we can put implDigestFixedLengthPreprocessed() into DigestBase where it would throw an exception and override it in SHA2 and SHA3. Then, "digest" could be of type DigestBase (instead of Object) and there would be no need to explicitly pattern match its type, so this method wouldn't be necessary. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29833#discussion_r3015976523
