mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Update optate.go
This commit is contained in:
parent
f701901341
commit
70d3507f9e
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ package bn256
|
||||||
|
|
||||||
func lineFunctionAdd(r, p *twistPoint, q *curvePoint, r2 *gfP2, pool *bnPool) (a, b, c *gfP2, rOut *twistPoint) {
|
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
|
// 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)
|
B := newGFp2(pool).Mul(p.x, r.t, pool)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue