On Sat, 11 May 2024 02:06:09 GMT, Kevin Driver <kdri...@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).
>
> Kevin Driver has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   commenting out until better understood -- causing failures

`deriveKey` and `deriveData` throw `InvalidParameterSpecException`. Should it 
be `InvalidAlgorithmParameterException`?

It seems like `InvalidParameterSpecException` is only used with 
`AlgorithmParameters` and `AlgorithmParametersSpi`.
<img width="586" alt="Screenshot 2024-05-12 at 1 49 17 PM" 
src="https://github.com/openjdk/jdk/assets/574013/2ce4f76d-deac-4207-9aae-9a588f514ce6";>

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

PR Comment: https://git.openjdk.org/jdk/pull/18924#issuecomment-2106328158

Reply via email to