[8u] RFR: JDK-8258419: RSA cipher buffer cleanup

Hohensee, Paul hohensee at amazon.com
Fri Mar 19 14:01:31 UTC 2021


Lgtm.

Thanks,
Paul

-----Original Message-----
From: jdk8u-dev <jdk8u-dev-retn at openjdk.java.net> on behalf of Andrew Hughes <gnu.andrew at redhat.com>
Date: Thursday, March 18, 2021 at 10:41 PM
To: "jdk8u-dev at openjdk.java.net" <jdk8u-dev at openjdk.java.net>
Subject: [8u] RFR: JDK-8258419: RSA cipher buffer cleanup

Bug: https://bugs.openjdk.java.net/browse/JDK-8258419
Webrev: https://cr.openjdk.java.net/~andrew/openjdk8/8258419/webrev.01/

This patch cleans up RSA temporary buffers after use and avoids
some unnecessary copying. Fix is backported to all Oracle releases
from 7 to 17.

Patch applies almost cleanly to 8u. Only rejects are the copyright
header changes to RSAPadding.java and RSACipher.java, as they were
already updated to 2020 by JDK-8230978.

Ok for 8u?

Thanks,
--
Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222



More information about the jdk8u-dev mailing list