]> Git Repo - secp256k1.git/commitdiff
add a couple missing `const`s to ecmult_pippenger_wnaf
authorAndrew Poelstra <[email protected]>
Sat, 24 Feb 2018 17:29:34 +0000 (17:29 +0000)
committerAndrew Poelstra <[email protected]>
Sat, 24 Feb 2018 17:29:34 +0000 (17:29 +0000)
src/ecmult_impl.h

index fd14bf1285784cfc95dc637ac976e2f80836d798..a9eb77d8b84c7f73eb5539d6e8a80c051f2a38e9 100644 (file)
@@ -631,7 +631,7 @@ struct secp256k1_pippenger_state {
  * to the point's wnaf[i]. Second, the buckets are added together such that
  * r += 1*bucket[0] + 3*bucket[1] + 5*bucket[2] + ...
  */
-static int secp256k1_ecmult_pippenger_wnaf(secp256k1_gej *buckets, int bucket_window, struct secp256k1_pippenger_state *state, secp256k1_gej *r, secp256k1_scalar *sc, secp256k1_ge *pt, size_t num) {
+static int secp256k1_ecmult_pippenger_wnaf(secp256k1_gej *buckets, int bucket_window, struct secp256k1_pippenger_state *state, secp256k1_gej *r, const secp256k1_scalar *sc, const secp256k1_ge *pt, size_t num) {
     size_t n_wnaf = WNAF_SIZE(bucket_window+1);
     size_t np;
     size_t no = 0;
This page took 0.025384 seconds and 4 git commands to generate.