If $p \equiv 3 \ (\text{mod} \ 4)$ is a prime, show $(\frac{p-1}{2})! \equiv (-1)^{t} \ (\text{mod} \ p),$ where $t$ is number of positive integers less than $\frac{p}{2}$ that are nonquadratic residues of $p.$
My attempt: Since $p-1 \equiv -1, \ p-2 \equiv -2, ..., p-(\frac{p-1}{2}) \equiv \frac{p-1}{2} \ (\text{mod} \ p)$ and $1 \equiv 1, \ 2\equiv 2,..., \frac{p-1}{2} \equiv \frac{p-1}{2} \ (\text{mod} \ p),$ it follows that $((\frac{p-1}{2})!)^2 \equiv-(p-1)! \equiv 1,$ by Wilson's theorem.
I am not sure how to continue from here. How do I relate it to $t?$ Appreciate if anyone could advise. Thank you.