libgo/go/crypto/elliptic/p256_generic.go
raw| 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 | //-go:build !amd64 && !s390x && !arm64 && !ppc64le |
| 6 | |
| 7 | package elliptic |
| 8 | |
| 9 | var p256 p256Curve |
| 10 | |
| 11 | func initP256Arch() { |
| 12 | // Use pure Go implementation. |
| 13 | p256 = p256Curve{p256Params} |
| 14 | } |