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

kernel: use ffdata.h constants in finite field code #4870

Merged
merged 1 commit into from
Apr 20, 2022

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Apr 19, 2022

This allows us in principle to support values of MAXSIZE_GF_INTERNAL other
than 2^16. But even if we never want to do that, it also removes some magic
constants from the kernel and arguably makes things more conceptual and
clearer.

This is another patch extracted from PR #2997

@fingolfin fingolfin added topic: kernel release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Apr 19, 2022
@fingolfin fingolfin force-pushed the mh/use-ffdata-constants branch 3 times, most recently from cef0491 to 891736d Compare April 19, 2022 15:17
This allows us in principle to support values of MAXSIZE_GF_INTERNAL other
than 2^16. But even if we never want to do that, it also removes some magic
constants from the kernel and arguably makes things more conceptual and
clearer.

Also adjust a few test cases, and made some error messages consistent
between library and kernel.
@fingolfin fingolfin merged commit a5f054a into gap-system:master Apr 20, 2022
@fingolfin fingolfin deleted the mh/use-ffdata-constants branch April 20, 2022 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants