Use powers function in compose_mod_brent_kung_preinv.
Use powers function in compose_mod_brent_kung_preinv.

wbhart/flint2,fredrik-johansson/flint2,wbhart/flint2,wbhart/flint2,fredrik-johansson/flint2,fredrik-johansson/flint2