Generalized splitting-ring number theoretic transform