-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLS test vectors #408
BLS test vectors #408
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a few comments
It's quite peculiar. |
I think I know. The error originates in And the reason it is uneven on Windows is because (as per review comment) we now use ByteString IO instead of String IO and
The quick-and-dirty solution: just cull the The morally correct, but more elaborate and potentially less performant solution: read the file into a |
2af6728
to
41d6ece
Compare
41d6ece
to
2af6728
Compare
- serde missing point added - pairing operations P and Q values written into test vectors - output of BLS sig changed
2af6728
to
24045a4
Compare
@tdammers Oh yeah, Windows newline strikes again. I always forget about it. In that case we can go back to using
I thought about the same thing, but unfortunately |
24045a4
to
33a4941
Compare
Indeed it does not, but Bottom line, just stripping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Yeah, sounds reasonable. |
394c170
to
d14d21b
Compare
* Include Haskell tests for BLS12-381 test vectors --------- Co-authored-by: iquerejeta <querejeta.azurmendi@iohk.io> Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
* Include Haskell tests for BLS12-381 test vectors --------- Co-authored-by: iquerejeta <querejeta.azurmendi@iohk.io> Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
Integrate Rust test vectors with the Haskell BLS code and test suite.