field_4x64_bridge_stub.go raw

   1  //go:build !amd64 || purego
   2  
   3  package p256k1
   4  
   5  // hasField4x64 returns false on non-amd64 platforms.
   6  func hasField4x64() bool {
   7  	return false
   8  }
   9  
  10  // field4x64Mul is a stub for non-amd64 platforms.
  11  func field4x64Mul(r, a, b *FieldElement) {
  12  	panic("field4x64Mul not available on this platform")
  13  }
  14  
  15  // field4x64Sqr is a stub for non-amd64 platforms.
  16  func field4x64Sqr(r, a *FieldElement) {
  17  	panic("field4x64Sqr not available on this platform")
  18  }
  19