[jdk17] RFR: 8268621: SunJCE provider may throw unexpected NPE for un-initialized AES KW/KWP Ciphers
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Sat Jun 12 03:22:46 UTC 2021
On Fri, 11 Jun 2021 21:22:49 GMT, Valerie Peng <valeriep at openjdk.org> wrote:
> Could someone help review this straightforward fix? The current impl for AES KW and KWP cipher should check for possible null iv value in its CipherSpi.engineGetIV() and CipherSpi.engineGetParameters() impls. Updated the regression test to cover this scenario as well as some other minor updates.
>
> Thanks!
> Valerie
Marked as reviewed by xuelei (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk17/pull/34
More information about the security-dev
mailing list