]> Git Repo - secp256k1.git/commitdiff
field_gmp's negate doesn't need to use the magnitude argument.
authorGregory Maxwell <[email protected]>
Wed, 12 Nov 2014 23:59:26 +0000 (15:59 -0800)
committerGregory Maxwell <[email protected]>
Thu, 13 Nov 2014 09:45:56 +0000 (01:45 -0800)
Makefile.am
src/field_gmp_impl.h

index 5373abfe42edb7cd98dc828083fb9e5d4b829a49..d527da6b77f7aecb9929879dae9a9744f1398055 100644 (file)
@@ -37,7 +37,8 @@ noinst_HEADERS += src/field_5x52_int128_impl.h
 noinst_HEADERS += src/field_5x52_asm_impl.h
 noinst_HEADERS += src/java/org_bitcoin_NativeSecp256k1.h
 noinst_HEADERS += src/util.h
-noinst_HEADERS += src/util_impl.h
+noinst_HEADERS += src/testrand.h
+noinst_HEADERS += src/testrand_impl.h
 noinst_HEADERS += src/field_gmp.h
 noinst_HEADERS += src/field_gmp_impl.h
 noinst_HEADERS += src/field.h
index 87b3830c93be63d35c5736888e1e83a9ae099fe8..98865b5eba2870f358de40e529b06932cabc8edb 100644 (file)
@@ -97,6 +97,7 @@ static void secp256k1_fe_get_b32(unsigned char *r, const secp256k1_fe_t *a) {
 }
 
 SECP256K1_INLINE static void secp256k1_fe_negate(secp256k1_fe_t *r, const secp256k1_fe_t *a, int m) {
+    (void)m;
     *r = *a;
     secp256k1_fe_normalize(r);
     for (int i=0; i<FIELD_LIMBS; i++)
This page took 0.043162 seconds and 4 git commands to generate.