RFR: 8129567 - the GCM mode parameter which is used as the initialization vector ("IV") is set to all zeros

Bhanu Gopularam bhanu.prakash.gopularam at oracle.com
Fri Dec 11 10:50:29 UTC 2015

Hi all,


Please review a fix for following bug:


Bug Id - https://bugs.openjdk.java.net/browse/JDK-8129567


Issue - Few tests are using all zero IV for GCM parameter spec which gives CRYPTO_MECHANISM_PARAM_INVALID error

On certain platforms


Solution - Use a random IV in GCMParameterSpec in the tests


webrev - http://cr.openjdk.java.net/~ntv/bhanu/8129567/webrev.00/




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20151211/be9e2462/attachment.html>

More information about the security-dev mailing list