github.com/zebozhuang/go@v0.0.0-20200207033046-f8a98f6f5c5d/src/crypto/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
     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  }