bitcoin/secp256k1 — pull request #44 by sipa (2014-07-15 17:10:54+00:00)
Title: Add secp256k1_fe_verify in field_5x52_impl and use it everywhere

Adapt @peterdettman's verify function (taking the magnitude leniency factor 2 into account), and use it as consistency check everywhere.