mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-30 16:43:46 +00:00
* Revert "Substitute secp256k1 library for the L1 version (#22)"
This reverts commit 59df2d7ebb.
* goimports -local github.com/scroll-tech/go-ethereum -w .
* go mod tidy
14 lines
446 B
Go
14 lines
446 B
Go
// Copyright 2015 Jeffrey Wilcke, Felix Lange, Gustav Simonsson. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be found in
|
|
// the LICENSE file.
|
|
|
|
//go:build gofuzz || !cgo
|
|
// +build gofuzz !cgo
|
|
|
|
package secp256k1
|
|
|
|
import "math/big"
|
|
|
|
func (BitCurve *BitCurve) ScalarMult(Bx, By *big.Int, scalar []byte) (*big.Int, *big.Int) {
|
|
panic("ScalarMult is not available when secp256k1 is built without cgo")
|
|
}
|