Skip to content
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

Add test vectors for rejected group encodings #10

Closed
ebfull opened this issue Jul 14, 2017 · 0 comments
Closed

Add test vectors for rejected group encodings #10

ebfull opened this issue Jul 14, 2017 · 0 comments
Milestone

Comments

@ebfull
Copy link
Collaborator

ebfull commented Jul 14, 2017

  • not on curve
  • not on subgroup
  • each or all of the field elements in the representation are not in the field
  • distinguishers not set for compressed elements
  • distinguisher against point at infinity not set
@ebfull ebfull modified the milestone: 0.10.0 Jul 15, 2017
bmerge added a commit that referenced this issue Jul 18, 2017
Group encoding negative test vectors

Closes #10

Also simplifies the encoding code, which has the side-effect of being useful for testing. Also adds more descriptive error reporting throughout the API. Also ensures use of Debug/Display are consistent with standard expectations.
str4d pushed a commit that referenced this issue Apr 30, 2020
str4d pushed a commit that referenced this issue Apr 30, 2020
Check epk/rk/cv are not small order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant