First, note that the following definition is true: Definition (Carlet): Let $R=GR(p^k,m)$. A function $f$ from $R^n$ to $R$ is bent if $$|\sum_{x \in R^n} w^{Tr(f(x)-ax)}|=|R|^{n/2}$$ where $a \in R^n$, $w=e^{2\pi i/p^k}$,Tr is the trace function from $GR(p^k,m)$ to $GR(p^k,1)=Z_{p^k}$ and $ax$ is the dot product of $a$ with $x$.
According to this definition can we answer the following question: Let f be a function from $GR(p^2,m)$ to $GR(p^2,1)=Z_{p^2}$ where $p$ is an odd prime and $m>1$ be a positive integer.
For $f$ to be a bent function, what property should its walsh transform satisfy?
That is, is the following true?
$f$ is bent if
$$|\sum_{x \in GR(p^2,m)} w^{Tr(f(x)-ax)}|=|GR(p^2,1)|^{m/2}$$
where $w=e^{2\pi i/p^2}$, $a \in GR(p^2,m)$, Tr is the trace function from $GR(p^2,m)$ to $GR(p^2,1)$ and $ax$ is the dot product of $a$ with $x$.
Many thanks in advance.