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 input check for GEN #11

Open
omershlo opened this issue Jul 20, 2019 · 0 comments
Open

add input check for GEN #11

omershlo opened this issue Jul 20, 2019 · 0 comments
Labels
binding relates to c binding

Comments

@omershlo
Copy link
Contributor

omershlo commented Jul 20, 2019

All functions that accept inputs from pari must have assertion at the beginning to validate the specific type that GEN (which is a general pointer) points to. for example: https://github.com/KZen-networks/class-groups/blob/master/src/lib.rs#L258 need to add verification that the input is indeed quadratic form.

@omershlo omershlo added the binding relates to c binding label Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding relates to c binding
Projects
None yet
Development

No branches or pull requests

1 participant