RFR: 8325448: Hybrid Public Key Encryption [v8]

Weijun Wang weijun at openjdk.org
Tue Mar 11 21:12:56 UTC 2025


On Tue, 11 Mar 2025 19:59:42 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add mode_auth and mode_auth_psk, tiny spec change
>
> src/java.base/share/classes/sun/security/util/SliceableSecretKey.java line 1:
> 
>> 1: /*
> 
> I'm not used to the javadoc markdown `///` syntax. Maybe I'll get used to it, but is there a reason you are using it in internal classes?

Yes, I try to practice it in internal classes.

> src/java.base/share/classes/sun/security/util/SliceableSecretKey.java line 29:
> 
>> 27: import javax.crypto.SecretKey;
>> 28: 
>> 29: /// An interface for `SecretKey`s that supports using its slice as a new
> 
> s/supports/support/

Oops.

> src/java.base/share/classes/sun/security/util/SliceableSecretKey.java line 32:
> 
>> 30: /// `SecretKey`.
>> 31: ///
>> 32: /// This is mainly used by PKCS #11 implementations that supports the
> 
> s/supports/support/

Oops.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18411#discussion_r1990128208
PR Review Comment: https://git.openjdk.org/jdk/pull/18411#discussion_r1990129373
PR Review Comment: https://git.openjdk.org/jdk/pull/18411#discussion_r1990128859


More information about the security-dev mailing list