mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 18:02:24 +00:00
remove Double
This commit is contained in:
parent
dce736e6bf
commit
3c03b0cbbc
2 changed files with 0 additions and 10 deletions
|
|
@ -29,11 +29,6 @@ func (g *G1) ScalarMult(a *G1, scalar *big.Int) {
|
||||||
g.inner.ScalarMultiplication(&a.inner, scalar)
|
g.inner.ScalarMultiplication(&a.inner, scalar)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Double adds `a` to itself, storing the result in `g`
|
|
||||||
func (g *G1) Double(a *G1) {
|
|
||||||
g.inner.Double(&a.inner)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Unmarshal deserializes `buf` into `g`
|
// Unmarshal deserializes `buf` into `g`
|
||||||
//
|
//
|
||||||
// Note: whether the serialization is of a compressed
|
// Note: whether the serialization is of a compressed
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,6 @@ func (g *G2) Add(a, b *G2) {
|
||||||
g.inner.Add(&a.inner, &b.inner)
|
g.inner.Add(&a.inner, &b.inner)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Double adds `a` to itself, storing the result in `g`
|
|
||||||
func (g *G2) Double(a *G2) {
|
|
||||||
g.inner.Double(&a.inner)
|
|
||||||
}
|
|
||||||
|
|
||||||
// Unmarshal deserializes `buf` into `g`
|
// Unmarshal deserializes `buf` into `g`
|
||||||
//
|
//
|
||||||
// Note: whether the serialization is of a compressed
|
// Note: whether the serialization is of a compressed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue