Compute square roots in a prime field.