Skip to content

Conversation

@jacksonwalters
Copy link
Member

the PR updates the mod_inv and omega functions to allow computation when the modulus q is of square order. note the size of the multiplicative group in that case is q^2-q.

we add a test for this case as well.

add case to compute inverses modulo p^2 to enable computation of NTT in this case
use correct order of multiplicative group
@jacksonwalters jacksonwalters merged commit 19fcf5f into main Feb 7, 2025
1 check passed
@jacksonwalters jacksonwalters deleted the use_square_modulus branch February 7, 2025 20:21
@jacksonwalters jacksonwalters linked an issue Feb 7, 2025 that may be closed by this pull request
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.

ability to work modulo q^2

3 participants