diff --git a/src/bls12_381.c b/src/bls12_381.c index 1d0d5c9..3fe470b 100644 --- a/src/bls12_381.c +++ b/src/bls12_381.c @@ -747,4 +747,4 @@ TEST_LIST = { {NULL, NULL} /* zero record marks the end of the list */ }; -#endif // KZGTEST \ No newline at end of file +#endif // KZGTEST diff --git a/src/bls12_381.h b/src/bls12_381.h index 6952434..2a1289e 100644 --- a/src/bls12_381.h +++ b/src/bls12_381.h @@ -132,4 +132,4 @@ void g2_dbl(g2_t *out, const g2_t *a); void g1_linear_combination(g1_t *out, const g1_t *p, const fr_t *coeffs, const uint64_t len); bool pairings_verify(const g1_t *a1, const g2_t *a2, const g1_t *b1, const g2_t *b2); -#endif // BLS12_381_H \ No newline at end of file +#endif // BLS12_381_H diff --git a/src/kzg_proofs.c b/src/kzg_proofs.c index 81c1032..c442603 100644 --- a/src/kzg_proofs.c +++ b/src/kzg_proofs.c @@ -155,7 +155,7 @@ C_KZG_RET compute_proof_single_l(g1_t *out, const poly_l *p, const fr_t *x, cons for (i = 0; i < q.length; i++) { fr_mul(&q.values[i], &q.values[i], &inverses[i]); - } + } if (m) { // ω_m == x q.values[--m] = fr_zero; for (i=0; i < q.length; i++) {