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

primeorder: have impl_mont_field_element! define inversions #830

Open
tarcieri opened this issue Apr 11, 2023 · 0 comments
Open

primeorder: have impl_mont_field_element! define inversions #830

tarcieri opened this issue Apr 11, 2023 · 0 comments

Comments

@tarcieri
Copy link
Member

tarcieri commented Apr 11, 2023

Right now every field implementation independently defines pub fn invert and fn invert_unchecked using the impl_bernstein_yang_invert! macro.

This is largely due to historical legacy: the impl_bernstein_yang_invert! macro was introduced later and never properly integrated into impl_mont_field_element!

In the next breaking release, primeorder should integrate these two macros so inversions are defined automatically.

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

2 participants
@tarcieri and others