[14]RFR 8180392: SunJCE provider should throw exceptions for unsupported mode and padding combinations

Xuelei Fan xuelei.fan at oracle.com
Wed Jul 24 03:33:42 UTC 2019


Looks fine to me.

Xuelei

On 7/23/2019 7:38 PM, Valerie Peng wrote:
> Anyone have spare cycles to review this fix? Fix is straight forward - 
> instead of relying on the supported mode and padding info from provider, 
> javax.crypto.Cipher class now instantiates the CipherSpi object to make 
> sure the particular mode and padding combination is supported.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8180392
> 
> Webrev: http://cr.openjdk.java.net/~valeriep/8180392/webrev.00/
> 
> Thanks,
> Valerie


More information about the security-dev mailing list