From 35399e08c42fbd81af819deac2ead34b0a6ae51c Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 2 Dec 2014 17:43:42 +0100 Subject: [PATCH] Bugfix: b is restricted, not r --- src/field_5x52_int128_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field_5x52_int128_impl.h b/src/field_5x52_int128_impl.h index 9ad4c04d14c..39fb762ff55 100644 --- a/src/field_5x52_int128_impl.h +++ b/src/field_5x52_int128_impl.h @@ -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);