Re: RFR: 8300399: EdDSA does not verify when there is no message

2023-01-19 Thread Anthony Scarpino
On Wed, 18 Jan 2023 03:21:29 GMT, Weijun Wang wrote: > Verify should go on even if there is no message. Marked as reviewed by ascarpino (Reviewer). - PR: https://git.openjdk.org/jdk/pull/12059

Re: RFR: 8300399: EdDSA does not verify when there is no message

2023-01-17 Thread Weijun Wang
On Wed, 18 Jan 2023 03:21:29 GMT, Weijun Wang wrote: > Verify should go on even if there is no message. As long as update() is called, even if the argument is empty, message is initialized. - PR: https://git.openjdk.org/jdk/pull/12059

Re: RFR: 8300399: EdDSA does not verify when there is no message

2023-01-17 Thread Anthony Scarpino
On Wed, 18 Jan 2023 03:21:29 GMT, Weijun Wang wrote: > Verify should go on even if there is no message. The test in jdk/sun/security/ec/ed/TestEdDSA.java has a 448 test case on line 160 that sends a blank message "". I would expect that to fail if this is situation is a bug. - P