Fix G1 test data generator

This commit is contained in:
Ben Edgington 2021-02-03 07:53:18 +00:00
parent 80317b655e
commit 5f789ab86d
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ void make_data(blst_p1 *out, uint64_t n) {
assert(n > 0);
blst_p1_from_affine(out + 0, &BLS12_381_G1);
for (int i = 1; i < n; i++) {
blst_p1_add_affine(out + i, out + i - 1, &BLS12_381_G1);
blst_p1_add_or_double_affine(out + i, out + i - 1, &BLS12_381_G1);
}
}