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

2015-12-15 Thread Sean Mullan
This fix looks fine to me. Please add a "noreg-self" label to the bug. --Sean On 12/11/2015 05:50 AM, Bhanu Gopularam wrote: 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

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

2015-12-11 Thread Bhanu Gopularam
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 GCMParameterS