modules: Port bitcoin-core/secp256k1#1815 to zkp-specific code

This commit is contained in:
mllwchrry
2026-03-03 15:16:04 +02:00
parent 3b2ceb3e7a
commit 126501f58b
5 changed files with 15 additions and 15 deletions

View File

@@ -544,8 +544,8 @@ static void test_multiple_generators(void) {
secp256k1_scalar_get_b32(generator_seed, &s);
/* Create all the needed generators */
for (i = 0; i < n_generators; i++) {
generator_blind[i] = (unsigned char*) malloc(32);
pedersen_blind[i] = (unsigned char*) malloc(32);
generator_blind[i] = malloc(32);
pedersen_blind[i] = malloc(32);
testutil_random_scalar_order(&s);
secp256k1_scalar_get_b32(generator_blind[i], &s);