Skip to main content

New answers tagged

1 vote

Logic behind selecting even square root for fe_sqrtm1 = sqrt(-1)

If you follow your link it shows this code: 35     /* sqrt(x) is such an integer y that 0 <= y <= p - 1, y % 2 = 0, and y^2 = x (mod p). */ 36     /* d = -121665 / 121666 */ 37     const fe ...
Rob's user avatar
  • 364

Top 50 recent answers are included