github.com/jimmyx0x/go-ethereum@v1.10.28/crypto/secp256k1/scalar_mult_nocgo.go (about)

     1  // Copyright 2015 Jeffrey Wilcke, Felix Lange, Gustav Simonsson. All rights reserved.
     2  // Use of this source code is governed by a BSD-style license that can be found in
     3  // the LICENSE file.
     4  
     5  //go:build gofuzz || !cgo
     6  // +build gofuzz !cgo
     7  
     8  package secp256k1
     9  
    10  import "math/big"
    11  
    12  func (BitCurve *BitCurve) ScalarMult(Bx, By *big.Int, scalar []byte) (*big.Int, *big.Int) {
    13  	panic("ScalarMult is not available when secp256k1 is built without cgo")
    14  }