On Mon, 20 Sep 2021 08:43:24 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> Submitted the bug for it, > [JDK-8273977](https://bugs.openjdk.java.net/browse/JDK-8273977). Please > change the PR title to "8273977: Reduce unnecessary BadPaddingExceptions in > RSAPadding" to get bots hooked properly. Thanks for submitting the bug @shipilev . I renamed the title accordingly. > Regarding the changes themselves, I think the key thing here is the method > comment: "Note that we want to make it a constant-time operation", which is > probably why this exception is always unconditionally created. Security folks > need to say for sure. +1 ------------- PR: https://git.openjdk.java.net/jdk/pull/5581