scalar_mult_nocgo.go 446 B

1234567891011121314
  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. //go:build gofuzz || !cgo
  5. // +build gofuzz !cgo
  6. package secp256k1
  7. import "math/big"
  8. func (BitCurve *BitCurve) ScalarMult(Bx, By *big.Int, scalar []byte) (*big.Int, *big.Int) {
  9. panic("ScalarMult is not available when secp256k1 is built without cgo")
  10. }