p\equiv -1\pmod 4