RFR: 8261433: Better pkcs11 performance for libpkcs11:C_EncryptInit/libpkcs11:C_DecryptInit [v4]

Prajwal Kumaraswamy pkumaraswamy at openjdk.org
Fri May 10 08:04:27 UTC 2024


On Mon, 25 Mar 2024 10:02:18 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> Prajwal Kumaraswamy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   use getversion instead to get spec version
>
> src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/P11AEADCipher.java line 464:
> 
>> 462:              * additional field ulvIV bits and then invoke C_EncryptInit
>> 463:              */
>> 464:             CK_VERSION cryptokiVersion = token.p11.C_GetInfo().cryptokiVersion;
> 
> use p11.getVersion() instead

Done

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18425#discussion_r1596408021



More information about the security-dev mailing list