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 new Inverter trait; rename PrecomputeInverter #444

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

tarcieri
Copy link
Member

Adds a trait for abstracting over various sized BernsteinYangInverter (and prospectively a BoxedBernsteinYangInverter) types, which also opens the door to impl'ing PrecomputeInverter for *ResidueParams, where the inverter would accept a *Residue as input/output and invert in Montgomery form.

The PrecomputeInverter::Inverter type is now bounded on the new Inverter trait, making it useful in generic code.

Adds a trait for abstracting over various sized `BernsteinYangInverter`
(and prospectively a `BoxedBernsteinYangInverter`) types, which also
opens the door to impl'ing `PrecomputeInverter` for `*ResidueParams`,
where the inverter would accept a `*Residue` as input/output and invert
in Montgomery form.

The `PrecomputeInverter::Inverter` type is now bounded on the new
`Inverter` trait, making it useful in generic code.
@tarcieri tarcieri merged commit 6e1fe9f into master Dec 16, 2023
16 checks passed
@tarcieri tarcieri deleted the more-inverter-traits branch December 16, 2023 20:19
@tarcieri tarcieri mentioned this pull request Jan 22, 2025
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

Successfully merging this pull request may close these issues.

1 participant