RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v58]

Valerie Peng valeriep at openjdk.org
Wed Oct 16 00:14:40 UTC 2024


On Tue, 15 Oct 2024 18:37:38 GMT, Kevin Driver <kdriver at 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:
> 
>   running the Exhaustive test through a more ruthless formatter

test/jdk/com/sun/crypto/provider/KDF/HKDFExhaustiveTest.java line 29:

> 27:  * @summary KDF API tests
> 28:  * @library /test/lib
> 29:  * @run main/othervm -Djava.security.egd=file:/dev/urandom -Djava.security.debug=provider,engine=kdf HKDFExhaustiveTest

Not sure how helpful it is to set the debug option "-Djava.security.debug=..." by default. Maybe remove it for regular test run?

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

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


More information about the security-dev mailing list