Can we define a function similar to square root for $G = GF(2^m)$ (Galois field with $2^m$ elements) as $\sqrt{x} = y$ if $y^2 = y \cdot y = x$ ? For which elements $x \in G : \exists y \in G : y^2 = x$ this function would be defined?
Can I approach this question like this:
If we can generate all elements of $G$ except $0$ from another element $a$ as $a^k : k = 1 \ldots (2^m-1)$, then any $x \neq 0$ can be expressed as $x=a^r$ for some $r$ and $y$ would be also $y = a^s$ for some $s$. $y^2 = x$ means that $$r = 2s \mod 2^m-1$$ $$r,s \in 0 \ldots 2^m-2$$
It looks like I can find $s$ for any $r$ to satisfy equation. That would mean that there is a "square root" for any element in $G$, right?
PS: I'm looking into options to analyze streams of data (bytes, 16 bit or 32 bit integers) as part of another computational task, therefore only specific Galois fields are interesting for me: $GF(2^m)$. Be prepared that I can be way off in the field theory, that was very long time since I touched it - but any comments are welcome!
If $G$ is an abelian group, the map $s:G\to G$ defined by $s(x)=x^2$ is a homomorphism. The kernel of $s$ is $$ \ker s=\{x\in G: x^2=1\} $$ so it consists of the elements having order $1$ or $2$. But if the group is finite with odd order, it can't have elements of order $2$ because of Lagrange's theorem. Thus we conclude that
This is the case of $GF(2^m)^*$, the multiplicative group of non zero elements of $GF(2^m)$ that has odd order $2^m-1$.
Since $0$ obviously has a square root, we conclude that the square root function is well defined on the whole $GF(2^m)$.
It's indeed true that $GF(2^m)^*$ is cyclic, so there exists an element $a\in GF(2^m)$ such that every element of $GF(2^m)^*$ is of the form $a^k$. Once this element is found, the square root can, in principle, be computed.