remove Double

This commit is contained in:
Kevaundray Wedderburn 2024-10-14 14:55:07 +01:00
parent dce736e6bf
commit 3c03b0cbbc
2 changed files with 0 additions and 10 deletions

View file

@ -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

View file

@ -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