Skip to content

Commit 9b3ff03

Browse files
committed
add a couple missing consts to ecmult_pippenger_wnaf
1 parent cd329db commit 9b3ff03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecmult_impl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ struct secp256k1_pippenger_state {
631631
* to the point's wnaf[i]. Second, the buckets are added together such that
632632
* r += 1*bucket[0] + 3*bucket[1] + 5*bucket[2] + ...
633633
*/
634-
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) {
634+
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) {
635635
size_t n_wnaf = WNAF_SIZE(bucket_window+1);
636636
size_t np;
637637
size_t no = 0;

0 commit comments

Comments
 (0)