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
70d3507f9e
commit
03e22fec8b
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ package bn256
|
|||
|
||||
func lineFunctionAdd(r, p *twistPoint, q *curvePoint, r2 *gfP2) (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 := (&gfP2{}).Mul(&p.x, &r.t)
|
||||
|
||||
D := (&gfP2{}).Add(&p.y, &r.z)
|
||||
|
|
|
|||
Loading…
Reference in a new issue