Let $f(x)=\frac{1}{2}\|x-y\|^2$ and $\|\cdot\|$ be 2-norm.
$x,y \in R^n$
Let the fenchel conjugate be defined as $f(z)=\sup_x(z^Tx -\frac{1}{2}\|x-y\|^2)$.
Taking the derivative w.r.t. $x$ and setting it $0$:
$z - (x-y)=0$ and $x=z+y$
Then the fenchel conjugate is $f^*(z)=\frac{1}{2}\|z\|^2+z^Ty$.
Could somebody please check my calculations?