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

Correct NTL calls when computing modular powers of GF(2) polynomials #35325

Merged
merged 1 commit into from
Apr 13, 2023

Conversation

remyoudompheng
Copy link
Contributor

📚 Description

The NTL PowerMod API requires that the base argument has smaller degree than the modulus.

Also enable the dedicated API for x^e mod f.

Fixes #35324

📝 Checklist

  • I have made sure that the title is self-explanatory and the description concisely explains the PR.
  • I have linked an issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

The NTL PowerMod API requires that the base argument
has smaller degree than the modulus.

Also enable the dedicated API for x^e mod f.
@github-actions
Copy link

github-actions bot commented Apr 7, 2023

Documentation preview for this PR is ready! 🎉
Built with commit: 141fe7a

@vbraun vbraun merged commit 2da2e8e into sagemath:develop Apr 13, 2023
@mkoeppe mkoeppe added this to the sage-10.0 milestone Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect use of NTL::PowerMod with GF2X argument (GF(2)["x"] polynomials)
4 participants