bitcoin/secp256k1 — pull request #154 by sipa (2014-12-10 14:05:31+00:00)
Title: Weak normalization

This introduces the concept of weak normalization (reducing the magnitude to 1, but not fully normalizing), and then using this for testing equality between field elements (which can be done by subtracting weakly normalized elements + comparing to zero after fully normalizing, instead of comparing after two full normalizes). This gives a 2% signing speedup, and a very small speedup for validation.