Prime Sum

Find the sum of all primes $$p$$ for which the system

$$\qquad \qquad p+1=2x^2 \\\qquad \qquad p^2+1=2y^2$$

has a solution in integers $$x,y$$.

×