Normally you can write $x*x=x^2$
But if you are operating within exponents, $a^{x*x} \neq a^{x^{2}}$ as the latter is equal to $a^{2x}$.
Is it a problem of notation ?
[Edited]
Thank you to having helped me to solve this problem. It is indeed a problem of notation, in the sense that parenthesis matters. From wikipedia: "Without parentheses to modify the order of calculation, by convention the order is top-down, not bottom-up."
$$a^{x*x} = a^{x^{2}} = a^{(x^{2})} \neq (a^{x})^{2} = a^{x*2}$$