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

Valerie Peng valeriep at openjdk.org
Thu Aug 29 19:06:32 UTC 2024


On Fri, 23 Aug 2024 21:44:44 GMT, Kevin Driver <kdriver at openjdk.org> wrote:

>> These are "RAW" since the lengths are somewhat arbitrary in the KATs. It's perhaps a bit misleading to create standard keys with strange output lengths. Would you prefer "Generic" over "RAW"?
>
> Addressed in https://github.com/openjdk/jdk/pull/20301/commits/9f050b6a1a4a83d8623e206323071c2c77c90bb2. Please indicate if resolved.

True, if using standard names then the output length should fit the algorithm requirement. I prefer "Generic" over "RAW" as latter is often used as the key format value.

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

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


More information about the security-dev mailing list