The recent papers:
- R. Granger, T. Kleinjung, J. Zumbragel, "On the Discrete Logarithm Problem in Finite Fields of Fixed Characteristic," Trans. Amer. Math. Soc., 370(5) (2018), 3129–3145.
- T. Kleinjung, B. Wesolowski, “Discrete Logarithms in Quasi-polynomial Time in Finite Fields of Fixed Characteristic," J. Amer. Math. Soc., 35(2) (2022), 581–624.
have established that the discrete logarithm problem can be solved in expected quasi-polynomial time, $e^{{\mathcal O}(\log^2 n)}$, in families of fields $GF(p^n)$ with fixed characteristic $p$. (More generally, the complexity is quasi-polynomial also in the case when $p$ grows polynomially with $n$, if I understood correctly.)
My question is the following: can this algorithm, or a modification thereof, be used for testing whether a given element $g$ is primitive? Namely, if we ask for the logarithm of $h=1$ with respect to base $g$, is it possible to modify the algorithm so that it returns the smallest positive integer $x$ satisfying $g^x=1$ (i.e., the order of $g$), instead of some integer $x$ that satisfies this relation? Together with a result of V. Shoup:
- V. Shoup,"Searching for Primitive Roots in Finite Fields," Math. Comp., 58(197) (1992), 369–380.
this would give a quasi-polynomial time algorithm for finding primitive elements in these families of fields.
P.S. The mathematics in the two above-mentioned papers is beyond my familiarity with the subject, so I was hoping for a direct and simple answer.