github.com/fisco-bcos/crypto@v0.0.0-20200202032121-bd8ab0b5d4f1/elliptic/p256_generic.go (about)

     1  // Copyright 2016 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build !amd64,!s390x,!arm64
     6  
     7  package elliptic
     8  
     9  var (
    10  	p256 p256Curve
    11  )
    12  
    13  func initP256Arch() {
    14  	// Use pure Go implementation.
    15  	p256 = p256Curve{p256Params}
    16  }