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

Arithmetic in integer sub-rings of cyclotomic number fields #505

Open
rohitkhera opened this issue Nov 17, 2023 · 0 comments
Open

Arithmetic in integer sub-rings of cyclotomic number fields #505

rohitkhera opened this issue Nov 17, 2023 · 0 comments

Comments

@rohitkhera
Copy link

rohitkhera commented Nov 17, 2023

Hello, I am cross posting this to the NTL repo since this it strictly speaking an NTL question.

I wish to do arithmetic on elements contained within an integer subring of a cyclotomic number field commonly used in ring-LWE. As an example, take the cyclotomic field created by adjoining \zeta_8, an 8th root of unity to the rational numbers, i.e., QQ(\zeta_8). This field is isomorphic to the quotient: QQ[X] / <x^4 + 1>. I wish to define elements in an integer subring of this field modulo an odd integer p, i.e., I wish to define elements in ZZ_p[X] / <x^4 + 1>. What is the appropriate class to use for this? I was thinking it may be ZZ_pE. So I tried instantiating this and using the init() method in this class to to set the minimal polynomial for this extension (x^4 + 1). Having done this, I'm not sure about how to define elements in this ring and perform arithmetic on the elements. How is this accomplished in HElib? Any pointers would be appreciated

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