[jdk17] Integrated: 8268621: SunJCE provider may throw unexpected NPE for un-initialized AES KW/KWP Ciphers

Valerie Peng valeriep at openjdk.java.net
Mon Jun 14 20:42:22 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

This pull request has now been integrated.

Changeset: ee301596
Author:    Valerie Peng <valeriep at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17/commit/ee3015968d56ed6179b6bfbde3f004500dce2ce3
Stats:     50 lines in 4 files changed: 34 ins; 3 del; 13 mod

8268621: SunJCE provider may throw unexpected NPE for un-initialized AES KW/KWP Ciphers

Reviewed-by: xuelei

-------------

PR: https://git.openjdk.java.net/jdk17/pull/34



More information about the security-dev mailing list