RFR: 8331008: Implement JEP 478: Key Derivation Function API (Preview) [v57]
Valerie Peng
valeriep at openjdk.org
Tue Oct 15 21:45:38 UTC 2024
On Mon, 14 Oct 2024 23:01:15 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:
>
> test case formatting changes, etc
test/jdk/com/sun/crypto/provider/KDF/HKDFKnownAnswerTests.java line 113:
> 111: int testsPassed = 0;
> 112:
> 113: int testNo = 0;
Why not also use `null` for `salt` as well?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1802052141
More information about the security-dev
mailing list