On Thu, 29 Aug 2024 17:54:38 GMT, Kevin Driver <kdri...@openjdk.org> wrote:
>> This is `KDF` not `KDFSpi`, the implementation is in this file. I just meant >> this exception should be thrown when the condition described here is met. > > What do you propose? It's not clear how we would distinguish between NSAE and > IAPE and continue checking providers. Should I remove the exception from the > method signature? This is not an API comment. This is implementation only. I just propose that if there exist one or more implementations for this algorithm but none of them accepts the parameters then you should throw an IAPE. This is what the spec is saying. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/20301#discussion_r1736841918