[JDK-9] RFR: 8041787: Need new regressions tests for buffer handling for PBE algorithms

Rajan Halade rajan.halade at oracle.com
Mon Jul 28 07:15:57 UTC 2014


May I request you to review these 4 new tests to be added for PBE keys. 
New tests are added to address following:

- same buffer can be used for encrypt and decrypt with PBE
- Mac update works correctly with different size of ByteBuffer
- doFinal and update operation result in same PBMac
- for PBEWithMD5AndDES cipher, only CBC mode and PKCS#5Padding is allowed

JDK Issue: https://bugs.openjdk.java.net/browse/JDK-8041787
Webrev: http://cr.openjdk.java.net/~rhalade/8041787/webrev.00/

Thanks,
Rajan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20140728/d27c37d3/attachment.htm>


More information about the security-dev mailing list