I wish to do arithmetic on elements in an integer subring of a cyclotomic number field, i.e, in $\mathcal{O}_K = \mathbb{Z}(\zeta) \cong \mathbb{Z}[X] / <\phi_m(x)>$ where $\zeta$ is a root of the m'th cyclotomic polynomial $\phi_m(x)$ . As example, take $\zeta_8$ an 8th root of unity and the ring $\mathbb{Z}_p(\zeta_8) \cong \mathbb{Z}_p[X] / <x^4 +1>$ for an odd integer $p$. This is a common setup for ring-LWE (but with higher ring dimension and large modulus)
I am trying to do this with Victor Shoup's Number Theory Library (NTL v11.5) and trying to determine the appropriate class to use for this. I tried instantiating ZZ_pE 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 do arithmetic. Any pointers would be appreciated. Cross posted to NTL github page.