Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Conversation

@mikelodder7
Copy link

Signed-off-by: Michael Lodder [email protected]

Signed-off-by: Michael Lodder <[email protected]>
Signed-off-by: Michael Lodder <[email protected]>
Copy link

@AnomalRoil AnomalRoil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks like a fine API to me, but the tests don't seem to test this new code path, which is suboptimal.

@@ -1,5 +1,5 @@
module github.com/kilic/bls12-381
module github.cbhq.net/security/bls12-381

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it was committed by mistake.

t.Fatal("encode to point fails x", i)
}
}
domain = []byte("QUUX-V01-CS02-with-expander")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a 27 bytes = 216 bit DST, so this does not test the code path about the DST being longer than 255, does it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants