RFR: 8258833: Cancel multi-part cipher operations in SunPKCS11 after failures [v2]

Martin Balao mbalao at openjdk.java.net
Thu Jan 7 20:14:11 UTC 2021


On Tue, 5 Jan 2021 19:32:42 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> Martin Balao has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Comment describing the CancelMultipart test assertion.
>
> test/jdk/sun/security/pkcs11/Cipher/CancelMultipart.java line 194:
> 
>> 192:     private static void tryCipherInit() throws Exception {
>> 193:         Cipher cipher = Cipher.getInstance("AES/ECB/NoPadding", provider);
>> 194:         cipher.init(Cipher.ENCRYPT_MODE, key);
> 
> Add a comment here or to this method about the CKR_OPERATION_ACTIVE error (w/o this fix) as this is actually the key test point.

Right, thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/1901



More information about the security-dev mailing list