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

Squeeze native field element with size for constraints #96

Open
4 tasks
tsunrise opened this issue Aug 14, 2021 · 0 comments
Open
4 tasks

Squeeze native field element with size for constraints #96

tsunrise opened this issue Aug 14, 2021 · 0 comments

Comments

@tsunrise
Copy link
Member

Summary

We have squeeze_field_elements_with_sizes in native code. Shall we have equivalent in constraints?

Proposal

Add the following method to constraints code

fn squeeze_native_field_elements_with_sizes<F: PrimeField>(&mut self, sizes: &[FieldElementSize])
        ->Result<Vec<FpVar<F>>, SynthesisError>;

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@Pratyush Pratyush transferred this issue from arkworks-rs/sponge Jan 19, 2023
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