Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-05-01 Thread Sean Mullan
On Mon, 28 Apr 2025 14:48:34 GMT, Weijun Wang wrote: >> Add 2 `MessageDigest` algorithms. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > test alias usage Marked as reviewed by mullan (Reviewer). - PR Review:

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-29 Thread Weijun Wang
On Tue, 29 Apr 2025 17:50:01 GMT, Valerie Peng wrote: > Update CSR with the new names, e.g. with the output length suffix? Thanks for reminding. Done. - PR Comment: https://git.openjdk.org/jdk/pull/24576#issuecomment-2839977324

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-29 Thread Valerie Peng
On Mon, 28 Apr 2025 14:48:34 GMT, Weijun Wang wrote: >> Add 2 `MessageDigest` algorithms. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > test alias usage Update CSR with the new names, e.g. with the output length suffix?

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-28 Thread Valerie Peng
On Mon, 28 Apr 2025 14:48:34 GMT, Weijun Wang wrote: >> Add 2 `MessageDigest` algorithms. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > test alias usage Changes look fine. However, we should probably caution about these b

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-28 Thread Valerie Peng
On Mon, 28 Apr 2025 18:08:22 GMT, Weijun Wang wrote: > I mainly don't like the current [hardcoded > branches](https://github.com/openjdk/jdk/blob/c54fc08aa3c63e4b26dc5edb2436844dfd3bab7c/src/java.base/share/classes/sun/security/pkcs/PKCS7.java#L754) > (and [this > one](https://github.com/openj

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-28 Thread Weijun Wang
On Mon, 28 Apr 2025 14:48:34 GMT, Weijun Wang wrote: >> Add 2 `MessageDigest` algorithms. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > test alias usage I mainly don't like the current [hardcoded branches](https://github

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-28 Thread Valerie Peng
On Mon, 28 Apr 2025 14:48:34 GMT, Weijun Wang wrote: >> Add 2 `MessageDigest` algorithms. > > Weijun Wang has updated the pull request incrementally with one additional > commit since the last revision: > > test alias usage (I thought I clicked the "comment" botton last Friday, not sure what

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v3]

2025-04-28 Thread Weijun Wang
> Add 2 `MessageDigest` algorithms. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: test alias usage - Changes: - all: https://git.openjdk.org/jdk/pull/24576/files - new: https://git.openjdk.org/jdk/pull/24576/files/4

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms

2025-04-28 Thread Weijun Wang
On Thu, 10 Apr 2025 15:30:28 GMT, Weijun Wang wrote: > Add 2 `MessageDigest` algorithms. I updated the names. I also changed the names in `KnownOID`. According to https://csrc.nist.gov/Projects/Computer-Security-Objects-Register/Algorithm-Registration#Hash, these OIDs are assigned to "Secure H

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms [v2]

2025-04-28 Thread Weijun Wang
> Add 2 `MessageDigest` algorithms. Weijun Wang has updated the pull request incrementally with one additional commit since the last revision: new algorithm names - Changes: - all: https://git.openjdk.org/jdk/pull/24576/files - new: https://git.openjdk.org/jdk/pull/24576/file

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms

2025-04-28 Thread Ferenc Rakoczi
On Thu, 10 Apr 2025 15:30:28 GMT, Weijun Wang wrote: > Add 2 `MessageDigest` algorithms. I strongly support the names "SHAKE128-256" and "SHAKE256-512". - PR Comment: https://git.openjdk.org/jdk/pull/24576#issuecomment-2834807368

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms

2025-04-24 Thread Weijun Wang
On Thu, 17 Apr 2025 17:17:15 GMT, Valerie Peng wrote: > I will take a look~ Thanks. I have 2 concerns on this feature: 1. These algorithms are mainly used in higher-level algorithms, mainly signature algorithms. It seems seldom used on their owns. But again, even other SHA-3 algorithms are no

Re: RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms

2025-04-17 Thread Valerie Peng
On Thu, 10 Apr 2025 15:30:28 GMT, Weijun Wang wrote: > Add 2 `MessageDigest` algorithms. I will take a look~ - PR Comment: https://git.openjdk.org/jdk/pull/24576#issuecomment-2813594903

RFR: 8354305: SHAKE128 and SHAKE256 MessageDigest algorithms

2025-04-10 Thread Weijun Wang
Add 2 `MessageDigest` algorithms. - Commit messages: - the change Changes: https://git.openjdk.org/jdk/pull/24576/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24576&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8354305 Stats: 96 lines in 4 files changed: 93 ins