github.com/aidoskuneen/adk-node@v0.0.0-20220315131952-2e32567cb7f4/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  // +build gofuzz !cgo
     6  
     7  package secp256k1
     8  
     9  import "math/big"
    10  
    11  func (BitCurve *BitCurve) ScalarMult(Bx, By *big.Int, scalar []byte) (*big.Int, *big.Int) {
    12  	panic("ScalarMult is not available when secp256k1 is built without cgo")
    13  }