Integrated: 8318328: DHKEM should check XDH name in case-insensitive mode

Weijun Wang weijun at openjdk.org
Tue Oct 17 19:38:58 UTC 2023


On Tue, 17 Oct 2023 18:03:33 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> The comparison should have been done in case-insensitive mode.
> 
> The new test confirms the change inside `DHKEM.java`. The one in `XDHPrivateKeyImpl.java` is not easy to confirm. The SUN provider's implementation always got the name "correct".

This pull request has now been integrated.

Changeset: 5145e5a4
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5145e5a40a8e9a87b3bc9f236dbf9e4b89094e46
Stats:     66 lines in 3 files changed: 63 ins; 0 del; 3 mod

8318328: DHKEM should check XDH name in case-insensitive mode

Reviewed-by: ascarpino, hchao

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

PR: https://git.openjdk.org/jdk/pull/16225



More information about the security-dev mailing list