On Tue, 17 Sep 2024 21:52:47 GMT, Kevin Driver <kdri...@openjdk.org> wrote:

>> Introduce an API for Key Derivation Functions (KDFs), which are 
>> cryptographic algorithms for deriving additional keys from a secret key and 
>> other data. See [JEP 478](https://openjdk.org/jeps/478).
>> 
>> Work was begun in [another PR](https://github.com/openjdk/jdk/pull/18924).
>
> Kevin Driver has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   refinement of addIKM and addSalt specifications

src/java.base/share/classes/javax/crypto/spec/HKDFParameterSpec.java line 163:

> 161:         /**
> 162:          * Adds input keying material (IKM) to the builder. Note that an
> 163:          * {@code ikm} byte array of length zero will discarded.

Typo, should be "will be discarded". Same as below.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1765177871

Reply via email to