RFR: 8328119: Support HKDF in SunPKCS11 (Preview) [v11]
Martin Balao
mbalao at openjdk.org
Fri Jan 17 20:22:43 UTC 2025
On Fri, 17 Jan 2025 20:17:41 GMT, Kevin Driver <kdriver at openjdk.org> wrote:
>> src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/CK_HKDF_PARAMS.java line 71:
>>
>>> 69: * </pre>
>>> 70: */
>>> 71: public final long prfHashMechanism;
>>
>> I'm assuming `CK_MECHANISM_TYPE` can safely map to a Java `long`. Same comment for other values.
>
> I went to double-check, and I see that this is indeed the case for `CK_MECHANISM_TYPE`.
Yes, that's right, it's mapped to `CK_ULONG` and `unsigned long`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22215#discussion_r1920697699
More information about the security-dev
mailing list