On Mon, 6 Jan 2025 18:53:09 GMT, Weijun Wang <wei...@openjdk.org> wrote:
>> src/java.base/share/classes/javax/crypto/KEM.java line 231: >> >>> 229: * for information about standard secret key >>> algorithm names. >>> 230: * Use "Generic" if the output will be used as the >>> input keying >>> 231: * material of a key derivation function (KDF). >> >> Add link to KDF API? > > In the original commit at > https://github.com/openjdk/jdk/pull/22650/commits/f7c03f781a90ebf3f634c3e7478124463757de17 > I used the link. And then, I thought KDF is still not final, and I wanted to > convey the idea that it could be accepted by an existing KDF implementation > that doesn’t extend `KDFSpi` but is still conceptually a KDF. Perhaps I > overthought it? Right, it probably isn't appropriate to link to a preview API from a non-preview API. So let's leave it as is. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22929#discussion_r1904526279