Update optate.go

This commit is contained in:
Alvarez 2025-08-21 17:36:55 +02:00 committed by GitHub
parent f701901341
commit 70d3507f9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ package bn256
func lineFunctionAdd(r, p *twistPoint, q *curvePoint, r2 *gfP2, pool *bnPool) (a, b, c *gfP2, rOut *twistPoint) {
// See the mixed addition algorithm from "Faster Computation of the
// Tate Pairing", http://arxiv.org/pdf/0904.0854v3.pdf
// Tate Pairing", <https://arxiv.org/pdf/0904.0854v3.pdf>.
B := newGFp2(pool).Mul(p.x, r.t, pool)