On Fri, 17 Jan 2025 20:16:18 GMT, Kevin Driver <kdri...@openjdk.org> wrote:
>> Martin Balao has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Improve TestContext note about expectedOpOut >> >> Co-authored-by: Martin Balao Alonso <mba...@redhat.com> >> Co-authored-by: Francisco Ferrari Bihurriet <fferr...@redhat.com> > > 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`. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22215#discussion_r1920695822