The Number Field Sieve algorithm and its variants are the best known algorithms to solve the discrete logarithm problem in finite fields. When the extension degree is composite, the Tower variant TNFS is the most efficient. Looking at finite fields with composite extension degrees such as and is motivated by pairing-based cryptography that does not yet have a good quantum-resistant equivalent. The two most costly steps in TNFS are the relation collection} and linear algebra steps. Although the use of order Galois automorphisms allows one to accelerate the relation collection step by a factor of , their use to accelerate the linear algebra step remains an open problem. In previous work, this problem is solved for , leveraging a quadratic acceleration factor equal to .
In this article, we bring a solution both for and . We propose a new construction that allows the use of an order (resp. ) Galois automorphism in any finite field (resp. ), thus accelerating the linear algebra step with approximately a factor of (resp. ). Moreover, we provide a SageMath implementation of TNFS and our construction, and validate our findings on small examples.