RFR: 8331008: KDF Implementation [v2]

Kevin Driver kdriver at openjdk.org
Thu May 9 20:26:45 UTC 2024


On Thu, 9 May 2024 17:33:30 GMT, Sean Mullan <mullan at openjdk.org> wrote:

>> Kevin Driver has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains ten additional commits since the last revision:
>> 
>>  - move the test to the correct directory, which was already created
>>  - tests passing
>>  - start deriveKey
>>  - remove SHA224 mentions
>>  - remove SHA224 mentions
>>  - additional helper methods
>>  - parameter validation for impl
>>  - parameter validation for impl
>>  - initial commit into open
>
> src/java.base/share/classes/javax/crypto/KDFSpi.java line 35:
> 
>> 33: /**
>> 34:  * This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the
>> 35:  * <code>KeyDerivation</code> class.
> 
> s/KeyDerivation/KDF/

Done. Please resolve if satisfied.

> src/java.base/share/classes/javax/crypto/KDFSpi.java line 65:
> 
>> 63: 
>> 64:     /**
>> 65:      * Derive a key, returned as a {@code Key}.
> 
> s/Key/SecretKey/

Done. Please resolve if satisfied.

> src/java.base/share/classes/javax/crypto/KDFSpi.java line 98:
> 
>> 96:      *
>> 97:      * @return a byte array whose length matches the length field in the processed
>> 98:      * {@code DerivationParameterSpec} and containing the next bytes of output from the key
> 
> s/DerivationParameterSpec/KDFParameterSpec/  (multiple places)

Done. Please resolve if satisfied.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1595930521
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1595930453
PR Review Comment: https://git.openjdk.org/jdk/pull/18924#discussion_r1595930386



More information about the security-dev mailing list