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 modulus p as a class member of QMontgomeryUInt #1471

Open
fpapa250 opened this issue Oct 16, 2024 · 0 comments
Open

Add modulus p as a class member of QMontgomeryUInt #1471

fpapa250 opened this issue Oct 16, 2024 · 0 comments

Comments

@fpapa250
Copy link
Contributor

As a part of #1425, we are adding class functions which can be used to convert in and out of montgomery form and also to calculate the montgomery product or inverse. These functions all require bitsize and modulus p. For now it is easy to use the bitsize in the calculations, but adding the modulus as a class member would be require all instances of QMontgomeryUInt to instantiate with p. We leave that as a TODO action item for now.

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