Merge pull request #129

35399e0 Bugfix: b is restricted, not r (Pieter Wuille)
This commit is contained in:
Pieter Wuille 2014-12-02 17:52:22 +01:00
commit 601ca04f9a
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657

View File

@ -15,7 +15,7 @@
#define VERIFY_BITS(x, n) do { } while(0)
#endif
SECP256K1_INLINE static void secp256k1_fe_mul_inner(const uint64_t *a, const uint64_t *b, uint64_t * SECP256K1_RESTRICT r) {
SECP256K1_INLINE static void secp256k1_fe_mul_inner(const uint64_t *a, const uint64_t * SECP256K1_RESTICT b, uint64_t *r) {
VERIFY_BITS(a[0], 56);
VERIFY_BITS(a[1], 56);
VERIFY_BITS(a[2], 56);