RFR: 8285389: EdDSA trimming zeros

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Sat Apr 23 14:43:28 UTC 2022


On Fri, 22 Apr 2022 21:04:58 GMT, Anthony Scarpino <ascarpino at openjdk.org> wrote:

> ed25519 and ed448 internally was trimming extra zeros off the end of the signature before processing. This can result in some verify testing failures which are strict about the signature length passed into the operation.
> 

Did you want to correct the verify testing so that it could accept trimmed signature?  Or do not trimming the extra zeros of the signature any longer?  I did not get the point from the patch.

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

PR: https://git.openjdk.java.net/jdk/pull/8372



More information about the security-dev mailing list