• Conner Fromknecht's avatar
    feat: reexport L1 secp256k1 from L2 geth · 2fe9b9ee
    Conner Fromknecht authored
    Attempting to compile L1 and L2 get in the same binary produces a
    symbole collision since the CGO names for the library methods are
    identical. To avoid this, we simply reexport the L1 secp256k1 members
    that rely on CGO.
    2fe9b9ee
curve.go 194 Bytes
package secp256k1

import "github.com/ethereum/go-ethereum/crypto/secp256k1"

// S256 returns a BitCurve which implements secp256k1.
func S256() *secp256k1.BitCurve {
	return secp256k1.S256()
}